pg.ddx.io  pgadmin-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dhanaraj M <Dhanaraj.M@Sun.COM>
To: Dave Page <dpage@postgresql.org>
Cc: pgadmin-hackers@postgresql.org
Subject: Re: pgadmin3-1.6.0 - Segmentation Fault (core dumped)
Date: Thu, 30 Nov 2006 09:59:14 +0530
Message-ID: <456E5E1A.3060805@sun.com> (raw)
In-Reply-To: <456DB777.1060100@postgresql.org>
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>


> 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



view thread (10+ messages)  latest in thread

Message-ID: <456E5E1A.3060805@sun.com>
Permalink:  ../456E5E1A.3060805@sun.com/
Also on:    postgresql.org/message-id/456E5E1A.3060805@sun.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgadmin-hackers@postgresql.org
  Cc: Dhanaraj.M@Sun.COM, dpage@postgresql.org
  Subject: Re: pgadmin3-1.6.0 - Segmentation Fault (core dumped)
  In-Reply-To: <456E5E1A.3060805@sun.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox