Symptom
A native iOS application is developed using Sybase Unwired Platform 2.1.3. When running the application on iPad Mini and iOS 6.1.3, application crashes when going into background. Crash log thread shows:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x72329e0e
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 0x004c2566 +[SUPOCHandler initialize] (SupHandler.mm:408)
1 0x002d9f68 -[SUPApplication startConnectionCall:timeout:] (SUPApplication.m:1718)
2 0x002d9b26 -[SUPApplication startConnection:] (SUPApplication.m:1664)
3 0x00029e24 -[MBOManager startSupConnection] (MBOManager.m:360)
4 0x32fc00f0 __NSThreadPerformPerform + 456
5 0x3267e680 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
6 0x3267dee4 __CFRunLoopDoSources0 + 208
7 0x3267ccb2 __CFRunLoopRun + 642
8 0x325efeb8 CFRunLoopRunSpecific + 352
9 0x325efd44 CFRunLoopRunInMode + 100
10 0x361a42e6 GSEventRunModal + 70
11 0x345052fc UIApplicationMain + 1116
12 0x00023fd2 main (main.m:16)
13 0x00023274 start + 36
...
Thread 14 name: Dispatch queue: com.sap.mdc.sysco.MBOQueue.ConnectionWait
Thread 14:
0 0x3aa2e5bc access + 8
1 0x003c9b8a unixAccess (see-sqlite3.c:25599)
2 0x003c0484 sqlite3OsAccess (see-sqlite3.c:12158)
3 0x003d14b2 hasHotJournal (see-sqlite3.c:34625)
4 0x003d18ca sqlite3PagerSharedLock (see-sqlite3.c:34814)
5 0x003d5d3c lockBtree (see-sqlite3.c:39801)
6 0x003d6256 sqlite3BtreeBeginTrans (see-sqlite3.c:40053)
7 0x003e933e sqlite3VdbeExec (see-sqlite3.c:54921)
8 0x003e41fc sqlite3Step (see-sqlite3.c:50614)
9 0x003e4390 sqlite3_step (see-sqlite3.c:50673)
10 0x00464d2e ReadSettingValue (pimdbSetting.c:138)
11 0x00384d4e CClientConfig::ReadPropertyValueAsString(int, mo::CmoString&, char const*) (ClientConfig.cpp:357)
12 0x00386542 CClientConfig::GetPropString(int, char const*) (ClientConfig.cpp:431)
13 0x0048fb7c -[MessagingClientLib getConfigProperty:] (MessagingClientLib.mm:324)
14 0x00493f0a GetConnectionFromMCL(mo::CmoConnection**) (MessagingClientLibHelper.mm:294)
15 0x004c25c2 +[SUPOCHandler initialize] (SupHandler.mm:413)
16 0x002d9f68 -[SUPApplication startConnectionCall:timeout:] (SUPApplication.m:1718)
17 0x002d9b26 -[SUPApplication startConnection:] (SUPApplication.m:1664)
18 0x0021d4da __47-[SynchronizationManager handleConnectionBack:]_block_invoke (SynchronizationManager.m:137)
19 0x3a95711c _dispatch_call_block_and_release + 8
20 0x3a95aeca _dispatch_queue_drain$VARIANT$mp + 138
21 0x3a95adbc _dispatch_queue_invoke$VARIANT$mp + 36
22 0x3a95b91a _dispatch_root_queue_drain + 182
23 0x3a95babc _dispatch_worker_thread2 + 80
24 0x3a98ba0e _pthread_wqthread + 358
25 0x3a98b8a0 start_wqthread + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0xffffffff r1: 0x2331edb0 r2: 0x72329e0a r3: 0x2fde6aa4
r4: 0x00000000 r5: 0x004c2697 r6: 0x00000003 r7: 0x2fde6b28
r8: 0x00003d0f r9: 0x2fde6aa8 r10: 0x00000000 r11: 0x1f03c410
ip: 0x00619ffc sp: 0x2fde6a30 lr: 0x004c253d pc: 0x004c2566
cpsr: 0x20080030
Read more...
Environment
- Sybase Unwired Platform (SUP/SMP) 2.1.3.2
- Sybase Unwired Platform (SUP/SMP) SDK 2.1.3.2, build 358
- iPad Mini
- iOS 6.1.3 Native Client
Product
Keywords
- iOS
- crash
- EXC_BAD_ACCESS
- thread
- multi thread
- sigsegv
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.