Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NavDialogRun hangs using wxwidgets in Leopard



I'm using the wxWidgets framework (2.8) for developing an application. This has worked well for me under Tiger.

I've just upgraded my MacBookPto to Leopard (painfully = blue screen login problems) and have XCode 3 up and running.

My code builds under XCode3/Leopard just fine, but when I launch the application, it hangs in "NavDialogRun".  ie: launch application. Go to File -> Open, and it hangs.


The stack crawl looks like this:

#0  0x950ef922 in semaphore_wait_trap ()
#1  0x950f7412 in pthread_mutex_lock ()
#2  0x944272de in TSLockMutex ()
#3  0x96c90d2a in _CUIThreadLock ()
#4  0x96c86799 in CUIRenderer::CreateGrayCubicGradientImage ()
#5  0x96c6e7ec in CUIRenderer::DrawWindowFrameDark ()
#6  0x96c83792 in CUIRenderer::Draw ()
#7  0x91672103 in _NSDrawThemeBackground ()
#8  0x91671cee in -[NSThemeFrame _drawUnifiedToolbar:] ()
#9  0x916711a4 in -[NSThemeFrame _drawTitleBar:] ()
#10 0x91670e41 in -[NSThemeFrame _drawFrameInterior:clip:] ()
#11 0x91670dce in -[NSThemeFrame drawFrame:] ()
#12 0x9167060e in -[NSFrameView drawRect:] ()
#13 0x9166fb46 in -[NSThemeFrame drawRect:] ()
#14 0x9166eeb0 in -[NSView _drawRect:clip:] ()
#15 0x9166da44 in -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#16 0x9166c3a3 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#17 0x9166bce3 in -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#18 0x91668814 in -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] ()
#19 0x915a937d in -[NSView displayIfNeeded] ()
#20 0x915a8f2d in -[NSWindow displayIfNeeded] ()
#21 0x9166497a in -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] ()
#22 0x91c2b833 in -[NSNavSavePanel _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] ()
#23 0x916a656d in -[NSApplication _orderFrontModalWindow:relativeToWindow:] ()
#24 0x916a5fd6 in -[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:] ()
#25 0x917dd571 in -[NSApplication beginModalSessionForWindow:] ()
#26 0x917dd3dc in -[NSApplication runModalForWindow:] ()
#27 0x917ce55d in -[NSSavePanel(NSSavePanelRuntime) runModalForDirectory:file:types:] ()
#28 0x91c2b8ea in -[NSNavOpenPanel run] ()
#29 0x91c2f944 in _NSNavDialogRun ()
#30 0x0247c226 in wxFileDialog::ShowModal (this=0xbfffdeb4) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/mac/carbon/filedlg.cpp:376
#31 0x024c0e11 in wxFileSelectorEx (title=<incomplete type>, defaultDir=<incomplete type>, defaultFileName=<incomplete type>, defaultFilterIndex=<incomplete type>, filter=<incomplete type>, flags=<incomplete type>, parent=<incomplete type>, x=<incomplete type>, y=<incomplete type>) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/fldlgcmn.cpp:259
#32 0x022726bf in wxDocManager::SelectDocumentPath (this=0x17b620, templates=0x1a68e0, noTemplates=<incomplete type>, path=<incomplete type>) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/docview.cpp:1594
#33 0x02271937 in wxDocManager::CreateDocument (this=0x17b620, path=<incomplete type>, flags=<incomplete type>) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/docview.cpp:1283
#34 0x02270d70 in wxDocManager::OnFileOpen (this=0x17b620) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/docview.cpp:974
#35 0x024bf0d1 in wxAppConsole::HandleEvent (this=<incomplete type>, handler=<incomplete type>, func=<incomplete type>, event=<incomplete type>) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/appbase.cpp:320
#36 0x022a0ce0 in wxEvtHandler::ProcessEventIfMatches (entry=@0x27b8dc0, handler=0x17b620, event=<incomplete type>) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/event.cpp:1204
#37 0x022a109c in wxEventHashTable::HandleEvent (this=0x27b8f88, event=<incomplete type>, self=0x17b620) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/event.cpp:877
#38 0x022a1ed3 in wxEvtHandler::ProcessEvent (this=0x17b620, event=<incomplete type>) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/event.cpp:1266
#39 0x0227134f in wxDocManager::ProcessEvent (this=0x17b620, event=@0xbfffe478) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/docview.cpp:1169
#40 0x02276448 in wxDocMDIParentFrame::ProcessEvent (this=0x481e600, event=<incomplete type>) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/docmdi.cpp:75
#41 0x022fe793 in wxMenuBase::SendEvent (this=0x183e00, id=5000, checked=-1) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/menucmn.cpp:781
#42 0x0243921e in wxMacWindowCommandEventHandler (handler=0xbfffe920, event=<incomplete type>, data="" type>) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/mac/carbon/window.cpp:639
#43 0x0243a287 in wxMacWindowEventHandler (handler=0xbfffe920, event=<incomplete type>, data="" type>) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/mac/carbon/window.cpp:722
#44 0x91d74863 in DispatchEventToHandlers ()
#45 0x91d73c9d in SendEventToEventTargetInternal ()
#46 0x91d9008e in SendEventToEventTarget ()
#47 0x91dc4c9d in SendHICommandEvent ()
#48 0x91deb377 in SendMenuCommandWithContextAndModifiers ()
#49 0x91deb334 in SendMenuItemSelectedEvent ()
#50 0x91deb242 in FinishMenuSelection ()
#51 0x91dc7f32 in MenuSelectCore ()
#52 0x91e56cae in MenuSelect ()
#53 0x02444bc0 in wxMacTopLevelMouseEventHandler (handler=0xbffff130, event=<incomplete type>, data="" type>) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/mac/carbon/toplevel.cpp:568
#54 0x023ff160 in wxMacAppEventHandler (handler=0xbffff130, event=<incomplete type>, data="" type>) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/mac/carbon/app.cpp:703
#55 0x91d74863 in DispatchEventToHandlers ()
#56 0x91d73c9d in SendEventToEventTargetInternal ()
#57 0x91d9008e in SendEventToEventTarget ()
#58 0x91da302b in ToolboxEventDispatcherHandler ()
#59 0x91d74c1c in DispatchEventToHandlers ()
#60 0x91d73c9d in SendEventToEventTargetInternal ()
#61 0x91d9008e in SendEventToEventTarget ()
#62 0x023fd583 in wxApp::MacHandleOneEvent (this=0x11b690, evr=<incomplete type>) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/mac/carbon/app.cpp:1249
#63 0x023fd653 in wxApp::MacDoOneEvent (this=0x11b690) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/mac/carbon/app.cpp:1218
#64 0x0253a87e in wxEventLoop::Dispatch (this=<incomplete type>) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/mac/carbon/evtloop.cpp:107
#65 0x0253a4e9 in wxEventLoopManual::Run (this=0x1941f0) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/evtloopcmn.cpp:115
#66 0x0225d401 in wxAppBase::MainLoop (this=0x11b690) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/appcmn.cpp:308
#67 0x0225d58d in wxAppBase::OnRun (this=0x11b690) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/appcmn.cpp:363
#68 0x024c4d91 in wxEntry (argc=<incomplete type>, argv=<incomplete type>) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/init.cpp:449
#69 0x024c4e5a in wxEntry (argc=<incomplete type>, argv=0xbffff7c0) at /Users/matt/programming/ISD/wxWidgets-2.8.4/src/common/init.cpp:461
#70 0x0000323c in main (argc=1, argv=0xbffff7c0) at /Users/matt/programming/ISD/ISD Demo 2/mac/../source/theApp.cpp:58


Any ideas?


-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

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.