Bug ID 986857
Summary pgadmin3 segfault TW 20160625 (gcc6?)
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee bnc-team-screening@forge.provo.novell.com
Reporter bruno@ioda-net.ch
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Trying to run pgadmin3 I got a segfault which debug as

gdb /usr/bin/pgadmin3
GNU gdb (GDB; openSUSE Tumbleweed) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/pgadmin3...Reading symbols from
/usr/lib/debug/usr/bin/pgadmin3.debug...done.
done.
(gdb) run
Starting program: /usr/bin/pgadmin3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Detaching after fork from child process 8117.
Detaching after fork from child process 8118.
Detaching after fork from child process 8119.
Detaching after fork from child process 8120.
Detaching after fork from child process 8121.
Detaching after fork from child process 8122.
Detaching after fork from child process 8123.
Detaching after fork from child process 8124.
Detaching after fork from child process 8125.
Detaching after fork from child process 8126.
Detaching after fork from child process 8127.
[New Thread 0x7fffe1d7b700 (LWP 8128)]

Thread 1 "pgadmin3" received signal SIGSEGV, Segmentation fault.
pgConn::GetStatus (this=0x0) at db/pgConn.cpp:1011
1011    db/pgConn.cpp: No such file or directory.
(gdb) bt
#0  0x00000000004dc1b4 in pgConn::GetStatus() const (this=0x0) at
db/pgConn.cpp:1011
#1  0x000000000071fdfc in pluginUtilityFactory::CheckEnable(pgObject*)
(this=0x1d4bc00, obj=0x1ee34b0) at frm/plugins.cpp:383
#2  0x000000000093cf1a in menuFactoryList::CheckMenu(pgObject*, wxMenuBar*,
ctlMenuToolbar*) (this=0x1c7e2b0, obj=obj@entry=0x1ee34b0, menubar=0x1df3800,
toolbar=0x1d359e0) at utils/factory.cpp:266
#3  0x00000000006668d4 in frmMain::setDisplay(pgObject*, ctlListView*,
ctlSQLBox*) (this=this@entry=0x1cd6d20, data=0x1ee34b0, props=props@entry=0x0,
sqlbox=sqlbox@entry=0x0) at frm/events.cpp:600
#4  0x0000000000666bdd in frmMain::execSelChange(wxTreeItemId, bool)
(this=this@entry=0x1cd6d20, item=..., currentNode=<optimized out>) at
frm/events.cpp:512
#5  0x00000000006671c8 in frmMain::OnExpand(wxTreeEvent&) (this=0x1cd6d20,
event=...) at frm/events.cpp:277
#6  0x00007ffff62c3839 in
wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&) (entry=..., handler=<optimized out>, event=...) at
src/common/event.cpp:1239
#7  0x00007ffff62c38e3 in wxEventHashTable::HandleEvent(wxEvent&,
wxEvtHandler*) (this=<optimized out>, event=..., self=self@entry=0x1cd6d20) at
src/common/event.cpp:906
#8  0x00007ffff62c3c9b in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x1cd6d20,
event=...) at src/common/event.cpp:1301
#9  0x00007ffff62c3c10 in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x1cd70d0,
event=...) at src/common/event.cpp:1308
#10 0x00007ffff6c8dca9 in wxWindowBase::TryParent(wxEvent&) (this=<optimized
out>, event=...) at src/common/wincmn.cpp:2661
#11 0x00007ffff6ce3640 in wxGenericTreeCtrl::Expand(wxTreeItemId const&)
(this=0x1e2a990, itemId=...) at src/generic/treectlg.cpp:1792
#12 0x00000000006b575f in frmMain::frmMain(wxString const&) (this=0x1cd6d20,
title=...) at frm/frmMain.cpp:239
#13 0x0000000000490eee in pgAdmin3::OnInit() (this=0x1065790) at
pgAdmin3.cpp:786
#14 0x00007ffff626c9cc in wxEntry(int&, wchar_t**) (this=<optimized out>) at
include/wx/app.h:76
#15 0x00007ffff626c9cc in wxEntry(int&, wchar_t**) (argc=@0x7ffff6530eb0: 1,
argv=<optimized out>) at src/common/init.cpp:432
#16 0x00007ffff626ca92 in wxEntry(int&, char**) (argc=@0x7fffffffda1c: 1,
argc@entry=@0x7fffffffda1c: <optimized out>, argv=<optimized out>) at
src/common/init.cpp:460
#17 0x00000000004487a2 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at pgAdmin3.cpp:126
(gdb)




Installed packages on my system mostly related 
zypper se -si libwx pgadmin3
Loading repository data...
Reading installed packages...

S | Name                                         | Type    | Version     | Arch
  | Repository
