Menu

#339 Application crash on adding card to drill from card list

iphone_1.7
closed
nobody
7
2011-11-01
2011-10-11
No

The following crash was seen on my iPod Touch (2nd generation)
Scenario (svn 2901 / version 1.7.5 beta):
- start the test procedure and test a few cards
- press the Finish button and see the database list as expected.
- open the database, then a category, and see the alphabetically card list
(alternatively: enter a search string and see the list of matches)
- tap the 'add-to-drill' icon.
Expected behavior: the icon highlights in blue for a short while. the card is added to the drill list.
Observed behavior: application crash.
After restarting the application, and listing the cards directly (before preceeding test procedure), the icon highlights as expected.
I could repeat this scenario, every time it crashed. Then I rebooted the device - now it works as expected (no crash).
Maybe an out-of-memory condition?

Crash log:

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

Thread 0 Crashed:
0 libobjc.A.dylib 0x000034f4 objc_msgSend + 20
1 libobjc.A.dylib 0x000051f8 objc_setProperty + 104
2 UIKit 0x00058e8c -[UIButtonContent setBackground:] + 32
3 UIKit 0x00058d84 -[UIButton setBackgroundImage:forState:] + 132
4 karatasi 0x0003dd2e 0x1000 + 249134
5 CoreFoundation 0x00027348 -[NSObject(NSObject) performSelector:withObject:withObject:] + 20
6 UIKit 0x0008408c -[UIApplication sendAction:to:from:forEvent:] + 128
7 UIKit 0x00083ff4 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 32
8 UIKit 0x00083fbc -[UIControl sendAction:to:forEvent:] + 44
9 UIKit 0x00083c0c -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 528
10 UIKit 0x0008374c -[UIControl touchesBegan:withEvent:] + 260
11 UIKit 0x000797b4 _UIGestureRecognizerUpdateObserver + 3060
12 CoreFoundation 0x00074244 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 12
13 CoreFoundation 0x00075d9e __CFRunLoopDoObservers + 494
14 CoreFoundation 0x000772f6 __CFRunLoopRun + 934
15 CoreFoundation 0x0001e0bc CFRunLoopRunSpecific + 220
16 CoreFoundation 0x0001dfca CFRunLoopRunInMode + 54
17 GraphicsServices 0x00003f88 GSEventRunModal + 188
18 UIKit 0x00007b40 -[UIApplication _run] + 564
19 UIKit 0x00005fb8 UIApplicationMain + 964
20 karatasi 0x00035f18 0x1000 + 216856
21 karatasi 0x000022bc 0x1000 + 4796

Thread 1:
0 libSystem.B.dylib 0x00034e84 kevent + 24
1 libSystem.B.dylib 0x00102a48 _dispatch_mgr_invoke + 88
2 libSystem.B.dylib 0x00102494 _dispatch_queue_invoke + 96
3 libSystem.B.dylib 0x00102634 _dispatch_worker_thread2 + 120
4 libSystem.B.dylib 0x0008b53c _pthread_wqthread + 392
5 libSystem.B.dylib 0x00082b6c start_wqthread + 0

Thread 2:
0 libSystem.B.dylib 0x00000ab0 mach_msg_trap + 20
1 libSystem.B.dylib 0x00002f94 mach_msg + 60
2 CoreFoundation 0x00074b18 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x000770e0 __CFRunLoopRun + 400
4 CoreFoundation 0x0001e0bc CFRunLoopRunSpecific + 220
5 CoreFoundation 0x0001dfca CFRunLoopRunInMode + 54
6 WebCore 0x0000370c RunWebThread(void*) + 552
7 libSystem.B.dylib 0x0008af80 _pthread_start + 364
8 libSystem.B.dylib 0x0007d014 thread_start + 0

Discussion

  • Christa Runge

    Christa Runge - 2011-11-01

    Resolved in r3016: added a missing retain statement.

     
  • Christa Runge

    Christa Runge - 2011-11-01
    • status: open --> closed
     

Log in to post a comment.