Bugs item #1479586, was opened at 2006-04-30 21:55 Message generated for change (Comment added) made by nnorwitz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1479586&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: Tkinter Group: Python 2.4 Status: Open Resolution: None Priority: 5 Submitted By: Ali Gholami Rudi (aligrudi) Assigned to: Martin v. Löwis (loewis) Summary: Segmentation fault while using Tkinter Initial Comment: While using Tkinter I encountere segmentation faults regularly. I ran my program using gdb using python2.4 and Fedora Core 5 and received: (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1209063760 (LWP 2024)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [New Thread -1212232800 (LWP 2027)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) ---Type <return> to continue, or q <return> to quit--- (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1209063760 (LWP 2024)] 0x001519ce in TkUndoSetDepth () from /usr/lib/libtk8.4.so (gdb) I ran the same program using python2.5a2 and again received: Starting program: /usr/local/bin/python ~/temp/rope/rope/rope.py Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0xa05000 [Thread debugging using libthread_db enabled] [New Thread -1208899920 (LWP 2415)] [New Thread -1212068960 (LWP 2418)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208899920 (LWP 2415)] 0x001519ce in TkUndoSetDepth () from /usr/lib/libtk8.4.so (gdb) Are these information enough for fixing the problem or should I send my program? Thanks ---------------------------------------------------------------------- >Comment By: Neal Norwitz (nnorwitz) Date: 2006-05-01 00:25 Message: Logged In: YES user_id=33168 If you can send a small test case that would be great. Also, can you attach the backtrace (bt command in gdb)? How did you configure python? Did you use an --enable-unicode or --enable-threads? Did you built Tcl/Tk or are you using the default version with FC5? When python starts up, what do you see? It should be something like: Python 2.5a2 (trunk:45831M, Apr 30 2006, 23:27:02) [GCC 4.0.0 20041026 (Apple Computer, Inc. build 4061)] on darwin Also, what does this print: import sys ; print sys.maxunicode ---------------------------------------------------------------------- Comment By: Martin v. Löwis (loewis) Date: 2006-04-30 23:34 Message: Logged In: YES user_id=21627 Please do send your program, or better yet a small test case that allows to reproduce the problem. It looks like a Tk bug at first glance, in TkUndoSetDepth. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1479586&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com