It seems there may be a bug in the HI Toolbox framework in Leopard.
I've set a breakpoint in "malloc_error_break" as recommended to me by
gdb. Seems that there's problems allocating memory. I think this may
be related to my previous post about a bug in NavDialogRun.
This is happening to me about 20% of the time:
ISD Demo 2(1884,0xa06f4f60) malloc: *** mmap(size=2147483648) failed
(error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Xcode: Introspection dylib not loaded because thread 1 has function:
malloc_error_break on stack
(gdb) bt
#0 0x951d59f1 in malloc_error_break ()
#1 0x951d09df in szone_error ()
#2 0x950f8ff6 in allocate_pages ()
#3 0x950f97e2 in large_and_huge_malloc ()
#4 0x950f0948 in szone_malloc ()
#5 0x950f0738 in malloc_zone_malloc ()
#6 0x950f06cc in malloc ()
#7 0x96c867da in CUIRenderer::CreateGrayCubicGradientImage ()
#8 0x96c6ea61 in CUIRenderer::DrawWindowFrameDark ()
#9 0x96c83792 in CUIRenderer::Draw ()
#10 0x91e27a4d in HIWindowFrameView::DrawDark ()
#11 0x91e27546 in HIWindowFrameView::DrawSelf ()
#12 0x91d96f81 in HIView::DrawCacheOrSelf ()
#13 0x91d96d8a in HIView::SendDraw ()
#14 0x91d969e6 in HIView::RecursiveDrawComposited ()
#15 0x91d95de8 in HIView::DrawComposited ()
#16 0x91d95afb in HIView::Draw ()
#17 0x91d95a4b in HIView::Render ()
#18 0x91d9e617 in FlushWindowObject ()
#19 0x91d9e02e in FlushAllBuffers ()
#20 0x913c29e2 in __CFRunLoopDoObservers ()
#21 0x913c3c12 in CFRunLoopRunSpecific ()
#22 0x913c4d38 in CFRunLoopRunInMode ()
#23 0x91d9c8a4 in RunCurrentEventLoopInMode ()
#24 0x91d9c5f6 in ReceiveNextEventCommon ()
#25 0x91edff9b in ReceiveNextEvent ()
#26 0x0253a840 in wxEventLoop::Pending (this=<incomplete type>) at /
Users/matt/programming/ISD/wxWidgets-2.8.4/src/mac/carbon/evtloop.cpp:96
#27 0x0253a48b in wxEventLoopManual::Run (this=0x1b2d40) at /Users/
matt/programming/ISD/wxWidgets-2.8.4/src/common/evtloopcmn.cpp:99
#28 0x0225d401 in wxAppBase::MainLoop (this=0x11b680) at /Users/matt/
programming/ISD/wxWidgets-2.8.4/src/common/appcmn.cpp:308
#29 0x0225d58d in wxAppBase::OnRun (this=0x11b680) at /Users/matt/
programming/ISD/wxWidgets-2.8.4/src/common/appcmn.cpp:363
#30 0x024c4d91 in wxEntry (argc=<incomplete type>, argv=<incomplete
type>) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/
init.cpp:449
#31 0x024c4e5a in wxEntry (argc=<incomplete type>, argv=0xbffff7c0)
at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/init.cpp:461
#32 0x0000323c in main (argc=1, argv=0xbffff7c0) at /Users/matt/
programming/ISD/ISD Demo 2/mac/../source/theApp.cpp:58
-Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden