• 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
MIDINetworkConnection BAD_ACCESS on dealloc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MIDINetworkConnection BAD_ACCESS on dealloc


  • Subject: MIDINetworkConnection BAD_ACCESS on dealloc
  • From: Hari Karam Singh <email@hidden>
  • Date: Thu, 01 Oct 2015 20:37:09 +0100

I've got a strange Network MIDI issue that's arisen in iOS 9 which effectively works like the following:

1) I do a NSNetServiceBrowser scan for wifi midi devices.
2) It finds my macbook and I create a MIDINetworkConnection with the host from the NSNetService and store this in an ivar
2) I do another scan some time later which nils the ivar. This causes a BAD_ACCESS in the internal dealloc of MIDINetworkConnection

Stack trace:

#0 0x000000019902dbd0 in objc_msgSend ()
#1 0x0000000184c41698 in _MIDINetworkHostImpl::~_MIDINetworkHostImpl() ()
#2 0x0000000184c40a50 in -[MIDINetworkConnection dealloc] ()
#3 0x0000000199035ae8 in (anonymous namespace)::AutoreleasePoolPage::pop(void*) ()
#4 0x000000018430cb6c in _CFAutoreleasePoolPop ()
#5 0x0000000189c34d48 in _prepareForCAFlush ()
#6 0x0000000189c3a1e8 in _beforeCACommitHandler ()


Any ideas or pointers to dig deeper?


Gratefully,
Hari Karam Singh
~~~~~~~~~~~~~~
Air Craft
http://air-craft.co

 _______________________________________________
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: Manually enable bluetooth MIDI on iOS?
  • Next by Date: Re: About AUValidation
  • Previous by thread: Manually enable bluetooth MIDI on iOS?
  • Next by thread: Re: MusicPlayer in iOS9
  • Index(es):
    • Date
    • Thread