FS#52683 - [pgadmin3] segfaults at startup

Attached to Project: Community Packages
Opened by Attila Jecs (teJECSke) - Monday, 23 January 2017, 09:37 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 24 January 2017, 02:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Antonio Rojas (arojas)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:


Additional info:
* package version(s)
pgadmin3 1.22.2-1
* config and/or log files etc.


Steps to reproduce:
[welder@dreamer ~]$ pgadmin3
10:34:01: Debug: Adding duplicate image handler for 'PNG file'
Segmentation fault (core dumped)
[welder@dreamer ~]$
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 24 January 2017, 02:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  pgadmin3 1.22.2-2
Comment by BP (kichawa) - Monday, 23 January 2017, 14:48 GMT
(gdb) run
Starting program: /usr/bin/pgadmin3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
15:48:08: Debug: Adding duplicate image handler for 'PNG file'

Program received signal SIGSEGV, Segmentation fault.
0x0000000000518a34 in ?? ()

...nothing more
Comment by BP (kichawa) - Monday, 23 January 2017, 14:54 GMT
downgrade to 1.22.1-2 works fine!
Comment by Antonio Rojas (arojas) - Monday, 23 January 2017, 15:14 GMT
works for me. which gtk2 theme are you using?

Please use gdb to get a proper backtrace

edit: nevermind, I didn't realize you used gdb
Comment by Doug Newgard (Scimmia) - Monday, 23 January 2017, 15:26 GMT
BP, you need to do "bt" after the segfault to get a backtrace.
Comment by Katherine Grey (quicks1lver) - Monday, 23 January 2017, 15:31 GMT
Same issue with 1.22.2-1 (works when downgrading to 1.22.1-2). GTK theme is deepin.

gdb output:

(gdb) run
Starting program: /usr/bin/pgadmin3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
03:29:40 PM: Debug: Failed to connect to session manager: SESSION_MANAGER environment variable not defined
03:29:40 PM: Debug: Adding duplicate image handler for 'PNG file'

Program received signal SIGSEGV, Segmentation fault.
0x0000000000518a34 in ?? ()
(gdb) bt
#0 0x0000000000518a34 in ()
#1 0x0000000000812821 in ()
#2 0x0000000000b16cda in ()
#3 0x000000000071dfd2 in ()
#4 0x0000000000721c95 in ()
#5 0x000000000072240b in ()
#6 0x00007ffff5bbd74e in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const () at /usr/lib/libwx_baseu-3.0.so.0
#7 0x00007ffff5d40c35 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0
#8 0x00007ffff5d40d2b in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () at /usr/lib/libwx_baseu-3.0.so.0
#9 0x00007ffff5d410db in wxEvtHandler::TryHereOnly(wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0
#10 0x00007ffff5d40ee3 in wxEvtHandler::DoTryChain(wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0
#11 0x00007ffff5d411c5 in wxEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0
#12 0x00007ffff68c9fe8 in wxWindowBase::TryAfter(wxEvent&) () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#13 0x00007ffff6937a6b in wxScrollHelperEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#14 0x00007ffff694e883 in wxGenericTreeCtrl::Expand(wxTreeItemId const&) () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#15 0x000000000078bcb0 in ()
#16 0x00000000004a37c1 in ()
#17 0x00007ffff5c4fc42 in wxEntry(int&, wchar_t**) () at /usr/lib/libwx_baseu-3.0.so.0
#18 0x0000000000445132 in ()
#19 0x00007ffff3ead291 in __libc_start_main () at /usr/lib/libc.so.6
#20 0x0000000000494a3a in ()
Comment by Antonio Rojas (arojas) - Monday, 23 January 2017, 17:20 GMT
Please test 1.22.2-2
Comment by Nicolás Santisteban (ibk) - Monday, 23 January 2017, 18:32 GMT
1.22.2-2 doesn't work for me either.

EDIT: gdb output is exactly the same with 1.22.2-2.

Also it doesn't seem to happen if you don't have any servers and/or have an empty config file.
Comment by BP (kichawa) - Monday, 23 January 2017, 19:53 GMT
version 1.22.2-2 works fine!

thank you!
Comment by Nicolás Santisteban (ibk) - Tuesday, 24 January 2017, 00:36 GMT
After kichawa confirmation that it worked I deleted every file related to PgAdmin3 from my system and reinstalled 1.22.2-2. I can now confirm that it works too, thanks!

Loading...