Mailing Lists: Apple Mailing Lists

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

Re: NavDialogRun hangs using wxwidgets in Leopard



This MAY be related a deadlock I reported (rdar://5521769) which appears to happen when the app calls LockPortBits and then then calls into the HIFramework. Maybe not. But it seems like it may be related. In my case, the thread was deadlocked with itself.

Best regards,

B.J. Buchalter


On Oct 31, 2007, at 8:17 PM, Eric Schlegel wrote:


On Oct 31, 2007, at 4:16 PM, Matt Connolly wrote:

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 ()

There's obviously some kind of deadlock here in CoreUI, or else the mutex used by CoreUI has been trashed. Can you post the backtraces of _all_ active threads at this time ("thr a a bt" in gdb)? You should also just file a bug about this, since obviously we don't want your app to be hanging when run on Leopard.


-eric

_______________________________________________
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

B.J. Buchalter Metric Halo http://www.mhlabs.com


_______________________________________________ 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
References: 
 >NavDialogRun hangs using wxwidgets in Leopard (From: Matt Connolly <email@hidden>)
 >Re: NavDialogRun hangs using wxwidgets in Leopard (From: Eric Schlegel <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.