Segfault with SVN version - Mailing list pgadmin-support

From Thomas Pundt
Subject Segfault with SVN version
Date
Msg-id 200608241650.12120.mlists@rp-online.de
Whole thread Raw
Responses Re: Segfault with SVN version
List pgadmin-support
Hi,

I get a reproducible segmentation fault with the latest version (5295)
from the svn repository. It doesn't look like a pgadmin3 bug, but as I've 
not changed the underlying libraries, and the segfault is quite new, I'll 
report it anyway...

My system: uname -a:
Linux idefix 2.6.11.4-21.12-default #1 Wed May 10 09:38:20 UTC 2006 i686 i686 
i386 GNU/Linux
SuSE Linux 9.3 (i586) updated regularily from apt repository.
wxWindows is wxGTK-2.6.3.

I can quite easily reproduce the crash by selecting some text and
the pressing Ctrl+C ("copy" from the menu also crashes). It doesn't crash
always though. This one comes from selecting some SQL text from the SQL pane
that is shown when selecting a primkey constraint from the object browser.

GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-suse-linux"...Using host libthread_db 
library "/lib/tls/libthread_db.so.1".

(gdb) r
Starting program: /home/pundt/projects/pgadmin3/src/pgadmin3 
[Thread debugging using libthread_db enabled]
[New Thread 1096948352 (LWP 23450)]
*** glibc detected *** double free or corruption (!prev): 0x089eb428 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread 1096948352 (LWP 23450)]
0x40b26327 in raise () from /lib/tls/libc.so.6
(gdb) bt
#0  0x40b26327 in raise () from /lib/tls/libc.so.6
#1  0x40b27b75 in abort () from /lib/tls/libc.so.6
#2  0x40b5a805 in __libc_message () from /lib/tls/libc.so.6
#3  0x40b60086 in malloc_printerr () from /lib/tls/libc.so.6
#4  0x40b6174b in free () from /lib/tls/libc.so.6
#5  0x403343ab in selection_handler () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#6  0x40dc3d03 in gtk_marshal_BOOLEAN__VOID () 
from /opt/gnome/lib/libgtk-x11-2.0.so.0
#7  0x40fefc55 in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0
#8  0x40fff6fd in g_signal_chain_from_overridden ()  from /opt/gnome/lib/libgobject-2.0.so.0
#9  0x410008eb in g_signal_emit_valist () 
from /opt/gnome/lib/libgobject-2.0.so.0
#10 0x41000cf5 in g_signal_emit_by_name () 
from /opt/gnome/lib/libgobject-2.0.so.0
#11 0x40e0957a in gtk_selection_data_set () 
from /opt/gnome/lib/libgtk-x11-2.0.so.0
#12 0x40e0989c in gtk_selection_data_set () 
from /opt/gnome/lib/libgtk-x11-2.0.so.0
#13 0x40dc56e0 in gtk_marshal_BOOLEAN__VOID () 
from /opt/gnome/lib/libgtk-x11-2.0.so.0
#14 0x40fef1f7 in g_closure_get_type () 
from /opt/gnome/lib/libgobject-2.0.so.0
#15 0x40fefc55 in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0
#16 0x40fff8c9 in g_signal_chain_from_overridden ()  from /opt/gnome/lib/libgobject-2.0.so.0
#17 0x410007a2 in g_signal_emit_valist () 
from /opt/gnome/lib/libgobject-2.0.so.0
#18 0x41000de2 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0
#19 0x40eb4c64 in gtk_widget_get_default_style ()  from /opt/gnome/lib/libgtk-x11-2.0.so.0
#20 0x40dc0264 in gtk_main_do_event () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#21 0x40c58542 in gdk_add_client_message_filter ()  from /opt/gnome/lib/libgdk-x11-2.0.so.0
#22 0x4124ffc7 in g_main_context_dispatch () 
from /opt/gnome/lib/libglib-2.0.so.0
#23 0x41252392 in g_main_context_acquire () 
from /opt/gnome/lib/libglib-2.0.so.0
#24 0x412533e7 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
#25 0x40dc06d3 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#26 0x40346683 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#27 0x403cd4cb in wxAppBase::MainLoop () 
from /usr/lib/libwx_gtk2u_core-2.6.so.0
#28 0x403cd27a in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#29 0x4063fbb0 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#30 0x4063fc8d in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#31 0x08071b4d in main (argc=1, argv=0xbfffefa4) at pgAdmin3.cpp:101
(gdb) 

Ciao,
Thomas

-- 
Thomas Pundt <thomas.pundt@rp-online.de> ---- http://rp-online.de/ ----


pgadmin-support by date:

Previous
From: "Ezequias Rodrigues da Rocha"
Date:
Subject: Problem to install on Fedora 5
Next
From: "Dave Page"
Date:
Subject: Re: Segfault with SVN version