Need help with GTK bug - Mailing list pgadmin-hackers

From Dave Page
Subject Need help with GTK bug
Date
Msg-id 03AF4E498C591348A42FC93DEA9661B84C5BD9@mail.vale-housing.co.uk
Whole thread Raw
Responses Re: Need help with GTK bug  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgadmin-hackers
Hi Andreas,

I could use some help with a GTK related bug if you can spare some time
please.

The bug in question is listed in BUGS.txt as: Menu item 'Query Browser'
causes Segfault under unix - crash after qbForm->Show() in
frmQueryBuilder::OnSize() at layout.LayoutMDIFrame(this). QB currently
disabled.

The error is caught by an assert in src/gtk/window.cpp on line 2875:

wxASSERT_MSG( (m_widget != NULL), wxT("invalid window") );

which was indirectly called by pgAdmin in frmQueryBuilder.cpp, line 512:

void frmQueryBuilder::OnSize(wxSizeEvent& event)
{
    if (this->GetClientWindow() != NULL) {
    wxLayoutAlgorithm layout;
>>>    layout.LayoutMDIFrame(this);
    }
}

Any ideas?

Thanks, Dave.

pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Include column statistics as property of the column
Next
From: Andreas Pflug
Date:
Subject: Re: Need help with GTK bug