Re: Debian Alpha (unstable) build produces bad binary

From: Adam H(dot)Pendleton <fmonkey(at)fmonkey(dot)net>
To: Bob Kimble <bob(at)iplicity(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org, Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Subject: Re: Debian Alpha (unstable) build produces bad binary
Date: 2003-09-15 23:11:04
Message-ID: E1568E7A-E7D1-11D7-9EFA-000A9566CE14@fmonkey.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Bob Kimble 2003-09-15 23:14:51 Re: Debian Alpha (unstable) build produces bad binary
Previous Message Andreas Pflug 2003-09-15 22:12:19 Re: Debian Alpha (unstable) build produces bad