crash in wxDirDialog on OSX 10.4.11
John Zorko
jmzorko at mac.com
Fri Feb 1 09:10:49 PST 2008
Hello, all ...
Every time my code calls wxDirDialog, it crashes (sometimes briefly
showing the dialog first, usually not). Here is the report from
CrashReporter of the thread that crashed:
(context -- wxWidgets was configured with --disable-shared; the code
that calls wxDirDialog is in a static library I created ... if I put
the same code in the main executable and not the library, it works,
but this is not really an option for us because our app is separated
into several static libraries that can be used independently of one
another)
Date/Time: 2008-02-01 08:51:48.370 -0800
OS Version: 10.4.11 (Build 8S2167)
Report Version: 4
Command: gdm
Path: /Applications/Gamespot/GDM.app/Contents/MacOS/gdm
Parent: WindowServer [57]
Version: 2.8.5 (2.8.5)
PID: 16349
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x0000005d
Thread 0 Crashed:
0 com.apple.CoreGraphics 0x9033fe53 CGPatternIsColored + 6
1 com.apple.CoreGraphics 0x90340bf4
CGColorGetPatternBaseColor + 36
2 libRIP.A.dylib 0x942f58f2 ripc_GetColor + 145
3 libRIP.A.dylib 0x942f7006 ripc_DrawGlyphs + 3724
4 com.apple.CoreGraphics 0x9035526b drawGlyphs + 1228
5 com.apple.CoreGraphics 0x90354d24
CGContextShowGlyphsWithAdvances + 181
6 com.apple.CoreText 0x901fa3b2 TLine::DrawGlyphs
(CGContext*) const + 116
7 com.apple.HIToolbox 0x92e2392f
TCoreTextEngine::DrawThemeTextBox(_HIThemeTextInfo*, CGRect const&,
unsigned long, CGContext*) + 1667
8 com.apple.HIToolbox 0x92e23168 DataEngine::DrawTextBox
(__CFString const*, CGRect const*, _HIThemeTextInfo*, CGContext*) + 596
9 com.apple.HIToolbox 0x92e22ed7 HIThemeDrawTextBox + 319
10 com.apple.HIToolbox 0x92e8a4e9
HIStaticTextView::DrawSelf(short, __HIShape const*, CGContext*) + 493
11 com.apple.HIToolbox 0x92e1c027 HIView::DrawCacheOrSelf
(short, __HIShape const*, CGContext*) + 87
12 com.apple.HIToolbox 0x92e1be27 HIView::SendDraw
(short, OpaqueGrafPtr*, __HIShape const*, CGContext*) + 97
13 com.apple.HIToolbox 0x92f92b68
HIView::RecursiveDrawComposited(__HIShape const*, unsigned long,
HIView*, CGContext*, unsigned char) + 874
14 com.apple.HIToolbox 0x92f92cfa
HIView::RecursiveDrawComposited(__HIShape const*, unsigned long,
HIView*, CGContext*, unsigned char) + 1276
15 com.apple.HIToolbox 0x92f92cfa
HIView::RecursiveDrawComposited(__HIShape const*, unsigned long,
HIView*, CGContext*, unsigned char) + 1276
16 com.apple.HIToolbox 0x92f934ed HIView::DrawComposited
(short, OpaqueGrafPtr*, __HIShape const*, unsigned long, HIView*,
CGContext*) + 601
17 com.apple.HIToolbox 0x92e1ba01 HIView::Draw(short,
OpaqueGrafPtr*, unsigned long) + 75
18 com.apple.HIToolbox 0x92e1b93d HIView::Render
(unsigned long, CGContext*) + 45
19 com.apple.HIToolbox 0x930a3a13 FlushWindowObject
(WindowData*, void**, unsigned char) + 581
20 com.apple.HIToolbox 0x92e0d5e5 FlushAllBuffers
(__CFRunLoopObserver*, CFRunLoopActivity, void*) + 167
21 com.apple.CoreFoundation 0x9082dcf6 __CFRunLoopDoObservers
+ 342
22 com.apple.CoreFoundation 0x9082d069 CFRunLoopRunSpecific +
1548
23 com.apple.CoreFoundation 0x9082ca56 CFRunLoopRunInMode + 61
24 com.apple.HIToolbox 0x92df0878
RunCurrentEventLoopInMode + 285
25 com.apple.HIToolbox 0x92deff82 ReceiveNextEventCommon
+ 385
26 com.apple.HIToolbox 0x92f0699c ReceiveNextEvent + 58
27 org.wxwindows.. 0x000354a0 wxApp::MacDoOneEvent()
+ 84
28 org.wxwindows.. 0x000fe56a wxEventLoop::Dispatch
() + 32
29 org.wxwindows.. 0x000f74e7 wxEventLoopManual::Run
() + 97
30 org.wxwindows.. 0x0003eba0 wxAppBase::MainLoop()
+ 76
31 org.wxwindows.. 0x0000bdb2 wxEntry(int&, char**)
+ 86
32 org.wxwindows.. 0x0000325a main + 24
33 org.wxwindows.. 0x00002bbe _start + 216
34 org.wxwindows.. 0x00002ae5 start + 41
Regards,
John
Falling You - exploring the beauty of voice and sound
http://www.fallingyou.com
On Feb 1, 2008, at 3:12 AM, chris wrote:
>
>
>
> this feature would need an additional flag when adding a handler to a
> window:
>
> void wxWindowBase::PushEventHandler(wxEvtHandler *handler, const bool&
> shouldBeDeletedWithWindow = false);
>
>
> implementation seems to be easy. I would do it if there is some
> interest in it.
>
> regards
> chris
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080201/f7b76daf/attachment.htm
More information about the wx-users
mailing list