Kann mir jemand mit den Abstürzen auf dem Phone helfen?

S

silentx

Aktives Mitglied
Thread Starter
Dabei seit
30.08.2011
Beiträge
375
Reaktionspunkte
16
Meldung welche ich im Device Logs steht, doch es passiert nur nach einer gewissen Zeit auf dem Phone im Simulator nie...

Code:
Incident Identifier: 716CFA27-D13C-4ADB-A357-600F294C3B18
CrashReporter Key:   c58893d619d1a5232b799ad012dbf20bd71bc69c
Hardware Model:      iPhone3,1
Process:         urLeka [25226]
Path:            /var/mobile/Applications/253F19DA-13C2-408C-946E-6E9A356F3D88/urLeka.app/urLeka
Identifier:      urLeka
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2012-06-12 14:57:13.828 +0200
OS Version:      iPhone OS 5.1.1 (9B206)
Report Version:  104

Exception Type:  00000020
Exception Codes: 0x8badf00d
Highlighted Thread:  0

Application Specific Information:
ch.wyssinet.urleka failed to resume in time

Elapsed total CPU time (seconds): 10.060 (user 10.060, system 0.000), 100% CPU 
Elapsed application CPU time (seconds): 9.775, 97% CPU

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0:
0   CoreFoundation                	0x3730984e CFStringAppend + 50
1   CoreFoundation                	0x3738499c __CFStringAppendFormatCore + 8044
2   CoreFoundation                	0x372ff1d8 _CFStringCreateWithFormatAndArgumentsAux + 68
3   Foundation                    	0x37b7fc2e +[NSString stringWithFormat:] + 54
4   urLeka                        	0x0004c474 -[WRSqlite getStringFromColumn:Name:] (WRSqlite.m:69)
5   urLeka                        	0x0004c4a8 -[WRSqlite getIntegerFromColumn:Name:] (WRSqlite.m:75)
6   urLeka                        	0x0005f906 -[urLekaTestFlow Z1_B1_3_AB_searchCard] (urLekaTestFlow.m:181)
7   urLeka                        	0x0005eb38 -[urLekaTestFlow open] (urLekaTestFlow.m:44)
8   urLeka                        	0x00060e1c -[urLekaTestFlow Z1_C1_3_AD_falsch] (urLekaTestFlow.m:417)
9   CoreFoundation                	0x372fe3f6 -[NSObject performSelector:withObject:withObject:] + 46
10  UIKit                         	0x31093e00 -[UIApplication sendAction:to:from:forEvent:] + 56
11  UIKit                         	0x31093dbc -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 24
12  UIKit                         	0x31093d9a -[UIControl sendAction:to:forEvent:] + 38
13  UIKit                         	0x31093b0a -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 486
14  UIKit                         	0x31129226 -[UISegmentedControl _setSelectedSegmentIndex:notify:] + 606
15  UIKit                         	0x311c0772 -[UISegmentedControl touchesBegan:withEvent:] + 842
16  UIKit                         	0x31086b80 _UIGestureRecognizerUpdate + 5216
17  CoreFoundation                	0x37378b14 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 12
18  CoreFoundation                	0x37376d50 __CFRunLoopDoObservers + 252
19  CoreFoundation                	0x373770aa __CFRunLoopRun + 754
20  CoreFoundation                	0x372fa49e CFRunLoopRunSpecific + 294
21  CoreFoundation                	0x372fa366 CFRunLoopRunInMode + 98
22  GraphicsServices              	0x33ab9432 GSEventRunModal + 130
23  UIKit                         	0x310a6cce UIApplicationMain + 1074
24  urLeka                        	0x00042720 main (main.m:16)
25  urLeka                        	0x000426b4 start + 32
 
Steht doch da ;)

Deine Applikation hat da wohl in einer SQLite-Query zu lange gebraucht (~10 Sekunden bei 97% CPU-Last), um aus dem Hintergrund wiederhergestellt zu werden. Darum wurde das vom OS abgebrochen.
 
Ja das habe ich angenommen, aber woran siehst du das der SQLite-Query zu lange gebraucht hat?
(das mit der Zeit bzw. CPU-Last ist mir noch logisch, aber dass es am SQL-Lite-Query liegt?)
 
Nur ne Vermutung. Jedenfalls stirbt der Prozess beim Zugriff auf eine Datenbank (-[WRSqlite getStringFromColumn:Name:] (WRSqlite.m:69))
 
Danke für die Information... habe jetzt mal etwas am Code angepasst und werde mal schauen ob das Problem im Live-Betrieb immer noch auftritt...
 
Zurück
Oben Unten