--+----------------------------------------------+---------+-------------+--------+-----------
i | libwx_baseu-2_8-0-stl                        | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_baseu-2_8-0-wxcontainer                | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_baseu-2_8-0-wxcontainer-debuginfo      | package | 2.8.12-28.1 |
x86_64 | debug
i | libwx_baseu-suse1                            | package | 3.0.2-1.80  |
x86_64 | geo
i | libwx_baseu_net-2_8-0-stl                    | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_baseu_net-2_8-0-wxcontainer            | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_baseu_net-2_8-0-wxcontainer-debuginfo  | package | 2.8.12-28.1 |
x86_64 | debug
i | libwx_baseu_net-suse1                        | package | 3.0.2-1.80  |
x86_64 | geo
i | libwx_baseu_xml-2_8-0-stl                    | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_baseu_xml-2_8-0-wxcontainer            | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_baseu_xml-2_8-0-wxcontainer-debuginfo  | package | 2.8.12-28.1 |
x86_64 | debug
i | libwx_baseu_xml-suse1                        | package | 3.0.2-1.80  |
x86_64 | geo
i | libwx_gtk2u_adv-2_8-0-stl                    | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_gtk2u_adv-2_8-0-wxcontainer            | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_gtk2u_adv-2_8-0-wxcontainer-debuginfo  | package | 2.8.12-28.1 |
x86_64 | debug
i | libwx_gtk2u_adv-suse1                        | package | 3.0.2-1.80  |
x86_64 | geo
i | libwx_gtk2u_aui-2_8-0-stl                    | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_gtk2u_aui-2_8-0-wxcontainer            | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_gtk2u_aui-2_8-0-wxcontainer-debuginfo  | package | 2.8.12-28.1 |
x86_64 | debug
i | libwx_gtk2u_aui-suse1                        | package | 3.0.2-1.80  |
x86_64 | geo
i | libwx_gtk2u_core-2_8-0-stl                   | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_gtk2u_core-2_8-0-wxcontainer           | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_gtk2u_core-2_8-0-wxcontainer-debuginfo | package | 2.8.12-28.1 |
x86_64 | debug
i | libwx_gtk2u_core-suse1                       | package | 3.0.2-1.80  |
x86_64 | geo
i | libwx_gtk2u_gizmos-2_8-0-stl                 | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_gtk2u_gl-2_8-0-stl                     | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_gtk2u_html-2_8-0-stl                   | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_gtk2u_html-2_8-0-wxcontainer           | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_gtk2u_html-2_8-0-wxcontainer-debuginfo | package | 2.8.12-28.1 |
x86_64 | debug
i | libwx_gtk2u_html-suse1                       | package | 3.0.2-1.80  |
x86_64 | geo
i | libwx_gtk2u_media-2_8-0-stl                  | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_gtk2u_qa-2_8-0-stl                     | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_gtk2u_richtext-2_8-0-stl               | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_gtk2u_stc-2_8-0-stl                    | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_gtk2u_stc-2_8-0-wxcontainer            | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_gtk2u_stc-2_8-0-wxcontainer-debuginfo  | package | 2.8.12-28.1 |
x86_64 | debug
i | libwx_gtk2u_xrc-2_8-0-stl                    | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_gtk2u_xrc-2_8-0-wxcontainer            | package | 2.8.12-28.1 |
x86_64 | oss
i | libwx_gtk2u_xrc-2_8-0-wxcontainer-debuginfo  | package | 2.8.12-28.1 |
x86_64 | debug
i | libwx_gtk2u_xrc-suse1                        | package | 3.0.2-1.80  |
x86_64 | geo
i | pgadmin3                                     | package | 1.22.1-1.5  |
x86_64 | oss
i | pgadmin3-debuginfo                           | package | 1.22.1-1.5  |
x86_64 | debug
i | pgadmin3-lang                                | package | 1.22.1-1.5  |
noarch | oss


rpm -qi pgadmin3
Name        : pgadmin3
Version     : 1.22.1
Release     : 1.5
Architecture: x86_64
Install Date: Mon Jun 27 10:19:32 2016
Group       : Productivity/Databases/Tools
Size        : 9782978
License     : PostgreSQL
Signature   : RSA/SHA256, Sat Jun 25 06:55:07 2016, Key ID b88b2fd43dbdc284
Source RPM  : pgadmin3-1.22.1-1.5.src.rpm
Build Date  : Sat Jun 25 06:53:00 2016
Build Host  : cloud102
Relocations : (not relocatable)
Packager    : http://bugs.opensuse.org
Vendor      : openSUSE
URL         : http://www.pgadmin.org/index.php
Summary     : Management and Administration Tools for the PostgreSQL Database
Description :
pgAdmin III is ...
Distribution: openSUSE Tumbleweed

Is it a victim of Gcc6 or more related that I've both installed libwx 2.8 and
3.0


You are receiving this mail because: