• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crash in SetSystemUIMode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash in SetSystemUIMode


  • Subject: Re: Crash in SetSystemUIMode
  • From: Eric Schlegel <email@hidden>
  • Date: Wed, 8 Feb 2006 09:07:55 -0800


On Feb 7, 2006, at 3:36 PM, Eric Crichlow wrote:

I'm getting a crash in a call to SetSystemUIMode, while trying to set
the desktop to full screen mode.


    This crash only happens in 10.4 and only happens sporadically.

I thought the crash might be related to calling this method from a
thread, but even switching to a single thread model doesn't make a
difference. Actually, the crash happens less often in the multi- threaded
case.

Well, SetSystemUIMode is not thread-safe, so you definitely don't want to call it from anything other than the main thread.


Are you making other API calls from non-main threads? Have you verified that each of those calls is thread-safe? It looks like the crash is occuring in CoreGraphics due to some corrupted state, which might indicate that you're using non-thread-safe calls incorrectly.

-eric

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Crash in SetSystemUIMode (From: Eric Crichlow <email@hidden>)

  • Prev by Date: Accessing a WebView on a Carbon NIB
  • Next by Date: Re: autosizing fun
  • Previous by thread: Crash in SetSystemUIMode
  • Next by thread: [Moderator] Cocoa and list resources
  • Index(es):
    • Date
    • Thread