On 1.8.2007, at 12.31, Dave Page wrote:

Jyrki Wahlstedt wrote:
Well,
this much progress. I built debug version of wxWidgets (2.8.4 with
separate libraries) and debug version of 1.8.0b2. It crashes, but shows
something.
I hope the attachment comes through, but it contains the cause of my
crash (I hope). For some reason the code fails an assert at arrstr.h
line 155 nIndex < m_nCount in Item(): wxArrayString leading to index out
bounds situation leading to crash.
Of course, this does not mean I can fix it, at least at the moment :-(

Can you attach gdb/xcode at that point and get a backtrace?

You mean something like this:
#0  0x90009cd7 in mach_msg_trap ()
#1  0x90009c38 in mach_msg ()
#2  0x9082d2b3 in CFRunLoopRunSpecific ()
#3  0x9082cace in CFRunLoopRunInMode ()
#4  0x92ded8d8 in RunCurrentEventLoopInMode ()
#5  0x92ee2dff in GetNextEventMatchingMask ()
#6  0x92ee2ac0 in WNEInternal ()
#7  0x92ee2a00 in WaitNextEvent ()
#8  0x92f4b7e5 in ModalDialog ()
#9  0x92f4b446 in RunStandardAlert ()
#10 0x106c394e in wxMessageDialog::ShowModal (this=0xbffff110) at ../ src/mac/carbon/msgdlg.cpp:182 #11 0x1067b264 in wxMessageBox ([EMAIL PROTECTED], [EMAIL PROTECTED], style=538, parent=0x0) at ../src/common/ utilscmn.cpp:1171 #12 0x10727ba8 in wxGUIAppTraitsBase::ShowAssertDialog (this=0x18d559b0, [EMAIL PROTECTED]) at ../src/common/appcmn.cpp:599 #13 0x17d232b8 in ShowAssertDialog (szFile=0x30522c, nLine=155, szFunc=0x18d69f9c, szCond=0x3051e4, szMsg=0x305158, traits=0x18d559b0) at ../src/common/appbase.cpp:839 #14 0x17d23465 in wxOnAssert (szFile=0x30522c, nLine=155, szFunc=0x291af8 "Item", szCond=0x3051e4, szMsg=0x305158) at ../src/ common/appbase.cpp:712 #15 0x002e19bd in wxArrayString::Item (this=0xbffff498, nIndex=0) at ./agent/dlgJob.cpp:154 #16 0x002e2086 in wxArrayString::operator[] (this=0xbffff498, nIndex=0) at ./agent/dlgSchedule.cpp:161
#17 0x00224ecb in isPgApp ([EMAIL PROTECTED]) at ./utils/misc.cpp:1090
#18 0x00009948 in pgAdmin3::InitPaths (this=0x18d2b990) at ./ pgAdmin3.cpp:766 #19 0x000105ea in pgAdmin3::OnInit (this=0x18d2b990) at ./ pgAdmin3.cpp:206 #20 0x002dfa22 in wxAppConsole::CallOnInit (this=0x18d2b990) at /opt/ local/include/wx-2.8/wx/app.h:76 #21 0x17d68a46 in wxEntry ([EMAIL PROTECTED], argv=0x18d292c0) at ../ src/common/init.cpp:433
#22 0x00007e60 in main (argc=2, argv=0xbffffc3c) at ./pgAdmin3.cpp:104

after 'gdb pgAdmin3 pid'?


!
! Jyrki Wahlstedt
!       http://www.wahlstedt.fi/jyrki/
!
! Our life is no dream; but it ought to become one and perhaps will.
! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780 6366 EFD9 139C C386




---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

               http://www.postgresql.org/about/donate

Reply via email to