twilio / voice-quickstart-objc

Twilio Voice Quickstart for iOS with Objective-C
MIT License
39 stars 24 forks source link

Crash on EXC_BAD_ACCESS KERN_INVALID_ADDRESS #171

Closed colinyip closed 5 years ago

colinyip commented 5 years ago

Description

EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000d742d6deb13c

Steps to Reproduce

I am not able to reproduce it locally, but it happened in our production app.

Logs

Please see the following example crash logs from firebase:

Crashed: Thread
Crashed: MediaFactoryImpl::signaling
0  TwilioVoice                    0x101315c78 _hidden#14368_ + 2758444
1  TwilioVoice                    0x1012ef3e0 _hidden#14368_ + 2600596
2  TwilioVoice                    0x100f4e7e4 twilio::media::FineAudioBuffer::deliverRecordedData(signed char const*, unsigned long, int, int) + 357028
3  TwilioVoice                    0x100f58494 twilio::media::FineAudioBuffer::deliverRecordedData(signed char const*, unsigned long, int, int) + 397140
4  TwilioVoice                    0x100f6eee0 twilio::media::FineAudioBuffer::deliverRecordedData(signed char const*, unsigned long, int, int) + 489888
5  TwilioVoice                    0x100f6ee5c twilio::media::FineAudioBuffer::deliverRecordedData(signed char const*, unsigned long, int, int) + 489756
6  libsystem_pthread.dylib        0x18cdb42c0 _pthread_body + 128
7  libsystem_pthread.dylib        0x18cdb4220 _pthread_start + 44
8  libsystem_pthread.dylib        0x18cdb7cdc thread_start + 4

Voice iOS SDK

3.0.0

iOS Version

iOS 12.2.0

iOS Device

iPhone 6

colinyip commented 5 years ago

any update for this issue? @bchen-twilio

Thanks! 😄

bobiechen-twilio commented 5 years ago

Hi @colinyip

Sorry for not responding back to you sooner. Thanks for providing the crash and it seems like there is some custom audio device implementation in your application.

Thanks, -bobie

perlasivakrishna commented 5 years ago

Same here happening in production Build.

bobiechen-twilio commented 5 years ago

Hi @perlasivakrishna

Can you provide the SDK version and more details such as steps to reproduce, SDK log and the crash stacktrace?

Thanks, -bobie

perlasivakrishna commented 5 years ago

@bchen-twilio I'm using TwilioVideo 2.10.2, Crash is happened in production Build. After pod update no crashes happened. here is the crash logs. crashlog copy.txt

bobiechen-twilio commented 5 years ago

Hi @perlasivakrishna

Thanks for getting back and providing the log. Please file a new issue in the Video iOS SDK repository so that the Video SDK team can take a look: https://github.com/twilio/twilio-video-ios/issues

Cheers, -bobie

perlasivakrishna commented 5 years ago

@bchen-twilio 👍