Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 885729FB1F8; Thu, 30 Nov 2006 00:30:01 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 73559-04; Thu, 30 Nov 2006 00:29:56 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sineb-mail-3.sun.com (sineb-mail-3.sun.com [192.18.19.10]) by postgresql.org (Postfix) with ESMTP id 76DBF9FB1F2; Thu, 30 Nov 2006 00:29:55 -0400 (AST) Received: from fe-apac-06.sun.com (fe-apac-06.sun.com [192.18.19.177] (may be forged)) by sineb-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id kAU4TmdD023514; Thu, 30 Nov 2006 12:29:53 +0800 (SGT) Received: from conversion-daemon.mail-apac.sun.com by mail-apac.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0J9I00B01ZVPDL00@mail-apac.sun.com> (original mail from Dhanaraj.M@Sun.COM); Thu, 30 Nov 2006 12:29:48 +0800 (SGT) Received: from [129.158.226.129] by mail-apac.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0J9J009VY0GU7BC5@mail-apac.sun.com>; Thu, 30 Nov 2006 12:29:31 +0800 (SGT) Date: Thu, 30 Nov 2006 09:59:14 +0530 From: Dhanaraj M Subject: Re: pgadmin3-1.6.0 - Segmentation Fault (core dumped) In-reply-to: <456DB777.1060100@postgresql.org> To: Dave Page Cc: pgadmin-hackers@postgresql.org Message-id: <456E5E1A.3060805@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en References: <456C23FD.4080708@sun.com> <456C2A98.90005@postgresql.org> <456D03B4.1090501@sun.com> <456D478C.7090303@postgresql.org> <456D6230.9000203@sun.com> <456DB777.1060100@postgresql.org> User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050323) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/177 X-Sequence-Number: 9281 > Hmm, I managed to reproduce the crash, though the trace is somewhat > different... however the problem could have manifested itself in > different ways I think. > > Can you try a build from SVN trunk or the 1.6 stable branch please > (svn://svn.pgadmin.org/branches/REL-1_6_0_PATCHES/pgadmin3) and see > how that looks? I hope to build 1.6.1 tomorrow morning, so if you can > test before then, that'd be a great help. > > Thanks, Dave I built the svn code that you mentioned. The observations are 1 & 2. 1. The same problem still exists. I ran the test in x86 machine (gcc compiler) and attach the stack trace here bash-3.00# pstack core core 'core' of 16270: /usr/local/pgadmin3/bin/pgadmin3 ----------------- lwp# 1 / thread# 1 -------------------- 08159938 _ZN19dlgSelectConnection2GoEP6pgConnP14ctlComboBoxFix (80462a0, 8d76098, 8f35dc8, 8eac160) + 100 081d284b _ZN8frmQuery18OnChangeConnectionER14wxCommandEvent (8eac160, 80465f0, fe8bcc80, fe7649e3) + 147 fe5029a5 _ZNK12wxAppConsole11HandleEventEP12wxEvtHandlerMS0_FvR7wxEventES3_ (857b488, 8eac160, 81d2704, 0, 80465f0, 8046520) + 29 fe57febd _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent (85551d0, 8eac160, 80465f0, 8f557dc) + 6d fe580155 _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler (85555d8, 80465f0, 8eac160, 0) + 89 fe580ce0 _ZN12wxEvtHandler12ProcessEventER7wxEvent (8eac160, 80465f0, 0, fe80698f, 80465f0, fe6e5e98) + d0 fe8069e3 _ZN12wxWindowBase9TryParentER7wxEvent (8f35dc8, 80465f0, 8f35dc8, 0) + 67 fe580c89 _ZN12wxEvtHandler12ProcessEventER7wxEvent (8f35dc8, 80465f0, 1068, fdb84bb0, 1, fcbc2000) + 79 fe764336 gtkcombobox_changed_callback (8f36a70, 8f35dc8, 8568560) + c2 fdb84c01 g_cclosure_marshal_VOID__VOID () + 51 ----------------- lwp# 2 / thread# 2 -------------------- fe57e6f4 wxPthreadStart(), exit value = 0x00000000 ** zombie (exited, not detached, not yet joined) ** 2. When I right click on a table and select view data, it aborts. The stack trace is here. bash-3.00# pstack core core 'core' of 16283: /usr/local/pgadmin3/bin/pgadmin3 ----------------- lwp# 1 / thread# 1 -------------------- feac6275 _ZN6wxGridD2Ev (8d9d0f0, fe59e788, 0, fe8bcc80, 8d95020, fe8bcc80) + 39d 08308a30 _ZN14ctlSQLEditGridD0Ev (8d9d0f0, fe5c0cbc, 8046d08, fe8bcc80) + 20 fe8022b7 _ZN12wxWindowBase15DestroyChildrenEv (8d94ff0, 8d95140, 8046d28, fe7c1631, 8d95140, 8a2c190) + 23 fe726a6f _ZN8wxWindowD2Ev (8d94ff0, 8d94ff0, fe1a64d0, fe7fd505) + 5f fe7fd59c _ZN20wxTopLevelWindowBaseD2Ev (8d94ff0, 0, fe8bcc80, fe7203ce) + a8 fe720452 _ZN19wxTopLevelWindowGTKD2Ev (8d94ff0, 0, 8046e50, fe7b9112) + c6 fe7b9154 _ZN11wxFrameBaseD2Ev (8d94ff0, fe177629, fe1a64d0, fe543f46) + 4c fe76e060 _ZN7wxFrameD2Ev (8d94ff0, 8f4abd0, fe1a64dc, 8d93e88) + 38 0820c1f6 _ZN7pgFrameD2Ev (8d94ff0, 8046e60, 8046e20, ffffffff, 8f325b0, ffffff21) + da 0818a58f _ZN11frmEditGridD0Ev (8d94ff0, 8f325b0, 8046ee8, fe78dc6e) + 27f fe78dc99 _ZN9wxAppBase20DeletePendingObjectsEv (857b488, 0, 1, 0, fe5c0cbc, fe78e3cc) + 39 fe78e3f1 _ZN9wxAppBase6OnIdleER11wxIdleEvent (857b488, 8046fc0, 8046f18, fe71fb24) + 25 fe5029a5 _ZNK12wxAppConsole11HandleEventEP12wxEvtHandlerMS0_FvR7wxEventES3_ (857b488, 857b488, fe78e3cc, 0, 8046fc0, 8046fc0) + 29 fe57febd _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent (fe968c80, 857b488, 8046fc0, 862eb8c) + 6d fe580155 _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler (fe968cb0, 8046fc0, 857b488, 0) + 89 fe580ce0 _ZN12wxEvtHandler12ProcessEventER7wxEvent (857b488, 8046fc0, 8046fc0, 8a2c190) + d0 fe78e2a3 _ZN9wxAppBase11ProcessIdleEv (857b488, 8047028, fe8bcc80, fe70084c) + 87 fe70085e wxapp_idle_callback (0, fcbc2000, 8f45280) + 3a fd194af1 g_idle_dispatch (fd1ef518, 2, 857b6e0, 12c, 3, 1d6) + 11 fd1ef508 g_source_callback_funcs (0, 0, 10, 0, 8f31dd8, 0) fe700824 wxapp_idle_callback () ----------------- lwp# 2 / thread# 2 -------------------- fe57e6f4 wxPthreadStart(), exit value = 0x00000000 ** zombie (exited, not detached, not yet joined) ** Thanks Dhanaraj