Thread: pgadmin crashes on SuSE 9.2/wxGTK 2.5.3
Hi, I just compiled wxGTK 2.5.3 & pgadminIII (from CVS) on my new SuSE Linux 9.2 system. wxGTK seems to be ok (I tried some demos etc, all are ok). pgadminIII compiles, but when I start it, it crashes when it displays the tip-of-the-day screen. The gdb-backtrace is pretty long: ==================================================================== #0 0x410bdf17 in XCreateGC () from /usr/X11R6/lib/libX11.so.6 #1 0x415f3bb8 in alloc_gc () from /usr/lib/qt3/lib/libqt-mt.so.3 #2 0x415f3dfd in obtain_gc () from /usr/lib/qt3/lib/libqt-mt.so.3 #3 0x415f483b in QPainter::updatePen () from /usr/lib/qt3/lib/libqt-mt.so.3 #4 0x4169e269 in QPainter::setPen () from /usr/lib/qt3/lib/libqt-mt.so.3 #5 0x4164850f in qDrawShadePanel () from /usr/lib/qt3/lib/libqt-mt.so.3 #6 0x41648926 in qDrawShadePanel () from /usr/lib/qt3/lib/libqt-mt.so.3 #7 0x419b49fb in QCommonStyle::drawPrimitive () from /usr/lib/qt3/lib/libqt-mt.so.3 #8 0x41b6fe3f in KStyle::drawPrimitive () from /usr/lib/qt3/plugins/styles/thinkeramik.so #9 0x41b97326 in ThinKeramikStyle::drawPrimitive () from /usr/lib/qt3/plugins/styles/thinkeramik.so #10 0x419b360e in QCommonStyle::drawPrimitive () from /usr/lib/qt3/lib/libqt-mt.so.3 #11 0x41b6fe3f in KStyle::drawPrimitive () from /usr/lib/qt3/plugins/styles/thinkeramik.so #12 0x41b97326 in ThinKeramikStyle::drawPrimitive () from /usr/lib/qt3/plugins/styles/thinkeramik.so #13 0x41411df9 in drawTabFrame () from /opt/gnome/lib/gtk-2.0/2.4.0/engines/libqtengine.so #14 0x414063fd in draw_box_gap () from /opt/gnome/lib/gtk-2.0/2.4.0/engines/libqtengine.so #15 0x40c8a15c in gtk_paint_box_gap () from /opt/gnome/lib/libgtk-x11-2.0.so.0 #16 0x40c520ff in gtk_notebook_expose () from /opt/gnome/lib/libgtk-x11-2.0.so.0 #17 0x40c39fa4 in _gtk_marshal_BOOLEAN__BOXED () from /opt/gnome/lib/libgtk-x11-2.0.so.0 #18 0x40ed48e7 in g_type_class_meta_marshal () from /opt/gnome/lib/libgobject-2.0.so.0 #19 0x40ed4bfb in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0 #20 0x40ee63f6 in signal_emit_unlocked_R () from /opt/gnome/lib/libgobject-2.0.so.0 #21 0x40ee73f6 in g_signal_emit_valist () from /opt/gnome/lib/libgobject-2.0.so.0 #22 0x40ee79b2 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0 #23 0x40d31d64 in gtk_widget_event_internal () from /opt/gnome/lib/libgtk-x11-2.0.so.0 #24 0x40bb0376 in gtk_container_propagate_expose () from /opt/gnome/lib/libgtk-x11-2.0.so.0 #25 0x40bb03ad in gtk_container_expose_child () from /opt/gnome/lib/libgtk-x11-2.0.so.0 #26 0x40505ed5 in gtk_pizza_forall () from /usr/lib/libwx_gtk2u_core-2.5.so.3 #27 0x40bb10ad in gtk_container_forall () from /opt/gnome/lib/libgtk-x11-2.0.so.0 #28 0x40bb3696 in gtk_container_expose () from /opt/gnome/lib/libgtk-x11-2.0.so.0 #29 0x4050d4a2 in gtk_window_expose_callback () from /usr/lib/libwx_gtk2u_core-2.5.so.3 #30 0x40c39fa4 in _gtk_marshal_BOOLEAN__BOXED () from /opt/gnome/lib/libgtk-x11-2.0.so.0 #31 0x40ed4bfb in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0 #32 0x40ee5fb0 in signal_emit_unlocked_R () from /opt/gnome/lib/libgobject-2.0.so.0 #33 0x40ee73f6 in g_signal_emit_valist () from /opt/gnome/lib/libgobject-2.0.so.0 #34 0x40ee79b2 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0 #35 0x40d31d64 in gtk_widget_event_internal () from /opt/gnome/lib/libgtk-x11-2.0.so.0 #36 0x40c33ac9 in gtk_main_do_event () from /opt/gnome/lib/libgtk-x11-2.0.so.0 #37 0x40e13167 in gdk_window_process_updates_internal () from /opt/gnome/lib/libgdk-x11-2.0.so.0 #38 0x40e13327 in gdk_window_process_all_updates () from /opt/gnome/lib/libgdk-x11-2.0.so.0 #39 0x40bb12aa in gtk_container_idle_sizer () from /opt/gnome/lib/libgtk-x11-2.0.so.0 #40 0x40f310a1 in g_idle_dispatch () from /opt/gnome/lib/libglib-2.0.so.0 #41 0x40f32d17 in g_main_context_dispatch () from /opt/gnome/lib/libglib-2.0.so.0 #42 0x40f35467 in g_main_context_iterate () from /opt/gnome/lib/libglib-2.0.so.0 #43 0x40f36677 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0 #44 0x40c33e43 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0 #45 0x4054f226 in wxDialog::ShowModal () from /usr/lib/libwx_gtk2u_core-2.5.so.3 #46 0x403ac3ea in wxShowTip () from /usr/lib/libwx_gtk2u_adv-2.5.so.3 #47 0x0810a5e2 in frmMain::OnTipOfTheDay (this=0x875f7e0) at events.cpp:209 #48 0x08064280 in pgAdmin3::OnInit (this=0x8305058) at pgAdmin3.cpp:507 #49 0x08064c0f in wxAppConsole::CallOnInit (this=0x0) at app.h:87 #50 0x407ad4ed in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3 #51 0x407ad5bd in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3 #52 0x08064b98 in main (argc=1, argv=0xbffff084) at pgAdmin3.cpp:81 ==================================================================== can anyone help? Walter
Walter Haslbeck wrote: > Hi, > > I just compiled wxGTK 2.5.3 & pgadminIII (from CVS) on my new SuSE Linux > 9.2 system. > > wxGTK seems to be ok (I tried some demos etc, all are ok). > > pgadminIII compiles, but when I start it, it crashes when it displays > the tip-of-the-day screen. > > The gdb-backtrace is pretty long: > > ==================================================================== > #0 0x410bdf17 in XCreateGC () from /usr/X11R6/lib/libX11.so.6 > #1 0x415f3bb8 in alloc_gc () from /usr/lib/qt3/lib/libqt-mt.so.3 > #2 0x415f3dfd in obtain_gc () from /usr/lib/qt3/lib/libqt-mt.so.3 > #3 0x415f483b in QPainter::updatePen () from > /usr/lib/qt3/lib/libqt-mt.so.3 > #4 0x4169e269 in QPainter::setPen () from /usr/lib/qt3/lib/libqt-mt.so.3 > #5 0x4164850f in qDrawShadePanel () from /usr/lib/qt3/lib/libqt-mt.so.3 > #6 0x41648926 in qDrawShadePanel () from /usr/lib/qt3/lib/libqt-mt.so.3 > #7 0x419b49fb in QCommonStyle::drawPrimitive () from > /usr/lib/qt3/lib/libqt-mt.so.3 > #8 0x41b6fe3f in KStyle::drawPrimitive () from > /usr/lib/qt3/plugins/styles/thinkeramik.so > #9 0x41b97326 in ThinKeramikStyle::drawPrimitive () from > /usr/lib/qt3/plugins/styles/thinkeramik.so > #10 0x419b360e in QCommonStyle::drawPrimitive () from > /usr/lib/qt3/lib/libqt-mt.so.3 > #11 0x41b6fe3f in KStyle::drawPrimitive () from > /usr/lib/qt3/plugins/styles/thinkeramik.so > #12 0x41b97326 in ThinKeramikStyle::drawPrimitive () from > /usr/lib/qt3/plugins/styles/thinkeramik.so > #13 0x41411df9 in drawTabFrame () from > /opt/gnome/lib/gtk-2.0/2.4.0/engines/libqtengine.so > #14 0x414063fd in draw_box_gap () from > /opt/gnome/lib/gtk-2.0/2.4.0/engines/libqtengine.so > #15 0x40c8a15c in gtk_paint_box_gap () from > /opt/gnome/lib/libgtk-x11-2.0.so.0 > #16 0x40c520ff in gtk_notebook_expose () from > /opt/gnome/lib/libgtk-x11-2.0.so.0 > #17 0x40c39fa4 in _gtk_marshal_BOOLEAN__BOXED () from > /opt/gnome/lib/libgtk-x11-2.0.so.0 > #18 0x40ed48e7 in g_type_class_meta_marshal () from > /opt/gnome/lib/libgobject-2.0.so.0 > #19 0x40ed4bfb in g_closure_invoke () from > /opt/gnome/lib/libgobject-2.0.so.0 > #20 0x40ee63f6 in signal_emit_unlocked_R () from > /opt/gnome/lib/libgobject-2.0.so.0 > #21 0x40ee73f6 in g_signal_emit_valist () from > /opt/gnome/lib/libgobject-2.0.so.0 > #22 0x40ee79b2 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0 > #23 0x40d31d64 in gtk_widget_event_internal () from > /opt/gnome/lib/libgtk-x11-2.0.so.0 > #24 0x40bb0376 in gtk_container_propagate_expose () from > /opt/gnome/lib/libgtk-x11-2.0.so.0 > #25 0x40bb03ad in gtk_container_expose_child () from > /opt/gnome/lib/libgtk-x11-2.0.so.0 > #26 0x40505ed5 in gtk_pizza_forall () from > /usr/lib/libwx_gtk2u_core-2.5.so.3 > #27 0x40bb10ad in gtk_container_forall () from > /opt/gnome/lib/libgtk-x11-2.0.so.0 > #28 0x40bb3696 in gtk_container_expose () from > /opt/gnome/lib/libgtk-x11-2.0.so.0 > #29 0x4050d4a2 in gtk_window_expose_callback () from > /usr/lib/libwx_gtk2u_core-2.5.so.3 > #30 0x40c39fa4 in _gtk_marshal_BOOLEAN__BOXED () from > /opt/gnome/lib/libgtk-x11-2.0.so.0 > #31 0x40ed4bfb in g_closure_invoke () from > /opt/gnome/lib/libgobject-2.0.so.0 > #32 0x40ee5fb0 in signal_emit_unlocked_R () from > /opt/gnome/lib/libgobject-2.0.so.0 > #33 0x40ee73f6 in g_signal_emit_valist () from > /opt/gnome/lib/libgobject-2.0.so.0 > #34 0x40ee79b2 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0 > #35 0x40d31d64 in gtk_widget_event_internal () from > /opt/gnome/lib/libgtk-x11-2.0.so.0 > #36 0x40c33ac9 in gtk_main_do_event () from > /opt/gnome/lib/libgtk-x11-2.0.so.0 > #37 0x40e13167 in gdk_window_process_updates_internal () from > /opt/gnome/lib/libgdk-x11-2.0.so.0 > #38 0x40e13327 in gdk_window_process_all_updates () from > /opt/gnome/lib/libgdk-x11-2.0.so.0 > #39 0x40bb12aa in gtk_container_idle_sizer () from > /opt/gnome/lib/libgtk-x11-2.0.so.0 > #40 0x40f310a1 in g_idle_dispatch () from /opt/gnome/lib/libglib-2.0.so.0 > #41 0x40f32d17 in g_main_context_dispatch () from > /opt/gnome/lib/libglib-2.0.so.0 > #42 0x40f35467 in g_main_context_iterate () from > /opt/gnome/lib/libglib-2.0.so.0 > #43 0x40f36677 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0 > #44 0x40c33e43 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0 > #45 0x4054f226 in wxDialog::ShowModal () from > /usr/lib/libwx_gtk2u_core-2.5.so.3 > #46 0x403ac3ea in wxShowTip () from /usr/lib/libwx_gtk2u_adv-2.5.so.3 > #47 0x0810a5e2 in frmMain::OnTipOfTheDay (this=0x875f7e0) at events.cpp:209 > #48 0x08064280 in pgAdmin3::OnInit (this=0x8305058) at pgAdmin3.cpp:507 > #49 0x08064c0f in wxAppConsole::CallOnInit (this=0x0) at app.h:87 > #50 0x407ad4ed in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3 > #51 0x407ad5bd in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3 > #52 0x08064b98 in main (argc=1, argv=0xbffff084) at pgAdmin3.cpp:81 > ==================================================================== > > can anyone help? Maybe some problem with the theme; try another one. Regards, Andreas
Andreas Pflug wrote: > Maybe some problem with the theme; try another one. Thats it, thanks! (But where should I report the bug now: wxwidgets, gtk, kde, suse?) :) Walter
Walter Haslbeck wrote: > Andreas Pflug wrote: > >> Maybe some problem with the theme; try another one. > > > Thats it, thanks! > > (But where should I report the bug now: wxwidgets, gtk, kde, suse?) :) Good question. Seems wx is innocent. I'd suggest gtk, to trace it further down. Regards, Andreas