Skip site navigation (1) Skip section navigation (2)

Re: pgadmin3-1.6.1 - Bus Error (core dumped)

From: Dhanaraj M <Dhanaraj(dot)M(at)Sun(dot)COM>
To: Dave Page <dpage(at)postgresql(dot)org>
Cc: Zdenek(dot)Kotala(at)Sun(dot)COM, pgadmin-hackers(at)postgresql(dot)org
Subject: Re: pgadmin3-1.6.1 - Bus Error (core dumped)
Date: 2006-12-12 11:16:25
Message-ID: 457E8F89.1040106@sun.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
Hi Dave,

I tried to test the code in freshly installed S-10 sparc and x86.
" File -> Add server....  core dumped "  does not occur.

However, "Query tool -> close.. core dump" still exists.
During the crash,  I got some GTK messages in SPARC machine. (No clue 
for x86)

(pgadmin3:2687): Gtk-CRITICAL **: file gtkwidget.c: line 5916: assertion 
`GTK_IS_WIDGET (widget)' failed
(pgadmin3:2687): GLib-GObject-CRITICAL **: file gobject.c: line 1222: 
assertion `G_IS_OBJECT (object)' failed
Bus Error (core dumped)

I am still trying to analyse this problem. I will try to check in S-10 
update 3.
I attach the trace file here.. Any comments??

Thanks for you suggestions
Dhanaraj

bash-3.00$ pstack core
core 'core' of 2687:    pgadmin3
-----------------  lwp# 1 / thread# 1  --------------------
 00230b40 __1cTdlgSelectConnectionCGo6MpnGpgConn_pnOctlComboBoxFix__i_ 
(ffbfc678, 1711138, 11b6598, 16ea4b0, ffbfc5ec, ffbfc5f0) + 100
 002b228c __1cIfrmQdDuerySOnChangeConnection6MrnOwxCommandEvent__v_ 
(1787fe8, ffbfca60, ffbfc8c8, ffbfca60, 0, ffbfc678) + 60
 007878b0 ???????? (0, 1787fe8, ffbfca60, 17e8de8, 7f, 15dce00)
 00786e58 ???????? (0, ffbfca60, 1787fe8, 17e8de8, 4f, b8)
 00787a18 ???????? (1787fe8, ffbfca60, 15cadb8, 14e86c0, 4f, c95720)
 0068ec1c ???????? (7fffffff, ffbfca60, 7fffffff, 68ebb8, b96784, c95720)
 005ebbec ???????? (15cb270, 15cadb8, ffbfca60, ffbfcd28, 178ee30, 0)
 fed8dcd8 g_closure_invoke (ffbfcd28, ffbfcbbc, 1, 10000, 0, 178ee30) + 174
 feda59f4 signal_emit_unlocked_R (0, fedceaf8, fd7bed64, fd7bed50, 
fedceae4, 11af5c0) + 109c
 feda442c g_signal_emit_valist (15cb270, 1794140, 11af5c0, ffbfcf5c, 
fedceaf8, fd7bed5c) + 7f8
 feda48d8 g_signal_emit_by_name (15cb270, ff224654, fd7bec00, 0, 
15ca540, fedceaf8) + 190
 fed8dcd8 g_closure_invoke (ffbfd1a0, ffbfd034, 2, 10000, 0, 178f270) + 174
 feda54c8 signal_emit_unlocked_R (c5bd44, fedceaf8, fd7bed64, fd7bed50, 
fedceae4, 113efe8) + b70
 feda442c g_signal_emit_valist (15cb020, 112ead1, 113efe8, ffbfd3d4, 
fedceaf8, fd7bed5c) + 7f8
 feda4738 g_signal_emit (15cb020, 88, 0, f36560, f05d0, ff0a67e8) + 1c
 ff0a68d8 gtk_list_store_remove (15cb020, ffbfd440, f36560, 1b8900, 
ff0a5a74, ff25f100) + e0
 ff026c94 gtk_combo_box_remove_text (15cb270, 0, 15cb020, 2385ac, 
b8e868, 15cb2c0) + 148
 005ed328 ???????? (15cadb8, 0, ffffffff, ffffffff, c47e94, 15cb270)
 002b0bb0 __1cIfrmQdDuery2T6M_v_ (1787fe8, 15cadb8, 3, 1788220, 0, 3) + 334
 002bb218 __SLIP.DELETER__P (1787fe8, 1, fcfecbc0, fcd42000, 1787fe8, 
f3e038) + 4
 00621ba0 ???????? (bb60b0, c48e0c, 1, ffffffff, f3e038, c2a768)
 00621d9c ???????? (c95720, ffbfd820, ffbfd6f0, ffbfd820, c47000, 70ebb4)
 007878b0 ???????? (0, c95720, ffbfd820, c8cf00, 1f, d1c998)
 00786e58 ???????? (0, ffbfd820, c95720, c8cf00, 14a, 64)
 00787a18 ???????? (c95720, ffbfd820, ffbfd820, 1772018, 0, c95720)
 00621c78 ???????? (c95720, c1c800, 1000, ffbfd820, c48c00, 0)
 0059597c ???????? (0, 595948, 0, fcd42000, c444c4, c95720)
 fd755a40 g_main_dispatch (c95830, c5bc00, 0, 0, fffffffd, ffffffef) + 19c
 fd756f74 g_main_context_dispatch (c95830, 12c, 0, 1, c5bc00, c95830) + 9c
 fd757440 g_main_context_iterate (1, 1, 1, c95830, c95838, 2) + 454
 fd757650 g_main_context_iteration (0, c5bc00, 1, c95830, 0, fef020f4) + 94
 ff0aa994 gtk_main_iteration (0, 1b47a8, ff0aa9dc, a800, ff25f100, aaec) 
