• 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: MIDIPortDisconnectSource() hangs on 10.7
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIDIPortDisconnectSource() hangs on 10.7


  • Subject: Re: MIDIPortDisconnectSource() hangs on 10.7
  • From: Jan <email@hidden>
  • Date: Wed, 30 Nov 2011 20:09:08 +0100

Thanks Doug, that was a nudge in the right direction. :)

Turned out we had a deadlock with the main thread that occurred under certain conditions.


Am 29.11.2011 um 00:21 schrieb Doug Wyatt:

> What's going on in the other threads?
>
> On Nov 23, 2011, at 11:29 , Jan wrote:
>
>> Hi,
>>
>> We are running into an issue where MIDIPortDisconnectSource() sometimes hangs indefinitely when called. Following is a sample from our app:
>>
>>> 2230 MIDIPortDisconnectSource  (in CoreMIDI) + 161  [0x7ca653]
>>> 2230 LocalMIDIReceiverList::ReceiverConnectEndpoint(void*, OpaqueMIDIEndpoint*, bool)  (in CoreMIDI) + 58  [0x7ce488]
>>>   2230 CAAtomicSignaler::Acquire()  (in CoreMIDI) + 40  [0x7cdcd0]
>>>     2230 usleep$UNIX2003  (in libsystem_c.dylib) + 60  [0x9050a558]
>>>       2229 nanosleep$UNIX2003  (in libsystem_c.dylib) + 187  [0x9050a7b9]
>>>       ! 2229 __semwait_signal  (in libsystem_kernel.dylib) + 10  [0x94ef7bb2]
>>>       1 cerror  (in libsystem_kernel.dylib) + 43  [0x94ef948b]
>>>         1 cthread_set_errno_self  (in libsystem_c.dylib) + 94  [0x9050bce8]
>>
>> For some MIDI controllers we are seeing this every time, while with others this only happens occasionally. We are using the PYMIDI framework, and the same code has been running fine for the past couple of years. So far we have only seen this issue on 10.7 Lion.
>>
>> Does anyone have an idea what could be causing this? Any help would be greatly appreciated.
>>
>> Thanks!

 _______________________________________________
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

References: 
 >MIDIPortDisconnectSource() hangs on 10.7 (From: Jan <email@hidden>)
 >Re: MIDIPortDisconnectSource() hangs on 10.7 (From: Doug Wyatt <email@hidden>)

  • Prev by Date: 3D Mixer Unit in iOS 4
  • Previous by thread: Re: MIDIPortDisconnectSource() hangs on 10.7
  • Next by thread: Handling MIDI setup notification
  • Index(es):
    • Date
    • Thread