[vorbis-dev] libao macosx plugin crashing

marquis logan nibs at mac.com
Thu Oct 25 02:08:57 PDT 2001



i built libao on mac os x, i modified it to use cfplugins as opposed to 
dlopen, the plugin loads okay, but it crashes in:

  int ao_plugin_play(ao_device *device, const char *output_samples,
                uint_32 num_bytes);

thread 2 crashes and that looks like a core audio worker thread.

there's the crashlog.

Date/Time:  2001-10-25 02:05:36 -0400
OS Version: 10.1 (Build 5L14)

Command:    ao_example
PID:        8880

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0xbeaf5963

Thread 0:
  #0   0x70034d68 in semaphore_wait_trap
  #1   0x70009fa0 in pthread_mutex_lock
  #2   0x7003fcf8 in _pthread_cond_wait
  #3   0x001120d0 in ao_plugin_play
  #4   0x0008b3ac in ao_play
  #5   0x00001ca8 in main
  #6   0x00001a6c in _start
  #7   0x0000189c in start

Thread 1:
  #0   0x70001308 in mach_msg_overwrite_trap
  #1   0x70006394 in mach_msg
  #2   0x7017bebc in __CFRunLoopRun
  #3   0x701b6ba0 in CFRunLoopRunSpecific
  #4   0x7017b804 in CFRunLoopRunInMode
  #5   0x7061be08 in 
XIOAudioDeviceManager::NotificationThread(XIOAudioDeviceManager *)
  #6   0x706141c0 in CAPThread::Entry(CAPThread *)
  #7   0x70020efc in _pthread_body

Thread 2:
  #0   0x70004df0 in szone_malloc
  #1   0x70004c58 in malloc_zone_malloc
  #2   0x70004b94 in malloc
  #3   0x70626740 in __eh_alloc
  #4   0x70623894 in CAGuard::WaitFor(unsigned long long)
  #5   0x70623954 in CAGuard::WaitUntil(unsigned long long)
  #6   0x7061a0d4 in XThreadedDevice::IOThread(void)
  #7   0x7060e484 in XThreadedDevice::IOThreadEntry(void *)
  #8   0x706141c0 in CAPThread::Entry(CAPThread *)
  #9   0x70020efc in _pthread_body

PPC Thread State:
   srr0: 0x70004df0 srr1: 0x0000f030                vrsave: 0x00000000
    xer: 0x00000000   lr: 0x70004db4  ctr: 0x70006040   mq: 0x00000000
     r0: 0x00000000   r1: 0x002bfaf0   r2: 0x002bfca8   r3: 0x00000001
     r4: 0x00000001   r5: 0x00000000   r6: 0x0085b54c   r7: 0x43300000
     r8: 0x800013b0   r9: 0xbeaf595f  r10: 0x00000000  r11: 0x800033dc
    r12: 0x70006040  r13: 0x00000000  r14: 0x00000033  r15: 0x0004a010
    r16: 0xbfffee70  r17: 0x00000000  r18: 0x00000014  r19: 0x00002907
    r20: 0x00000000  r21: 0x0000001c  r22: 0x70004bc4  r23: 0x70004c58
    r24: 0x00000001  r25: 0x0004b060  r26: 0x00000000  r27: 0x00058610
    r28: 0x00000000  r29: 0xbfffef00  r30: 0x00000000  r31: 0x00000001

**********

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list