Re: pgadmin3-1.6.0 - Segmentation Fault (core dumped)

From: Dhanaraj M <Dhanaraj(dot)M(at)Sun(dot)COM>
To: Dave Page <dpage(at)postgresql(dot)org>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: pgadmin3-1.6.0 - Segmentation Fault (core dumped)
Date: 2006-11-30 04:29:14
Message-ID: 456E5E1A.3060805@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers


> 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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2006-11-30 08:25:07 Re: Description for setting up a development environment
Previous Message Bawer Dagdeviren 2006-11-29 21:44:11 Description for setting up a development environment