Skip site navigation (1) Skip section navigation (2)

Re: Debian Alpha (unstable) build produces bad

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Bob Kimble <bob(at)iplicity(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Debian Alpha (unstable) build produces bad
Date: 2003-09-15 17:06:02
Message-ID: 3F65F17A.9070807@pse-consulting.de (view raw or flat)
Thread:
Lists: 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



In response to

Responses

pgadmin-support by date

Next:From: Bob KimbleDate: 2003-09-15 20:10:12
Subject: Re: Debian Alpha (unstable) build produces bad binary
Previous:From: Bob KimbleDate: 2003-09-15 16:52:46
Subject: Re: Debian Alpha (unstable) build produces bad binary

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group