• 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
NSSound instability on 10.2.8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSound instability on 10.2.8


  • Subject: NSSound instability on 10.2.8
  • From: Chris Silverberg <email@hidden>
  • Date: Thu, 1 Apr 2004 08:53:09 -0800

Hello everyone,

I am debugging a problem for some of my 10.2.8 users. The problem appears to be that playing sounds via NSSound sometimes results in a crash. The crash occurs in QuickTime, as on 10.2.8 QuickTime is used to play sounds. (10.3 prefers to use CoreAudio for playing sounds... and appears to be rock solid compatatively.) My sounds are all short AIFF sounds.

The crash is always pretty consistent. It looks like this:

Thread 0 Crashed:
#0 0x91a52e00 in GetEffectiveFrameBufferPixmap
#1 0x91a524a4 in Color2IndexWithPort
#2 0x91a54e48 in SetPortRGBForeColor
#3 0x947432e0 in TaskMovie_priv
#4 0x94758d8c in frequentlyTaskMovies
#5 0x90163230 in __CFRunLoopDoTimer
#6 0x90148d28 in __CFRunLoopRun
#7 0x90180f58 in CFRunLoopRunSpecific
#8 0x969a3b70 in RunCurrentEventLoopInMode
#9 0x969b3b00 in ReceiveNextEventCommon
#10 0x969dabbc in BlockUntilNextEventMatchingListInMode
#11 0x9308dedc in _DPSNextEvent
#12 0x930a0158 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
#13 0x930b1d88 in -[NSApplication run]
#14 0x9315fc58 in NSApplicationMain
#15 0x0000a05c in _start (crt.c:267)
#16 0x00009edc in start

There are some interesting things you can see by looking at this stack crawl. For example, TaskMovie_priv is attempting to do some things with QuickDraw. Of course, I have no idea what port it could would be using as it's up to NSSound to deal with that.

Has anyone run into this problem before? Any suggestions?

thanks,
Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • how to properly dealloc contents of a nib
      • From: Chris Silverberg <email@hidden>
    • Re: NSSound instability on 10.2.8
      • From: John Stiles <email@hidden>
  • Prev by Date: Re: When do NSImageRep subclasses register themselves?
  • Next by Date: Re: scrolling mechanism question
  • Previous by thread: Re: scrolling mechanism question
  • Next by thread: Re: NSSound instability on 10.2.8
  • Index(es):
    • Date
    • Thread