Application crash in iOS when making multiple back to back calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 

I am using PJSIP 1.14.2 and iOS version 6.1.2. When i am making multiple back to back calls frequently then iOS application get crashed. Crash logs are indicating that crash is occurred in "timer.c". I am attaching snapshot of some crash logs. It will be great if anyone able to point out why this crashes occurring.


Log 1

---

Incident Identifier: 63496C35-D4C5-4A88-8071-FDB4FD0D4857
CrashReporter Key:   ee02f669a524f3719fa76f5bf94ad83a2cf89a34
Hardware Model:      iPhone5,1
Process:         MCFramework [96]
Path:            /var/mobile/Applications/B2990F8E-6638-4315-8FFD-5B34706831B6/MCFramework.app/MCFramework
Identifier:      MCFramework
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2013-07-25 12:23:47.690 +0530
OS Version:      iOS 6.1.4 (10B350)
Report Version:  104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xecc8c320
Crashed Thread:  8


Thread 8 Crashed:
0   MCFramework                   	0x0021bae8 pj_timer_heap_schedule (timer.c:136)
1   MCFramework                   	0x00251258 pjsip_endpt_schedule_timer (sip_endpoint.c:777)
2   MCFramework                   	0x00269b42 schedule_registration (sip_reg.c:804)
3   MCFramework                   	0x0026ac5e regc_tsx_callback (sip_reg.c:1179)
4   MCFramework                   	0x0025c462 mod_util_on_tsx_state (sip_util_statefull.c:78)
5   MCFramework                   	0x00259dd2 tsx_set_state (sip_transaction.c:1160)
6   MCFramework                   	0x0025a27e tsx_on_state_proceeding_uac (sip_transaction.c:2817)
7   MCFramework                   	0x0025a148 tsx_on_state_calling (sip_transaction.c:2408)
8   MCFramework                   	0x0025b708 pjsip_tsx_recv_msg (sip_transaction.c:1702)
9   MCFramework                   	0x00259818 mod_tsx_layer_on_rx_response (sip_transaction.c:864)
10  MCFramework                   	0x00251a10 endpt_on_rx_msg (sip_endpoint.c:945)
11  MCFramework                   	0x00254308 pjsip_tpmgr_receive_packet (sip_transport.c:1520)
12  MCFramework                   	0x00256774 on_data_read (sip_transport_tcp.c:1233)
13  MCFramework                   	0x0021716e ioqueue_on_read_complete (activesock.c:482)
14  MCFramework                   	0x00214390 ioqueue_dispatch_read_event (ioqueue_common_abs.c:577)
15  MCFramework                   	0x002145bc pj_ioqueue_poll (ioqueue_select.c:905)
16  MCFramework                   	0x002512de pjsip_endpt_handle_events2 (sip_endpoint.c:737)
17  MCFramework                   	0x0027553e worker_thread (pjsua_core.c:1550)
18  MCFramework                   	0x002152d6 thread_main (os_core_unix.c:512)
19  libsystem_c.dylib             	0x3c6a20de _pthread_start + 306
20  libsystem_c.dylib             	0x3c6a1fa4 thread_start + 4

Log 2 ::


Incident Identifier: 40CC6122-D3A1-43EC-9BC1-87F15A610CC4
CrashReporter Key:   5ba709f18289ae24f24cb1f8cb9d6de9d1dd264b
Hardware Model:      iPhone4,1
Process:         MCFramework [121]
Path:            /var/mobile/Applications/70C845EF-DA9A-4C08-A9D1-7EF0310C6BCA/MCFramework.app/MCFramework
Identifier:      MCFramework
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2013-07-24 10:51:59.427 +0530
OS Version:      iOS 6.0.1 (10A523)
Report Version:  104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib        	0x30d84350 __pthread_kill + 8
1   libsystem_c.dylib             	0x3411311e pthread_kill + 54
2   libsystem_c.dylib             	0x3414f96e abort + 90
3   libsystem_c.dylib             	0x341304cc __assert_rtn + 176
4   MCFramework                   	0x0020e896 pj_timer_heap_cancel (timer.c:329)
5   MCFramework                   	0x0024423c pjsip_endpt_cancel_timer (sip_endpoint.c:787)
6   MCFramework                   	0x00267d8a pjsua_cancel_timer (pjsua_core.c:2525)
7   MCFramework                   	0x002625a8 pjsua_acc_set_registration (pjsua_acc.c:2053)
8   MCFramework                   	0x001e14ac keepAliveFunction (pjsua_app.c:278)
9   MCFramework                   	0x000de760 __41-[NetworkAdapter handleResponse:forType:]_block_invoke (NetworkAdapter.m:1135)
10  libdispatch.dylib             	0x3738111c _dispatch_call_block_and_release + 8
11  libdispatch.dylib             	0x373804b4 _dispatch_client_callout + 20
12  libdispatch.dylib             	0x373851b8 _dispatch_main_queue_callback_4CF$VARIANT$mp + 220
13  CoreFoundation                	0x39061f36 __CFRunLoopRun + 1286
14  CoreFoundation                	0x38fd4eb8 CFRunLoopRunSpecific + 352
15  CoreFoundation                	0x38fd4d44 CFRunLoopRunInMode + 100
16  GraphicsServices              	0x373a22e6 GSEventRunModal + 70
17  UIKit                         	0x322142f4 UIApplicationMain + 1116
18  MCFramework                   	0x00095ba2 main (main.m:16)
19  MCFramework                   	0x0009249c 0x91000 + 5276


Log 3 ::

Incident Identifier: 8FEFCDF2-05E3-4A45-A0FB-3298B86A79C9
CrashReporter Key:   ee02f669a524f3719fa76f5bf94ad83a2cf89a34
Hardware Model:      iPhone5,1
Process:         MCFramework [130]
Path:            /var/mobile/Applications/B2990F8E-6638-4315-8FFD-5B34706831B6/MCFramework.app/MCFramework
Identifier:      MCFramework
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2013-07-24 10:51:04.767 +0530
OS Version:      iOS 6.1.4 (10B350)
Report Version:  104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x2faa5eb4
Crashed Thread:  9



Thread 9 Crashed:
0   MCFramework                   	0x0022572a remove_node (timer.c:124)
1   MCFramework                   	0x002258d8 pj_timer_heap_poll (timer.c:513)
2   MCFramework                   	0x0025b294 pjsip_endpt_handle_events2 (sip_endpoint.c:708)
3   MCFramework                   	0x0027f53e worker_thread (pjsua_core.c:1550)
4   MCFramework                   	0x0021f2d6 thread_main (os_core_unix.c:512)
5   libsystem_c.dylib             	0x3a0090de _pthread_start + 306
6   libsystem_c.dylib             	0x3a008fa4 thread_start + 4


Regards,
Anuj




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130725/f3405bb6/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux