• 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
Leopard problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Leopard problem


  • Subject: Leopard problem
  • From: "Roni Music" <email@hidden>
  • Date: Mon, 19 Nov 2007 16:02:19 +0100



HI,



After upgrading to Leopard, one of my applications (a MIDI player) sometimes

crashes right at startup (see crash log below, thread 3). It happens very seldom and inside the

CoreAudio system code so I'm having

problems to understand if it's a problem with my app (most likely) or if it's another problem?

I've never seen this problem prior to Leopard.





I'm using the DLS Music device which I set up this way:



bool MyDLSSynth::SetUp(void)
{

          ComponentDescription           description;

          // Create the graph
          if (NewAUGraph(&m_graph) != noErr)
                     return false;

// The DLS Synth
description.componentType = kAudioUnitComponentType;
description.componentSubType = kAudioUnitSubType_MusicDevice;
description.componentManufacturer = kAudioUnitID_DLSSynth;
description.componentFlags = 0;
description.componentFlagsMask = 0;


if (AUGraphNewNode(m_graph, &description, 0, NULL, &m_synthNode) != noErr)
return false;


// The output device
description.componentType = kAudioUnitComponentType;
description.componentSubType = kAudioUnitSubType_Output;
description.componentManufacturer = kAudioUnitID_DefaultOutput;
description.componentFlags = 0;
description.componentFlagsMask = 0;


if (AUGraphNewNode(m_graph, &description, 0, NULL, &m_outputNode) != noErr)
return false;


          // Connect the devices up

// Connect the synth device to the output
if (AUGraphConnectNodeInput(m_graph, m_synthNode, 0, m_outputNode, 0) != noErr)
return false;


          if (AUGraphUpdate(m_graph, NULL) != noErr)
                     return false;

          // Open the audio unit
          if (AUGraphOpen(m_graph) != noErr)
                     return false;

          // Initialize the audio unit
          if (AUGraphInitialize(m_graph) != noErr)
                     return false;

          // Start it
          if (AUGraphStart(m_graph) != noErr)
                     return false;

          m_bIsInited = true;

          return true;

}




Is there a known problem with the DLS music device under Leopard?



Thanks for any help,

Rolf



////////////////////////////////////////////////////////////////////////////////////







Process:         Sweet MIDI X [317]

Path: /Users/rolfnilsson/Desktop/Sweet MIDI X.app/Contents/MacOS/Sweet MIDI X

Identifier:      com.ronimusic.sweetmidix

Version:         2.3.1 (2.3.1)

Code Type:       X86 (Native)

Parent Process:  launchd [107]



Date/Time:       2007-11-14 08:09:39.289 +0100

OS Version:      Mac OS X 10.5 (9A581)

Report Version:  6



Exception Type:  EXC_BAD_ACCESS (SIGBUS)

Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000

Crashed Thread:  3



Thread 0:

0 libgcc_s.1.dylib 0x91b4c459 __register_frame_info_table + 1913

1 libgcc_s.1.dylib 0x91b4cb0b __register_frame + 1323

2 libgcc_s.1.dylib 0x91b4d11d _Unwind_Find_FDE + 589

3 libgcc_s.1.dylib 0x91b4a21e _Unwind_GetIPInfo + 1662

4 libgcc_s.1.dylib 0x91b4b729 _Unwind_RaiseException + 201

5   libstdc++.6.dylib                       0x92aaf254 __cxa_throw + 88

6 ...pple.audio.units.Components 0x700524c2 SystemOutputAUEntry + 82082

7 ...pple.audio.units.Components 0x700b8aa9 AUMultiChannelMixerEntry + 10089

8 ...pple.audio.units.Components 0x7003f759 SystemOutputAUEntry + 4921

9 ...pple.audio.units.Components 0x70027504 DLSMusicDeviceEntry + 48836

10 ...pple.audio.units.Components 0x7001d0e1 DLSMusicDeviceEntry + 6817

11  ...pple.audio.units.Components          0x70007c9e 0x70000000 + 31902

12 ...pple.audio.units.Components 0x7003efc8 SystemOutputAUEntry + 2984

13 ...pple.audio.units.Components 0x7001b66e DLSMusicDeviceEntry + 46

14 ...ple.CoreServices.CarbonCore 0x92da2ef5 CallComponentDispatch + 29

15 ...apple.audio.units.AudioUnit 0x9086a883 AudioUnitSetProperty + 67

16  com.ronimusic.sweetmidix                0x00003977 0x1000 + 10615

17  com.ronimusic.sweetmidix                0x00015c8f 0x1000 + 85135

