Thread: Bug#754114: pgadmin3 crashes - Debug: Adding duplicate image handler for 'PNG file'
Bug#754114: pgadmin3 crashes - Debug: Adding duplicate image handler for 'PNG file'
From
Christoph Berg
Date:
Hi, we got several reports that pgadmin3 is crashing in various dialogs, possibly related by the switch to wx3.0. http://bugs.debian.org/754114 Could someone have a look at that? Thanks, Christoph -- cb@df7cb.de | http://www.df7cb.de/ Package: pgadmin3 Followup-For: Bug #754114 Control: retitle -1 pgadmin3: crash in the database maintenance dialog Hi, I am able to reproduce the crash. Some times right clicking on a database and selecting 'Maintenance' works as expected showing the maintenance dialog, but clicking on the 'Messages' tab makes pgadmin3 crash. Other times it is enough to show the maintenance dialog and hover the mouse around it without clicking anywhere. The «Debug: Adding duplicate image handler for 'PNG file'» message appears right after pgadmin is started so perhaps it is not relevant to the crash. Here's a backtrace from gdb with all -dbg packages installed when the crash is produced by clicking on the 'Messages' tab: -----------------------------8<------------------------------- Program received signal SIGSEGV, Segmentation fault. 0x00007ffff6a40ff9 in wxCursor::GetCursor() const () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0 (gdb) bt #0 0x00007ffff6a40ff9 in wxCursor::GetCursor() const () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0 #1 0x00007ffff6a74b73 in wxWindow::GTKUpdateCursor(bool, bool) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0 #2 0x00007ffff6a76cef in wxWindow::GTKHandleRealized() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0 #3 0x00007ffff21f53b8 in g_closure_invoke (closure=0x1bc33a0, return_value=0x0, n_param_values=1, param_values=0x7fffffffcec0, invocation_hint=0x7fffffffce60) at /tmp/buildd/glib2.0-2.40.0/./gobject/gclosure.c:768 #4 0x00007ffff2206d3d in signal_emit_unlocked_R (node=node@entry=0x1064420, detail=detail@entry=0, instance=instance@entry=0x1a8c4c0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffcec0) at /tmp/buildd/glib2.0-2.40.0/./gobject/gsignal.c:3551 #5 0x00007ffff220ea29 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffd048) at /tmp/buildd/glib2.0-2.40.0/./gobject/gsignal.c:3307 #6 0x00007ffff220ece2 in g_signal_emit (instance=instance@entry=0x1a8c4c0, signal_id=<optimized out>, detail=detail@entry=0) at /tmp/buildd/glib2.0-2.40.0/./gobject/gsignal.c:3363 #7 0x00007ffff2d9b4e4 in IA__gtk_widget_realize ( widget=widget@entry=0x1a8c4c0) at /build/gtk+2.0-zztKf7/gtk+2.0-2.24.24/gtk/gtkwidget.c:3554 #8 0x00007ffff2d9b6d8 in IA__gtk_widget_map (widget=0x1a8c4c0) at /build/gtk+2.0-zztKf7/gtk+2.0-2.24.24/gtk/gtkwidget.c:3428 #9 0x00007ffff2ce1f9e in gtk_scrolled_window_forall (container=0x1b0e530, include_internals=1, callback=0x7ffff2c0a040 <gtk_container_map_child>, callback_data=0x0) at /build/gtk+2.0-zztKf7/gtk+2.0-2.24.24/gtk/gtkscrolledwindow.c:1082 #10 0x00007ffff2c0cf3f in gtk_container_map (widget=0x1b0e530) at /build/gtk+2.0-zztKf7/gtk+2.0-2.24.24/gtk/gtkcontainer.c:2684 #11 0x00007ffff21f55e7 in _g_closure_invoke_va (closure=0x10641f0, return_value=0x0, instance=0x1b0e530, args=0x7fffffffd368, n_params=0, param_types=0x0) at /tmp/buildd/glib2.0-2.40.0/./gobject/gclosure.c:831 #12 0x00007ffff220e088 in g_signal_emit_valist (instance=0x1b0e530, signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7fffffffd368) at /tmp/buildd/glib2.0-2.40.0/./gobject/gsignal.c:3215 #13 0x00007ffff220ece2 in g_signal_emit (instance=instance@entry=0x1b0e530, signal_id=<optimized out>, detail=detail@entry=0) at /tmp/buildd/glib2.0-2.40.0/./gobject/gsignal.c:3363 #14 0x00007ffff2d9b6ae in IA__gtk_widget_map (widget=widget@entry=0x1b0e530) at /build/gtk+2.0-zztKf7/gtk+2.0-2.24.24/gtk/gtkwidget.c:3430 #15 0x00007ffff2d9b844 in IA__gtk_widget_set_child_visible (widget=0x1b0e530, is_visible=<optimized out>) at /build/gtk+2.0-zztKf7/gtk+2.0-2.24.24/gtk/gtkwidget.c:7553 #16 0x00007ffff2c9f145 in gtk_notebook_real_switch_page (notebook=0x19b22e0, child=<optimized out>, page_num=<optimized out>) at /build/gtk+2.0-zztKf7/gtk+2.0-2.24.24/gtk/gtknotebook.c:6161 #17 0x00007ffff21f53b8 in g_closure_invoke (closure=0x1a4d690, return_value=0x0, n_param_values=3, param_values=0x7fffffffd620, invocation_hint=0x7fffffffd5c0) at /tmp/buildd/glib2.0-2.40.0/./gobject/gclosure.c:768 #18 0x00007ffff2206afb in signal_emit_unlocked_R (node=node@entry=0x1a4df90, detail=detail@entry=0, instance=instance@entry=0x19b22e0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffd620) at /tmp/buildd/glib2.0-2.40.0/./gobject/gsignal.c:3589 #19 0x00007ffff220ea29 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffd7d8) at /tmp/buildd/glib2.0-2.40.0/./gobject/gsignal.c:3307 #20 0x00007ffff220ece2 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at /tmp/buildd/glib2.0-2.40.0/./gobject/gsignal.c:3363 #21 0x00007ffff2ca48b8 in gtk_notebook_button_press (widget=0x19b22e0, event=0x1aff920) at /build/gtk+2.0-zztKf7/gtk+2.0-2.24.24/gtk/gtknotebook.c:2716 #22 0x00007ffff2c8501f in _gtk_marshal_BOOLEAN__BOXED (closure=0x1086240, return_value=0x7fffffffda20, n_param_values=<optimized out>, param_values=0x7fffffffdad0, invocation_hint=<optimized out>, marshal_data=0x7ffff2ca47c0 <gtk_notebook_button_press>) at /build/gtk+2.0-zztKf7/gtk+2.0-2.24.24/gtk/gtkmarshalers.c:86 #23 0x00007ffff21f53b8 in g_closure_invoke (closure=0x1086240, return_value=0x7fffffffda20, n_param_values=2, param_values=0x7fffffffdad0, invocation_hint=0x7fffffffda70) at /tmp/buildd/glib2.0-2.40.0/./gobject/gclosure.c:768 #24 0x00007ffff2206afb in signal_emit_unlocked_R (node=node@entry=0x1086270, detail=detail@entry=0, instance=instance@entry=0x19b22e0, emission_return=emission_return@entry=0x7fffffffdba0, instance_and_params=instance_and_params@entry=0x7fffffffdad0) at /tmp/buildd/glib2.0-2.40.0/./gobject/gsignal.c:3589 #25 0x00007ffff220e6f9 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffdc68) at /tmp/buildd/glib2.0-2.40.0/./gobject/gsignal.c:3317 #26 0x00007ffff220ece2 in g_signal_emit (instance=instance@entry=0x19b22e0, signal_id=<optimized out>, detail=detail@entry=0) at /tmp/buildd/glib2.0-2.40.0/./gobject/gsignal.c:3363 #27 0x00007ffff2d9540c in gtk_widget_event_internal ( widget=widget@entry=0x19b22e0, event=event@entry=0x1aff920) at /build/gtk+2.0-zztKf7/gtk+2.0-2.24.24/gtk/gtkwidget.c:5010 #28 0x00007ffff2d95701 in IA__gtk_widget_event (widget=widget@entry=0x19b22e0, event=event@entry=0x1aff920) at /build/gtk+2.0-zztKf7/gtk+2.0-2.24.24/gtk/gtkwidget.c:4807 #29 0x00007ffff2c83774 in IA__gtk_propagate_event (widget=0x19b22e0, event=0x1aff920) at /build/gtk+2.0-zztKf7/gtk+2.0-2.24.24/gtk/gtkmain.c:2490 #30 0x00007ffff2c83beb in IA__gtk_main_do_event (event=0x1aff920) at /build/gtk+2.0-zztKf7/gtk+2.0-2.24.24/gtk/gtkmain.c:1685 #31 0x00007ffff28fd03c in gdk_event_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at /build/gtk+2.0-zztKf7/gtk+2.0-2.24.24/gdk/x11/gdkevents-x11.c:2403 #32 0x00007ffff1f25e04 in g_main_dispatch (context=0x1052b60) at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3064 #33 g_main_context_dispatch (context=context@entry=0x1052b60) at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3663 #34 0x00007ffff1f26048 in g_main_context_iterate (context=0x1052b60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3734 #35 0x00007ffff1f2630a in g_main_loop_run (loop=0x11c7000) at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3928 #36 0x00007ffff2c82bc7 in IA__gtk_main () at /build/gtk+2.0-zztKf7/gtk+2.0-2.24.24/gtk/gtkmain.c:1257 #37 0x00007ffff6a4bb05 in wxGUIEventLoop::DoRun() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0 #38 0x00007ffff5f4d9e0 in wxEventLoopBase::Run() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0 #39 0x00007ffff5f0c116 in wxAppConsoleBase::MainLoop() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0 #40 0x00007ffff5fa2c7d in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0 #41 0x0000000000446382 in main (argc=1, argv=<optimized out>) at pgAdmin3.cpp:125 -----------------------------8<------------------------------- -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores) Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pgadmin3 depends on: ii libc6 2.19-7 ii libgcc1 1:4.9.1-1 ii libkrb5-3 1.12.1+dfsg-4 ii libpq5 9.3.4-2 ii libssl1.0.0 1.0.1h-3 ii libstdc++6 4.9.1-1 ii libwxbase3.0-0 3.0.1-2 ii libwxgtk3.0-0 3.0.1-2 ii libxml2 2.9.1+dfsg1-4 ii libxslt1.1 1.1.28-2 ii pgadmin3-data 1.18.1-3 ii zlib1g 1:1.2.8.dfsg-1 Versions of packages pgadmin3 recommends: ii pgagent 3.4.0-2 ii postgresql-client 9.3+157 ii postgresql-client-9.1 [postgresql-client] 9.1.13-0wheezy1 ii postgresql-client-9.3 [postgresql-client] 9.3.4-2 Versions of packages pgadmin3 suggests: pn postgresql-contrib <none> -- no debconf information