+ 48
 00605cd8 ???????? (ffbfdb04, 11acea8, 253, 99, 253, 11e6bf0)
 002db1d0 __1cHfrmMainHdoPopup6MpnIwxWindow_nHwxPoint_pnIpgObject__v_ 
(605b48, 113ebd0, b98684, 1, 14e6a68, 11acea8) + 3ac
 002db414 __1cHfrmMainPOnSelRightClick6MrnLwxTreeEvent__v_ (1025d40, 
1af, 125b310, 1bacdc, b98684, 113ebd0) + a0
 007878b0 ???????? (0, 1025d40, ffbfe1d4, 115bd48, 7f, 11561e8)
 00786e58 ???????? (0, ffbfe1d4, 1025d40, 115bd48, 50, 128)
 00787a18 ???????? (1025d40, ffbfe1d4, 1025f70, 115b940, 28, c95720)
 00787a50 ???????? (1025f70, ffbfe1d4, bb1678, 1147228, 50, c95720)
 0068ec1c ???????? (7fffffff, ffbfe1d4, 7fffffff, 68ebb8, b98684, c95720)
 00787a50 ???????? (112ea70, ffbfe1d4, b98684, 0, c47e94, c95720)
 006bcc80 ???????? (112ea70, ffbfe1d4, 1af, 27fa, ffbfe1cc, c1c400)
 006ce548 ???????? (2764, ffbfe728, 113ebd0, 6be06c, 125b310, 113ed48)
 007878b0 ???????? (0, 113ebd0, ffbfe728, 1147228, 7f, 1143e90)
 00786e58 ???????? (0, ffbfe728, 113ebd0, 1147228, 4f, dc)
 00787a18 ???????? (113ebd0, ffbfe728, 112ea70, c95498, 145, c95720)
 00787a50 ???????? (112ea70, ffbfe728, b98684, 1af, c4f800, c95720)
 006bcc80 ???????? (112ea70, ffbfe728, ffbfe750, 2768, 6bcc68, c1c400)
 005baca4 ???????? (d9cdd4, b98684, 113ebd0, 1bad80, 14, ffbfe728)
 ff0add28 _gtk_marshal_BOOLEAN__BOXED (ffbfe900, 1b14c4, 113e860, 
ffbfea58, ffbfe8ec, 5ba980) + f8
 fed8dcd8 g_closure_invoke (ffbfea58, ffbfe8ec, 2, 10000, 0, 113e860) + 174
 feda54c8 signal_emit_unlocked_R (fed9b034, fedceaf8, fd7bed64, 
fd7bed50, fedceae4, c9d290) + b70
 feda4484 g_signal_emit_valist (d9cdd4, 0, c9d290, ffbfec8c, fedceaf8, 
fedb8d20) + 850
 feda4738 g_signal_emit (d9cdd4, 1b, 0, e0eb28, ffbfec9c, fffffec8) + 1c
 ff1b3f3c gtk_widget_event_internal (d9cdd4, e0eb28, ff1b3ce8, 15c, 14, 
9c00) + 1cc
 ff0ac278 gtk_propagate_event (d9cdd4, e0eb28, fcfb9500, 1b2fbc, 
fd752054, ff25f100) + 13c
 ff0ab130 gtk_main_do_event (354, e0eb28, d9cdd4, ff0aadd8, 0, 14) + 2d0
 feec48e4 gdk_event_dispatch (cb03f8, cad988, 3a4ac, fd755718, e0eb28, 
feefed14) + 8c
 fd755a40 g_main_dispatch (c95830, c5bc00, 0, 0, fffffffd, ffffffef) + 19c
 fd756f74 g_main_context_dispatch (c95830, 1, c824c8, 1, c5bc00, c95830) 