18  com.ronimusic.sweetmidix                0x00002542 0x1000 + 5442

19  com.ronimusic.sweetmidix                0x00002469 0x1000 + 5225



Thread 1:

0   libSystem.B.dylib                       0x915b08e6 mach_msg_trap + 10

1   libSystem.B.dylib                       0x915b80dc mach_msg + 72

2 com.apple.audio.midi.CoreMIDI 0x00063f0f XServerMachPort::ReceiveMessage(int&, void*, int&) + 101

3 com.apple.audio.midi.CoreMIDI 0x00056477 MIDIInPortThread::Run() + 111

4 com.apple.audio.midi.CoreMIDI 0x0005a07d XThread::RunHelper(void*) + 17

5 com.apple.audio.midi.CoreMIDI 0x000649ee CAPThread::Entry(CAPThread*) + 96

6   libSystem.B.dylib                       0x915e1075 _pthread_start + 321

7   libSystem.B.dylib                       0x915e0f32 thread_start + 34



Thread 2:

0   libSystem.B.dylib                       0x915b08e6 mach_msg_trap + 10

1   libSystem.B.dylib                       0x915b80dc mach_msg + 72

2 com.apple.CoreFoundation 0x930fb0fe CFRunLoopRunSpecific + 1806

3 com.apple.CoreFoundation 0x930fbd38 CFRunLoopRunInMode + 88

4 com.apple.audio.CoreAudio 0x931d9464 HALRunLoop::OwnThread(void*) + 160

5 com.apple.audio.CoreAudio 0x931d9300 CAPThread::Entry(CAPThread*) + 96

6   libSystem.B.dylib                       0x915e1075 _pthread_start + 321

7   libSystem.B.dylib                       0x915e0f32 thread_start + 34



Thread 3 Crashed:

0   libSystem.B.dylib                       0xffff0840 __memcpy + 160

1 ....audio.toolbox.AudioToolbox 0x92b7541f BlockCopyConverter::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 207

2 ....audio.toolbox.AudioToolbox 0x92b1df9c BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 236

3 ....audio.toolbox.AudioToolbox 0x92b1e124 AudioConverterChain::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 100

4 ....audio.toolbox.AudioToolbox 0x92b1df9c BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 236

5 ....audio.toolbox.AudioToolbox 0x92b33943 AudioConverterFillComplexBuffer + 275

6   ...pple.audio.units.Components          0x7000d218 0x70000000 + 53784

7   ...pple.audio.units.Components          0x700068e2 0x70000000 + 26850

8 ...pple.audio.units.Components 0x70012101 AUGenericOutputEntry + 11249

9 com.apple.audio.CoreAudio 0x931eafdf HP_IOProc::Call(AudioTimeStamp const&, AudioTimeStamp const&, AudioBufferList const*, AudioTimeStamp const&, AudioBufferList*) + 319

10 com.apple.audio.CoreAudio 0x931eacd0 IOA_Device::CallIOProcs(AudioTimeStamp const&, AudioTimeStamp const&, AudioTimeStamp const&) + 274

11 com.apple.audio.CoreAudio 0x931eabac HP_IOThread::PerformIO(AudioTimeStamp const&) + 1246

12 com.apple.audio.CoreAudio 0x931e8f87 HP_IOThread::WorkLoop() + 1239

13 com.apple.audio.CoreAudio 0x931e8aab HP_IOThread::ThreadEntry(HP_IOThread*) + 17

14 com.apple.audio.CoreAudio 0x931d9300 CAPThread::Entry(CAPThread*) + 96

15  libSystem.B.dylib                       0x915e1075 _pthread_start + 321

16  libSystem.B.dylib                       0x915e0f32 thread_start + 34



Thread 3 crashed with X86 Thread State (32-bit):

 eax: 0x00001000  ebx: 0x92b33847  ecx: 0x00000000  edx: 0xfffff000

 edi: 0x0abfe010  esi: 0x00001000  ebp: 0xb01ad6b8  esp: 0xb01ad6b0

  ss: 0x0000001f  efl: 0x00010287  eip: 0xffff0840   cs: 0x00000017

  ds: 0x0000001f   es: 0x0000001f   fs: 0x0000001f   gs: 0x00000037

 cr2: 0x00000000

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


  • Prev by Date: Realtion between callback count and audio file duration
  • Next by Date: Audio Unit and MIDI System-Exclusive
  • Previous by thread: Realtion between callback count and audio file duration
  • Next by thread: Audio Unit and MIDI System-Exclusive
  • Index(es):
    • Date
    • Thread