Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on PlaybackEngine deinit #6

Open
alexiscreuzot opened this issue Aug 11, 2022 · 0 comments
Open

Crash on PlaybackEngine deinit #6

alexiscreuzot opened this issue Aug 11, 2022 · 0 comments

Comments

@alexiscreuzot
Copy link

Had lots of the following crash

#0	(null) in __exceptionPreprocess ()
#1	(null) in objc_exception_throw ()
#2	(null) in +[NSException raise:format:arguments:] ()
#3	(null) in AVAE_RaiseException(NSString*, ...) ()
#4	(null) in _AVAE_CheckAndReturnErr(char const*, int, char const*, char const*, bool, int, NSError**) ()
#5	(null) in AVAudioEngineGraph::RemoveNode(AVAudioNode*, NSError**) ()
#6	(null) in -[AVAudioNode didDetachFromEngine:error:] ()
#7	(null) in AVAudioEngineImpl::DetachNode(AVAudioNode*, bool, NSError**) ()
#8	(null) in -[AVAudioEngine detachNode:] ()
#9	0x10352fc34 in PlaybackEngine.deinit at /Users/alex/Developer/iOS/_frameworks/player-sdk-swift/player-sdk-swift/playing/PlaybackEngine.swift:84
#10	(null) in PlaybackEngine.__deallocating_deinit ()
#11	(null) in _swift_release_dealloc ()
#12	(null) in bool swift::HeapObjectSideTableEntry::decrementStrong<(swift::PerformDeinit)1>(unsigned int) ()
#13	(null) in AudioPipeline.onFormatChanged(_:) ()
#14	0x103500cac in 0x1034f4000 at /Users/alex/Developer/iOS/_frameworks/player-sdk-swift/player-sdk-swift/decoding/AudioDecoder.swift:55
#15	0x1035258dc in $s14YbridPlayerSDK9AudioDataC6formatSo13AVAudioFormatCSgvW at /Users/alex/Developer/iOS/_frameworks/player-sdk-swift/player-sdk-swift/decoding/AudioData.swift:39
#16	(null) in $s14YbridPlayerSDK9AudioDataC6formatSo13AVAudioFormatCSgvs ()
#17	0x1035258dc in OpusData.onOpusHead(package:packetno:) at /Users/alex/Developer/iOS/_frameworks/player-sdk-swift/player-sdk-swift/decoding/opus/OpusData.swift:228
#18	0x10352426c in 0x1034f4000 at /Users/alex/Developer/iOS/_frameworks/player-sdk-swift/player-sdk-swift/decoding/opus/OpusData.swift:122
#19	0x1035237c0 in 0x1034f4000 at /Users/alex/Developer/iOS/_frameworks/player-sdk-swift/player-sdk-swift/decoding/opus/OpusData.swift:109
#20	0x103520f80 in 0x1034f4000 at /Users/alex/Developer/iOS/_frameworks/player-sdk-swift/player-sdk-swift/decoding/opus/OggContainer.swift:97
#21	0x103527830 in 0x1034f4000 at /Users/alex/Developer/iOS/_frameworks/player-sdk-swift/player-sdk-swift/decoding/opus/OpusDecoder.swift:109
#22	0x103504490 in closure #1 in AudioPipeline.decode(data:) at /Users/alex/Developer/iOS/_frameworks/player-sdk-swift/player-sdk-swift/AudioPipeline.swift:285

This line was the issue, crashes disappeared after removing it :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant