Bugs item #1430436, was opened at 2006-02-13 07:35 Message generated for change (Comment added) made by aix-d You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1430436&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Threads Group: Python 2.4 Status: Open Resolution: None Priority: 5 Submitted By: Aaron Swartz (aaronsw) Assigned to: Nobody/Anonymous (nobody) Summary: recursive __getattr__ in thread crashes BSDs Initial Comment: The following code consistently crashes Python 2.4 on Mac OS X: import threading class foo: def __getattr__(self, x): self.foo def j(): foo().bar t = threading.Thread(target=j, args=()) t.start() ---------------------------------------------------------------------- Comment By: aix-d (aix-d) Date: 2006-02-20 01:40 Message: Logged In: YES user_id=1449422 Hello. I have the same segfault :-( Python version: from SVN Python 2.5a0 (trunk, Feb 19 2006, 22:22:12) [GCC 3.4.4 [FreeBSD] 20050518] on freebsd6 Best regards, Alexander. ---------------------------------------------------------------------- Comment By: Aaron Swartz (aaronsw) Date: 2006-02-13 07:44 Message: Logged In: YES user_id=122141 Since the indenting was off above, I've attached the code. ---------------------------------------------------------------------- Comment By: Aaron Swartz (aaronsw) Date: 2006-02-13 07:41 Message: Logged In: YES user_id=122141 I've also tested it on FreeBSD and it has the same problem (Segmentation fault (core dumped)). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1430436&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com