wxTreeCtrl assert failure

From: Adam H(dot)Pendleton <fmonkey(at)fmonkey(dot)net>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: wxTreeCtrl assert failure
Date: 2004-03-19 17:48:15
Message-ID: 9966AB38-79CD-11D8-B198-000A9566CE14@fmonkey.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

When running pgAdmin3 on Mac I get this assert failure:

../src/generic/treectlg.cpp(874): assert "wxAssertFailure"
failed: invalud tree item

If I continue the program it seems to run okay. Here is the backtrace
from the "crash";

Starting program: /Users/fmonkey/Projects/pgadmin3/src/pgadmin3

Program received signal SIGTRAP, Trace/breakpoint trap.
0x90042aac in kill ()
(gdb) bt
#0 0x90042aac in kill ()
#1 0x0011c47c in wxTrap() () at ../src/common/appbase.cpp:539
#2 0x00153110 in wxGUIAppTraitsBase::ShowAssertDialog(wxString const&)
(this=0xb32e890, msg=(at)0xbfffeca0) at ../src/common/appcmn.cpp:533
#3 0x0011c958 in ShowAssertDialog(wchar_t const*, int, wchar_t const*,
wchar_t const*, wxAppTraits*) (szFile=0x5381ac, nLine=874,
szCond=0x53821c, szMsg=0x538458, traits=0xb32e890) at
../src/common/appbase.cpp:705
#4 0x0011c048 in wxAppConsole::OnAssert(wchar_t const*, int, wchar_t
const*, wchar_t const*) (this=0xb314450, file=0x5381ac, line=874,
cond=0x53821c, msg=0x538458) at ../src/common/appbase.cpp:408
#5 0x0011c5b4 in wxOnAssert(wchar_t const*, int, wchar_t const*,
wchar_t const*) (szFile=0x5381ac, nLine=874, szCond=0x53821c,
szMsg=0x538458) at ../src/common/appbase.cpp:585
#6 0x0011c4d8 in wxAssert(int, wchar_t const*, int, wchar_t const*,
wchar_t const*) (cond=0, szFile=0x5381ac, nLine=874, szCond=0x53821c,
szMsg=0x538458) at ../src/common/appbase.cpp:552
#7 0x0017228c in wxGenericTreeCtrl::GetItemData(wxTreeItemId const&)
const (this=0xb878000, item=(at)0xbfffee60) at
../src/generic/treectlg.cpp:874
#8 0x0007cf74 in frmMain::OnPageChange(wxNotebookEvent&)
(this=0xb853600, event=(at)0xbffff310) at ui/frmMain.cpp:437
#9 0x0011bcdc in wxAppConsole::HandleEvent(wxEvtHandler*, void
(wxEvtHandler::*)(wxEvent&), wxEvent&) const (this=0xb314450,
handler=0xb853600, func={__pfn = (void ( wxEvtHandler::*)(wxEvent &,))
63974, __delta = 0}, event=(at)0xbffff310) at
../src/common/appbase.cpp:288
#10 0x0011e154 in
wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&) (entry=(at)0x73b8dc, handler=0xb853600,
event=(at)0xbffff310) at ../src/common/event.cpp:1169
#11 0x0011d2b8 in wxEventHashTable::HandleEvent(wxEvent&,
wxEvtHandler*) (this=0x73b36c, event=(at)0xbffff310, self=0xb853600) at
../src/common/event.cpp:837
#12 0x0011e46c in wxEvtHandler::ProcessEvent(wxEvent&) (this=0xb853600,
event=(at)0xbffff310) at ../src/common/event.cpp:1231
#13 0x0012e8f8 in wxWindowBase::TryParent(wxEvent&) (this=0xb5cb3a0,
event=(at)0xbffff310) at ../src/common/wincmn.cpp:2230
#14 0x0011e500 in wxEvtHandler::ProcessEvent(wxEvent&) (this=0xb5cb3a0,
event=(at)0xbffff310) at ../src/common/event.cpp:1244
#15 0x0012e8f8 in wxWindowBase::TryParent(wxEvent&) (this=0xb5ce660,
event=(at)0xbffff310) at ../src/common/wincmn.cpp:2230
#16 0x0011e500 in wxEvtHandler::ProcessEvent(wxEvent&) (this=0xb5ce660,
event=(at)0xbffff310) at ../src/common/event.cpp:1244
#17 0x0012e8f8 in wxWindowBase::TryParent(wxEvent&) (this=0xb5d3a10,
event=(at)0xbffff310) at ../src/common/wincmn.cpp:2230
#18 0x0011e500 in wxEvtHandler::ProcessEvent(wxEvent&) (this=0xb5d3a10,
event=(at)0xbffff310) at ../src/common/event.cpp:1244
#19 0x001f105c in wxNotebook::SetSelection(unsigned long)
(this=0xb5d3a10, nPage=0) at ../src/mac/notebmac.cpp:280
#20 0x001f195c in wxNotebook::InsertPage(unsigned long, wxWindow*,
wxString const&, bool, int) (this=0xb5d3a10, nPage=0, pPage=0xb5d4ec0,
strText=(at)0xbffff4e0, bSelect=false, imageId=-1) at
../src/mac/notebmac.cpp:418
#21 0x0061d82c in wxBookCtrl::AddPage(wxWindow*, wxString const&, bool,
int) (this=0xb5d3a10, page=0xb5d4ec0, text=(at)0xbffff4e0, bSelect=false,
imageId=-1) at ../include/wx/bookctrl.h:136
#22 0x0007b084 in frmMain::frmMain(wxString const&, wxPoint const&,
wxSize const&) (this=0xb853600, title=(at)0xbffff9b0, pos=(at)0xbffff940,
size=(at)0xbffff930) at ui/frmMain.cpp:285
#23 0x000772e8 in frmMain::frmMain(wxString const&, wxPoint const&,
wxSize const&) (this=0xb853600, title=(at)0xbffff9b0, pos=(at)0xbffff940,
size=(at)0xbffff930) at ui/frmMain.cpp:106
#24 0x000041e4 in pgAdmin3::OnInit() (this=0xb314450) at
pgAdmin3.cpp:423
#25 0x005c9990 in wxAppConsole::CallOnInit() (this=0xb314450) at
/Users/fmonkey/Projects/wx2/include/wx/app.h:87
#26 0x00119b18 in wxEntry(int&, wchar_t**) (argc=(at)0xbffffcb8,
argv=0xb313d50) at ../src/common/init.cpp:392
#27 0x00119c80 in wxEntry(int&, char**) (argc=(at)0xbffffcb8,
argv=0xbffffd50) at ../src/common/init.cpp:455
#28 0x00002b5c in main (argc=1, argv=0xbffffd50) at pgAdmin3.cpp:78
(gdb)

ahp

Browse pgadmin-hackers by date

  From Date Subject
Next Message Adam H.Pendleton 2004-03-19 17:51:44 Further crashes
Previous Message Andreas Pflug 2004-03-19 15:30:19 Re: Mac OS "crash"