+ 9c
 fd757440 g_main_context_iterate (1, 1, 1, c95830, c95838, 2) + 454
 fd757bbc g_main_loop_run (d9ff98, c5bc00, fcfb9500, c5c710, fd7aa800, 
fd7aa800) + 348
 ff0aa6f4 gtk_main (0, 0, d9ff98, cff808, ff272a70, 4cdc) + d0
 006d95d4 ???????? (0, 1, 0, c2fc00, fd06a780, d9f938)
 006218e4 ???????? (c95720, c1e800, c40b7c, 1, 621890, c40800)
 00745214 ???????? (621a2c, b93720, c48c00, 1, c49000, c47000)
 0017b0b4 main     (1, ffbff1b4, ffbff1bc, b92000, fcd40740, fcd40780) + c
 0017aec8 _start   (0, 0, 0, 0, 0, 0) + 108
-----------------  lwp# 2 / thread# 2  --------------------
 00784c04 ????????(), exit value = 0x00000000
        ** zombie (exited, not detached, not yet joined) **




Dave Page wrote:
> Dhanaraj M wrote:
>>
>> Hi Dave,
>>
>> I found one more core dump.
>>
>> I tested (pgadmin3-1.6.1 and wxWidgets-2.8.0-rc1/rc3) in Solaris-10 - 
>> x86.
>> For both Sun studio/GCC compilers,
>> File -> Add server.  core dumped
>> I attach the trace file.
>>
>> fed8c3a6 gtk_tree_model_get_valist (fec7f8d4, 9004408, 0) + 12d
>> ffffffff ???????? (9004408, 0, 936c208, fe1d4c01, 9004408, 0)
>> fe1d4bb0 g_cclosure_marshal_VOID__VOID ()
>>
>>
>> However, both the problem do not occur in Solaris-11. Any idea??
>
>
> No idea - though it does seem that it's probably something other than 
> pgAdmin at fault if it works fine on Solaris 11, but not 10. In this 
> case the crash is obviously in GTK. Unfortunately I've been unable to 
> get Solaris 10 to run in an even remotely stable way on VMWare to test 
> with.
>
> One possibility you might consider - when I first worked on getting 
> 1.4 to build and run properly on Solaris, the wxWidgets guys seemed to 
> think that the same compiler should be used for GTK, wxWidgets and 
> pgAdmin. Do you know if this is the case, or could possibly be the 
> cause of problems?
>
> > I am really sorry not sending trace file, because  debug enabled build
> > did not give any extra details.
>
> Hmm, that's surprising. Oh well :-(. Can you get any more info by 
> examining the various variables in the nearest pgAdmin code on the 
> stack using GDB? Anything look like garbage?
>
> Regards, Dave
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
>               http://archives.postgresql.org


In response to

Responses

pgadmin-hackers by date

Next:From: Dave PageDate: 2006-12-12 13:13:02
Subject: Re: pgadmin3-1.6.1 - Bus Error (core dumped)
Previous:From: Guillaume LelargeDate: 2006-12-12 10:21:06
Subject: Re: SVN Commit by dpage: r5789 - trunk/pgadmin3/pgadmin/ui

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group