Assertion failed: (a->addr.sa_family == PJ_AF_INET || a->addr.sa_family == PJ_AF_INET6)

VN
Vincent Narbot
Wed, Mar 15, 2017 5:42 PM

Hello guys,

I'm experiencing a strange pjsip Assertion that has been happening for the past few weeks since I moved to DNS / Crashlytics and released the app. Currently using a DNS with only IPv4 and PJSIP v2.5.5 (planning to upgrade to 2.6 next week). How can I solve this issue?

Here is the Assertion and crash report:

Assertion failed: (a->addr.sa_family == PJ_AF_INET || a->addr.sa_family == PJ_AF_INET6), function pj_sockaddr_get_addr, file ../src/pj/sock_common.c, line 309.

Crashed: Thread
0  libsystem_kernel.dylib        0x18fe93014 __pthread_kill + 8
1  libsystem_pthread.dylib        0x18ff5b450 pthread_kill + 112
2  libsystem_c.dylib              0x18fe07400 abort + 140
3  libsystem_c.dylib              0x18fddb418 basename_r + 314
4  app                            0x1001ec54c pj_sockaddr_print + 4296279372
5  app                            0x1001da454 on_read_complete + 4296205396
6  app                            0x1001e0974 ioqueue_dispatch_read_event + 4296231284
7  app                            0x1001e2288 pj_ioqueue_poll + 4296237704
8  app                            0x1003081fc pjsip_endpt_handle_events2 + 258896
9  app                            0x1001c443c worker_thread + 4296115260
10 app                            0x1001e3714 thread_main + 4296242964
11 libsystem_pthread.dylib        0x18ff59850 <redacted> + 240
12 libsystem_pthread.dylib        0x18ff59760 _pthread_start + 282
13 libsystem_pthread.dylib        0x18ff56d94 thread_start + 4

Thank you,
Vincent

Hello guys, I'm experiencing a strange pjsip Assertion that has been happening for the past few weeks since I moved to DNS / Crashlytics and released the app. Currently using a DNS with only IPv4 and PJSIP v2.5.5 (planning to upgrade to 2.6 next week). How can I solve this issue? Here is the Assertion and crash report: Assertion failed: (a->addr.sa_family == PJ_AF_INET || a->addr.sa_family == PJ_AF_INET6), function pj_sockaddr_get_addr, file ../src/pj/sock_common.c, line 309. Crashed: Thread 0 libsystem_kernel.dylib 0x18fe93014 __pthread_kill + 8 1 libsystem_pthread.dylib 0x18ff5b450 pthread_kill + 112 2 libsystem_c.dylib 0x18fe07400 abort + 140 3 libsystem_c.dylib 0x18fddb418 basename_r + 314 4 app 0x1001ec54c pj_sockaddr_print + 4296279372 5 app 0x1001da454 on_read_complete + 4296205396 6 app 0x1001e0974 ioqueue_dispatch_read_event + 4296231284 7 app 0x1001e2288 pj_ioqueue_poll + 4296237704 8 app 0x1003081fc pjsip_endpt_handle_events2 + 258896 9 app 0x1001c443c worker_thread + 4296115260 10 app 0x1001e3714 thread_main + 4296242964 11 libsystem_pthread.dylib 0x18ff59850 <redacted> + 240 12 libsystem_pthread.dylib 0x18ff59760 _pthread_start + 282 13 libsystem_pthread.dylib 0x18ff56d94 thread_start + 4 Thank you, Vincent