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 iOS 16 for 100% users – signal SIGABRT #169

Open
snowtema opened this issue Sep 15, 2022 · 22 comments · May be fixed by #175
Open

‼️ Crash on iOS 16 for 100% users – signal SIGABRT #169

snowtema opened this issue Sep 15, 2022 · 22 comments · May be fixed by #175

Comments

@snowtema
Copy link

#11	0x000000010066a680 in AudioParser.determineIfMoreDataNeedsToBeParsed(index:) at AudioParser.swift:218


stella(637,0x1701eb000) malloc: Heap corruption detected, free list is damaged at 0x281eb6080
*** Incorrect guard value: 0
stella(637,0x1701eb000) malloc: *** set a breakpoint in malloc_error_break to debug
stella(637,0x1701eb000) malloc: Heap corruption detected, free list is damaged at 0x281eb6080
*** Incorrect guard value: 0
(lldb) 
@jserrafindster
Copy link

+1

@Sethi1998
Copy link

How we will solve this I am getting the same error?

@snowtema snowtema changed the title Crash on iOS 16 for 100% users – signal SIGABRT ‼️ Crash on iOS 16 for 100% users – signal SIGABRT Sep 16, 2022
@papfonseca
Copy link

+1

@snowtema
Copy link
Author

@Sethi1998 I decided to switch to another library

@kuamanet
Copy link

@snowtema when is this happening? I'm using this library too, on iOS 16 iPhone 13 Pro, and it's working fine for me

@bevanchristian

This comment was marked as off-topic.

@bevanchristian
Copy link

Crash in here
SwiftAudioPlayer
DirectorThreadSafeClosures.swift - Line 49
didUpdate + 49

@jiangdi0924
Copy link
Contributor

same issue + 1

@snowtema
Copy link
Author

A lot of crashes only on iOS 16 in this library. Looks like Apple broke something in iOS16.

Screenshot 2022-09-19 at 11 55 57

@jiangdi0924
Copy link
Contributor

@snowtema Have you solved it? 😂

@Sethi1998
Copy link

@Sethi1998 I decided to switch to another library

Which Library ?

@Sethi1998
Copy link

@snowtema when is this happening? I'm using this library too, on iOS 16 iPhone 13 Pro, and it's working fine for me

It is crashing in iPhone 11 and 12 pro I tested in both the devices in iOS 16 version

@jiangdi0924
Copy link
Contributor

both

I found that it works fine in the simulator,crashes in real devices(IOS16)

@Sethi1998
Copy link

both

I found that it works fine in the simulator,crashes in real devices(IOS16)

yes its working in simulator have anyone solved it I got the error that the buffer Is nil when we are calling it in method

@snowtema
Copy link
Author

@snowtema Have you solved it? 😂

Yes @jiangdi0924, I switched to ModernAVPlayer, which works fine 😂

@snowtema
Copy link
Author

snowtema commented Sep 19, 2022

FYI, @jiangdi0924 @Sethi1998, ModernAVPlayer doesn't have a queue functionality from the box.

UPD: also it's unable to set custom HTTP headers for remote audio

@kuamanet
Copy link

@snowtema if you want to give this a try
#175

@bevanchristian
Copy link

pod 'SwiftAudioPlayer' , :git => 'https://github.com/Kuama-IT/SwiftAudioPlayer.git', :branch => 'fix-ios-16-crash'

solve the problem

@Sethi1998
Copy link

pod 'SwiftAudioPlayer' , :git => 'https://github.com/Kuama-IT/SwiftAudioPlayer.git', :branch => 'fix-ios-16-crash'

solve the problem

Thanks working now

@jiangdi0924
Copy link
Contributor

jiangdi0924 commented Sep 26, 2022

@snowtema if you want to give this a try #175
after a few days of testing, I found sometime audio duration not correctly

@drainmond
Copy link

Will this ever be fixed? 🙏🏼

@patrickjquinn
Copy link

This is still borked I take 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

Successfully merging a pull request may close this issue.

9 participants