Re: Debian Alpha (unstable) build produces bad - Mailing list pgadmin-support

From Andreas Pflug
Subject Re: Debian Alpha (unstable) build produces bad
Date
Msg-id 3F65F17A.9070807@pse-consulting.de
Whole thread Raw
Responses Re: Debian Alpha (unstable) build produces bad binary
List pgadmin-support
Bob Kimble wrote:

>Please ignore my earlier post -- I discovered the "c" command. Here's what I 
>believe you want:
>
>Program received signal SIGSEGV, Segmentation fault.
>0x000002000074f454 in g_type_is_a () from /usr/lib/libgobject-2.0.so.0
>(gdb) bt
>#0  0x000002000074f454 in g_type_is_a () from /usr/lib/libgobject-2.0.so.0
>#1  0x0000020000476028 in gtk_type_new () from /usr/lib/libgtk-x11-2.0.so.0
>#2  0x00000001207fe5cc in gtk_pizza_new ()
>#3  0x00000001205e8040 in wxTopLevelWindowGTK::Create(wxWindow*, int, wxString 
>const&, wxPoint const&, wxSize const&, long, wxString const&) ()
>#4  0x00000001206512c4 in wxDialog::Create(wxWindow*, int, wxString const&, 
>wxPoint const&, wxSize const&, long, wxString const&) ()
>#5  0x000000012069cb24 in wxAnyChoiceDialog::Create(wxWindow*, wxString 
>const&, wxString const&, int, wxString const*, long, wxPoint const&, long) ()
>#6  0x000000012069d4f8 in wxSingleChoiceDialog::Create(wxWindow*, wxString 
>const&, wxString const&, int, wxString const*, char**, long, wxPoint const&) 
>()
>#7  0x000000012069d408 in 
>wxSingleChoiceDialog::wxSingleChoiceDialog(wxWindow*, wxString const&, 
>wxString const&, int, wxString const*, char**, long, wxPoint const&) ()
>#8  0x000000012069c2dc in wxGetSingleChoiceIndex(wxString const&, wxString 
>const&, int, wxString const*, wxWindow*, int, int, bool, int, int) ()
>#9  0x000000012018a604 in pgAdmin3::OnInit() ()
>#10 0x000000012018b7dc in wxAppConsole::CallOnInit() ()
>#11 0x00000001205269b4 in wxEntry(int&, wchar_t**) ()
>#12 0x0000000120526b04 in wxEntry(int&, char**) ()
>#13 0x00000001201886f0 in main ()
>(gdb)
>
>  
>

Well that looks good, or really bad. It's wxGetSingleChoiceIndex in line 
201 pgAdmin3.cpp, which has just 4 parameters (rest is default), and 
they're certainly ok.
wxWindows tries to create a simple dialog, and it fails deep in gtk. 
Could you try a newer gtk? Please tell us which version you're using 
now, and which you're trying. Maybe that helps, because the wx code has 
been working in million of other cases.

Regards,
Andreas




pgadmin-support by date:

Previous
From: pginfo
Date:
Subject: Re: problem installing pgAdmin 3 on red hat 7.3
Next
From: Bob Kimble
Date:
Subject: Re: Debian Alpha (unstable) build produces bad binary