From owner-freebsd-questions@FreeBSD.ORG Thu Nov 15 03:07:36 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E26D16A418 for ; Thu, 15 Nov 2007 03:07:36 +0000 (UTC) (envelope-from freysman@comcast.net) Received: from comcast-smtp-02.tampflrdc.rr.com (comcast-smtp-02.tampflrdc.rr.com [65.32.5.157]) by mx1.freebsd.org (Postfix) with ESMTP id 6829D13C447 for ; Thu, 15 Nov 2007 03:07:36 +0000 (UTC) (envelope-from freysman@comcast.net) Received: from [192.168.1.105] (c-98-199-18-87.hsd1.tx.comcast.net [98.199.18.87]) by comcast-smtp-02.tampflrdc.rr.com (8.13.6/8.13.6) with ESMTP id lAF37TCk004611; Wed, 14 Nov 2007 22:07:31 -0500 (EST) From: David J Brooks Organization: KC5WNK To: freebsd-questions@freebsd.org Date: Wed, 14 Nov 2007 21:07:26 -0600 User-Agent: KMail/1.9.7 References: <200711141615.37380.freysman@comcast.net> <200711150057.52571.wundram@beenic.net> In-Reply-To: <200711150057.52571.wundram@beenic.net> X-Face: =?utf-8?q?iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAIVBMVEX+7+6BM0I?= =?utf-8?q?yMg7+5f=0A=09rivGf+mZn////d5ucyM0Jjm2vOMzPtzkgwAAAAB3RJTUUHsQw?= =?utf-8?q?fFzs7RBhzUQAAAhJJREFU=0A=09OI1tk89q20AQxmWIY8htFwfLumkukR6gDxDY?= =?utf-8?q?IpJTVAg0PunQ7F4dkLTYR0GodCvCjazeFH=0A=09oo+5Sdlf/tWp6DJObHzDff7M?= =?utf-8?q?rhh5DcCufwsWovg1fS9G/x+wzE83wH6g8L/FAzPulV3kIL=0A=09rLv5ikK15DyF?= =?utf-8?q?3ASKgE8CCHL+Rn8ZIFGEKI+SIsw8C3ClmFKdT32l4M4E3fTmLyM+8dQ/sC=0A?= =?utf-8?q?=09ri6PHpq9dRQsAGmyVbjr2O+EVgj3u7YRH701EAsA3O23bDPA3erZUI8MtKa2?= =?utf-8?q?gnBkgWnQ/h=0A=09WIPQ2m6ilKKzTJ0BISceupveK4rrMivSaNGpEiGh8PMEEpmyNVr?= =?utf-8?q?GIMVh2L6CRakE3QwIhL=0A=09kBUsZyQXDxxIWGH0HK8pQ50Rc8D+KeCriT4C7Y4?= =?utf-8?q?+fTChdYHKV1qwmLsvvPRuBR0fDaAL1B=0A=09d77AqTqzlX6MlVv42gecAUFc9N?= =?utf-8?q?fhKTU24CPaGx8CvipRAY0PAI+xwL0ERuivLIJ8AG6gLA=0A=09EugLVywa9PyzU?= =?utf-8?q?ATjuthxqvOJVb1OEACNKhuCFy/AdrvGtQmEe7j7YOyjI8OdkDkbXbaltV=0A=09so?= =?utf-8?q?BKXh+ATB9KqEodufgOUDXLHsjIGW3Yi84X2Ei0KNdokD2nreNcbdsd0I1f4ENX?= =?utf-8?q?yOfpFX=0A=09vQFVU/rZDJt1BrTJbSkTGmm142iWeyvttPNZFZI3fmkhhvapgffR?= =?utf-8?q?wC8yRocj4AK/y5MM//=0A=09A2fdrlbSnOlbAAAAAElFTkSuQmCC?= MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711142107.27718.freysman@comcast.net> X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: "Heiko Wundram \(Beenic\)" Subject: Re: python25 core dumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2007 03:07:36 -0000 On Wednesday 14 November 2007 05:57:52 pm Heiko Wundram (Beenic) wrote: > Am Mittwoch, 14. November 2007 23:15:36 schrieb David J Brooks: > > Since upgrading to 7.0-BETA2 most of my python based programs fail with > > Segmentation fault: 11 (core dumped). It seems to be limited to gui based > > programs using Gtk or Qt. Any idea what's going on there? Hints on how to > > analyze the python.core files would be helpful too. > > Easy way to get info from the backtrace: > > gdb /usr/local/bin/python /python.core > > Then, enter the "back" command in the post-mortem debugging session and > post the output here. Someone (maybe even me) should be able to give you a > hint where to look further from there. Ok. Here's what gdb shows for a crash from Gramps (built with py-Gtk2): (gdb) back #0 0x29ea37fd in delete_aspell_speller () from /usr/local/lib/libaspell.so.16 #1 0x29e03b3d in gtkspell_set_language_internal () from /usr/local/lib/libgtkspell.so.0 #2 0x29e04084 in gtkspell_set_language () from /usr/local/lib/libgtkspell.so.0 #3 0x29af90ae in ?? () from /usr/local/lib/python2.5/site-packages/gtk-2.0/gtkspell.so #4 0x29cdf180 in ?? () #5 0x29d28ff4 in ?? () #6 0x00000000 in ?? () #7 0xbfbf5218 in ?? () #8 0xbfbf5220 in ?? () #9 0x29d284cc in ?? () #10 0x29af9681 in ?? () from /usr/local/lib/python2.5/site-packages/gtk-2.0/gtkspell.so #11 0x00000000 in ?? () #12 0x29d28ff4 in ?? () #13 0x28308080 in ?? () #14 0xbfbf53c8 in ?? () #15 0x080b131a in PyEval_EvalFrameEx () Previous frame identical to this frame (corrupt stack?) (gdb) For comparison, this is what a crash from eric4 (built with PyQt4) looks like: (gdb) back #0 0x29224448 in typeinfo name for sipQApplication () from /usr/local/lib/python2.5/site-packages/PyQt4/QtGui.so #1 0x29595531 in sm_performSaveYourself () from /usr/local/lib/libQtGui.so.4 #2 0x295956a1 in sm_saveYourselfCallback () from /usr/local/lib/libQtGui.so.4 #3 0x29aed10b in _SmcProcessMessage () from /usr/local/lib/libSM.so.6 #4 0x29afffa3 in IceProcessMessages () from /usr/local/lib/libICE.so.6 #5 0x2958f5c8 in QSmSocketReceiver::socketActivated () from /usr/local/lib/libQtGui.so.4 #6 0x2958f62f in QSmSocketReceiver::qt_metacall () from /usr/local/lib/libQtGui.so.4 #7 0x287bc15f in QMetaObject::activate () from /usr/local/lib/libQtCore.so.4 #8 0x287bc6d2 in QMetaObject::activate () from /usr/local/lib/libQtCore.so.4 #9 0x287d8b33 in QSocketNotifier::activated () from /usr/local/lib/libQtCore.so.4 #10 0x287c1e1f in QSocketNotifier::event () from /usr/local/lib/libQtCore.so.4 #11 0x295467bd in QApplicationPrivate::notify_helper () from /usr/local/lib/libQtGui.so.4 #12 0x2954c8fe in QApplication::notify () from /usr/local/lib/libQtGui.so.4 #13 0x291b4a13 in sipQApplication::notify () from /usr/local/lib/python2.5/site-packages/PyQt4/QtGui.so #14 0x287ab07b in QCoreApplication::notifyInternal () from /usr/local/lib/libQtCore.so.4 #15 0x287ccaf3 in socketNotifierSourceDispatch () from /usr/local/lib/libQtCore.so.4 #16 0x28852886 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0 #17 0x28855c02 in g_main_context_check () from /usr/local/lib/libglib-2.0.so.0 #18 0x28856185 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0 #19 0x287ccf78 in QEventDispatcherGlib::processEvents () from /usr/local/lib/libQtCore.so.4 #20 0x295bd965 in QGuiEventDispatcherGlib::processEvents () from /usr/local/lib/libQtGui.so.4 #21 0x287aac31 in QCoreApplication::processEvents () from /usr/local/lib/libQtCore.so.4 #22 0x28623966 in meth_QCoreApplication_processEvents () from /usr/local/lib/python2.5/site-packages/PyQt4/QtCore.so #23 0x080b131a in PyEval_EvalFrameEx () #24 0x080b1fab in PyEval_EvalFrameEx () #25 0x080b1fab in PyEval_EvalFrameEx () #26 0x080b2919 in PyEval_EvalCodeEx () #27 0x080b2a67 in PyEval_EvalCode () #28 0x080c9fc6 in Py_CompileString () #29 0x080ca070 in PyRun_FileExFlags () #30 0x080cb569 in PyRun_SimpleFileExFlags () #31 0x08056ef1 in Py_Main () #32 0x080563b5 in main () (gdb) I tried tovidgui (build with Tkinter) and it did not crash. David -- Federal law prohibits deleting this message.