Dave Page wrote:

Dave Page wrote:

Zdenek Kotala wrote:

Problem is with cbSSL. This combo box is empty and constructor of dlgServer try to setup selection on last used value - zero for first time -, but there is no content of list. Newer version of gtk probably are able to handle this situation but version used by s10 tries to touch into empty list.


Yeah, I found that right before I left the office - just logged in again to work-up a fix.

My question is why this dialog is not filed into the constructor like cbDatabase?


I guess you mean the combo, not dialog. short answer, I'm not sure. That's not so much the problem though - it seems that trying to select any list item when there aren't any is causing a crash. Having commented out cbSSL.SetSelection(), I just find it crashes in the same way in another dialogue.


I've committed a fix for this to trunk and the 1.6 branch - can you try it out please? It's a simple workaround which fixes the two instances of the problem I can find.

Sorry Dave.
I tested first by applying the patch to 1.6.1. After I downloaded from the branch and tested.
Both core dumps are still unsolved.

I get the same trace this time too..



----------------------- Add server------------------------

(pgadmin3:18214): Gtk-CRITICAL **: file gtkliststore.c: line 570: assertion `GTK_LIST_STORE (tree_model)->stamp == iter->stamp' failed

(pgadmin3:18214): GLib-GObject-WARNING **: gtype.c:3350: type id `0' is invalid

(pgadmin3:18214): GLib-GObject-WARNING **: can't peek value table for type `<invalid>' which is not currently referenced
Segmentation Fault (core dumped)
bash-3.00# pstack core
core 'core' of 18214:   pgadmin3
fed8c3a6 gtk_tree_model_get_valist (fec7f8d4, 933ec90, 0) + 12d
ffffffff ???????? (933ec90, 0, 933e6e8, fe1d4c01, 933ec90, 0)
fe1d4bb0 g_cclosure_marshal_VOID__VOID ()

-------------------------Quert tool--------------

** (pgadmin3:18222): CRITICAL **: file blueprint-draw.c: line 81: assertion `GTK_WIDGET (widget)' failed

** (pgadmin3:18222): CRITICAL **: file blueprint-draw.c: line 81: assertion `GTK_WIDGET (widget)' failed
Segmentation Fault (core dumped)
bash-3.00# pstack core
core 'core' of 18222:   pgadmin3
0824ded9 __1cTdlgSelectConnectionCGo6MpnGpgConn_pnOctlComboBoxFix__i_ (8046548, 8fdabb8, 9546e38) + d6 082b5c1d __1cIfrmQdDuerySOnChangeConnection6MrnOwxCommandEvent__v_ (933d068, 80467f8, 8046768, 8686ff1, 8b87240, 933d068) + 144 086291f2 __1cMwxAppConsoleLHandleEvent6kMpnMwxEvtHandler_m0B_MrnHwxEvent__v4_v_ (8b87240, 933d068, 82b5ad9, 0, 80467f8, 853cb91) + 12 08686ff1 __1cMwxEvtHandlerVProcessEventIfMatches6FrknVwxEventTableEntryBase_p0rnHwxEvent__b_ (8aa5088, 933d068, 80467f8) + 60 0868681b __1cQwxEventHashTableLHandleEvent6MrnHwxEvent_pnMwxEvtHandler__b_ (8aa5490, 80467f8, 933d068) + 5a 086870d9 __1cMwxEvtHandlerMProcessEvent6MrnHwxEvent__b_ (933d068, 80467f8) + 77 085bfe45 __1cMwxWindowBaseJTryParent6MrnHwxEvent__b_ (9546e38, 80467f8) + 43 0868710b __1cMwxEvtHandlerMProcessEvent6MrnHwxEvent__b_ (9546e38, 80467f8) + a9
0853aedc gtkcombobox_changed_callback (9547c30, 9546e38, 8b7fd20) + 99
fe1d4c01 g_cclosure_marshal_VOID__VOID () + 51



---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

               http://www.postgresql.org/about/donate

Reply via email to