chakrit / gossip

A SIP client library that wraps PJSIP into a nice and clean ObjC-style OO api.
http://chakrit.github.com/gossip
The Unlicense
167 stars 74 forks source link

Crash on configure on iOS9 #26

Open johnryan opened 9 years ago

johnryan commented 9 years ago

Currently getting a bad access when configuring with iOS9

Exception Type:  SIGBUS
Exception Codes: BUS_ADRALN at 0x14720ade4
Crashed Thread:  0

Thread 0 Crashed:
0   libsystem_pthread.dylib              0x0000000198e3a364 0x198e38000 + 9060
1   App                                0x00000001006d6430 pj_mutex_create_recursive + 60
2   App                                0x0000000100724488 pjsip_endpt_create + 316
3   App                                0x00000001006a3d3c pjsua_create + 868
4   App                                0x0000000100671cdc -[GSUserAgent configure:] + 352
5   App                                0x00000001000f1c08 __29-[SIPManager restartSIPAgent]_block_invoke (SIPManager.m:242)
6   libdispatch.dylib                    0x0000000198c29198 0x198c28000 + 4504
7   libdispatch.dylib                    0x0000000198c29158 0x198c28000 + 4440
8   libdispatch.dylib                    0x0000000198c2e1e0 0x198c28000 + 25056
9   CoreFoundation                       0x0000000183a3356c 0x183954000 + 914796
10  CoreFoundation                       0x0000000183a313a8 0x183954000 + 906152
11  CoreFoundation                       0x000000018395d800 0x183954000 + 38912
12  GraphicsServices                     0x000000018e9eb170 0x18e9e0000 + 45424
13  UIKit                                0x00000001890f65e8 0x18907c000 + 501224
14  App                                0x00000001000dfb00 main (main.m:16)
15  libdyld.dylib                        0x0000000198c5a8b8 0x198c58000 + 10424

It can be reproduced using the example app in the repro by selecting one of the sip accounts in the table view

NOTES: -This crash happened on an iPhone 6 Device -ENABLE_BITCODE must be disabled in XCode 7 project (otherwise building Gossip lib will fail)