Re: Debian Alpha (unstable) build produces bad
Re: Debian Alpha (unstable) build produces bad
От:
Andreas Pflug <pgadmin@pse-consulting.de>
Дата:
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
Re: Debian Alpha (unstable) build produces bad binary
От:
Bob Kimble <bob@iplicity.com>
Дата:
On Monday 15 September 2003 13:06, Andreas Pflug wrote: > Bob Kimble wrote: > 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 It appears that I'm running version 2.2.4 of gtk (that's the version of the libgtk2.0-0 package I have installed). I'm running Debian unstable on that machine in order to play with the most current software. I don't really know how to install a newer version. I use apt-get, dselect, and dpkg to install everything. BTW -- I can run pgadmin3 just fine on my other machines, so this is not a critical issue for me. I'm just trying to do what I can to help with the development effort. I'm not a C or C++ programmer -- I pretty much use just Java and Python these days. I use PostgreSQL for my database back end, and pgadmin3 is just brilliant -- it's a truly excellent piece of software. Regards, .... Bob