FS#38808 - [pgadmin3] Segmentation fault (possibly wx related)
Attached to Project:
Community Packages
Opened by Evan McLean (ecognito) - Wednesday, 05 February 2014, 21:29 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 27 April 2015, 18:51 GMT
Opened by Evan McLean (ecognito) - Wednesday, 05 February 2014, 21:29 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 27 April 2015, 18:51 GMT
|
Details
Description:
If I right-click on a database and select something like backup, restore, or maintenance, I get a segmentation fault. I think it is borking at bringing up the dialog window. I tried recompiling, same issue. Could the recent wx changes the culprit? Any ideas? This is with a freshly installed version of Arch. Additional info: * package version(s) pgadmin3 1.18.1-8 postgresql 9.3.2-4 postgresql-libs 9.3.2-4 wxgtk 3.0.0-2 wxgtk2.8 2.8.12.1-1 gtk2 2.24.22-1 gtk3 3.10.7-1 libxslt 1.1.28-3 * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Sergej Pupykin (sergej)
Monday, 27 April 2015, 18:51 GMT
Reason for closing: Fixed
Additional comments about closing: patch applied
Monday, 27 April 2015, 18:51 GMT
Reason for closing: Fixed
Additional comments about closing: patch applied
I have tried to download v1.18.1 from official repo and build it my self and I still see the bug.
Also I have checked out the source code from git and build v1.19.0 dev. Bug is still present. :/
1.18.0 work just fine :) (I build it from source).
**edit**
Others can use the older Arch packages from Arch Rollback Machine(https://wiki.archlinux.org/index.php/Arch_Rollback_Machine)
http://seblu.net/a/arm/2013/10/10/community/os/x86_64/pgadmin3-1.18.0-2-x86_64.pkg.tar.xz
sudo pacman -U pgadmin3-1.18.0-2-x86_64.pkg.tar.xz
I may add
IgnorePkg = pgadmin3
to /etc/pacman.conf to keep pacman from upgrading the package.
Backtrace:
#0 0x00007ffff4a7eeb8 in __lll_unlock_elision () from /usr/lib/libpthread.so.0
#1 0x00007ffff638a249 in wxMutexInternal::Unlock() () from /usr/lib/libwx_baseu-2.8.so.0
#2 0x0000000000625cea in ?? ()
#3 0x00007ffff638c6f6 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#4 0x00007ffff638c79b in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
#5 0x00007ffff638cb07 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#6 0x00007ffff638ca90 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#7 0x00007ffff6d03439 in wxWindowBase::TryParent(wxEvent&) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8 0x00007ffff638ca90 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#9 0x00007ffff6d2d906 in wxScrollHelperEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#10 0x00007ffff6d3e108 in wxGenericTreeCtrl::OnMouse(wxMouseEvent&) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#11 0x00007ffff638c6f6 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#12 0x00007ffff638c79b in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
#13 0x00007ffff638cb07 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#14 0x00007ffff638ca90 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#15 0x00007ffff6d2d906 in wxScrollHelperEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0x00007ffff6c34839 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#17 0x00007ffff41bb435 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00007ffff3b9c3d8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#19 0x00007ffff3badd5d in ?? () from /usr/lib/libgobject-2.0.so.0
#20 0x00007ffff3bb5719 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#21 0x00007ffff3bb5d02 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#22 0x00007ffff42cafe4 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00007ffff41b9be4 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00007ffff41b9f9b in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00007ffff3e359cc in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#26 0x00007ffff36a8b84 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007ffff36a8dc8 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x00007ffff36a908a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#29 0x00007ffff41b9087 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x00007ffff6c220ea in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#31 0x00007ffff6c96fec in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#32 0x00007ffff6339f7d in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#33 0x0000000000443222 in ?? ()
#34 0x00007ffff46e0000 in __libc_start_main () from /usr/lib/libc.so.6
#35 0x0000000000473ed4 in ?? ()
There is at least two report on pgadmin-support: http://www.postgresql.org/message-id/20140806155112.GD2798%40msg.df7cb.de and http://www.postgresql.org/message-id/544450F7.4060002%40gmail.com
Right click on database = crash.
1.18.0 is the only working version I'm aware of
It doesn't matter where , it happens always, at least for me.
I will provide any information needed. Feel free to ask.
http://www.postgresql.org/list/pgadmin-support/2015-04/
User: Wander Nauta
Date: 2015-04-19 12:04:02
This solves the right mouse click issue