Skip site navigation (1) Skip section navigation (2)

Re: wxWidgets alert at start (was: Beta 2 start problem on OS X)

From: Jyrki Wahlstedt <jyrki(dot)wahlstedt(at)hut(dot)fi>
To: Dave Page <dpage(at)postgresql(dot)org>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: wxWidgets alert at start (was: Beta 2 start problem on OS X)
Date: 2007-08-01 09:44:42
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-hackers
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 ../ 
#11 0x1067b264 in wxMessageBox (message=(at)0xbffff368,  
caption=(at)0xbffff36c, style=538, parent=0x0) at ../src/common/ 
#12 0x10727ba8 in wxGUIAppTraitsBase::ShowAssertDialog  
(this=0x18d559b0, msg=(at)0xbffff3bc) 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/ 
#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 (app=(at)0xbffff5f4) at ./utils/misc.cpp:1090
#18 0x00009948 in pgAdmin3::InitPaths (this=0x18d2b990) at ./ 
#19 0x000105ea in pgAdmin3::OnInit (this=0x18d2b990) at ./ 
#20 0x002dfa22 in wxAppConsole::CallOnInit (this=0x18d2b990) at /opt/ 
#21 0x17d68a46 in wxEntry (argc=(at)0x17e60038, argv=0x18d292c0) at ../ 
#22 0x00007e60 in main (argc=2, argv=0xbffffc3c) at ./pgAdmin3.cpp:104

after 'gdb pgAdmin3 pid'?

! Jyrki Wahlstedt
! 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

In response to


pgadmin-hackers by date

Next:From: Dave PageDate: 2007-08-01 10:24:29
Subject: Re: wxWidgets alert at start
Previous:From: Dave PageDate: 2007-08-01 09:31:21
Subject: Re: wxWidgets alert at start (was: Beta 2 start problem on OS X)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group