Re: Debian Alpha (unstable) build produces bad binary

Поиск
Список
Период
Сортировка
От Adam H.Pendleton
Тема Re: Debian Alpha (unstable) build produces bad binary
Дата
Msg-id E1568E7A-E7D1-11D7-9EFA-000A9566CE14@fmonkey.net
обсуждение исходный текст
Ответ на Re: Debian Alpha (unstable) build produces bad binary  (Bob Kimble <bob@iplicity.com>)
Ответы Re: Debian Alpha (unstable) build produces bad binary  (Bob Kimble <bob@iplicity.com>)
Список pgadmin-support
On Monday, Sep 15, 2003, at 12:52 US/Eastern, Bob Kimble wrote:

> 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)
>

I can almost guarantee that one of the parameters to one of the 
functions on this stack trace is NULL.  Every time I've seen one of 
these problems (and we've had a couple with pgAdmin3), the problem is 
almost always that.  The best way to tell is to step your way through 
the program and print out the parameters before they get passed.  I 
don't know how familiar you are with gdb, but maybe you can give this a 
shot.  Or maybe you can give Andreas access to your server to look at 
it.  :-)

ahp

В списке pgadmin-support по дате отправления:

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: Debian Alpha (unstable) build produces bad
Следующее
От: Bob Kimble
Дата:
Сообщение: Re: Debian Alpha (unstable) build produces bad binary