Hello all,
I`m getting a strange crash on the app load and it creates a .crash file with a lot of data there.
Anyone has any idea how to debug that ?
what i get is
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000004200000
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x9b9878d3 __CFStringDecodeByteStream3 + 3027
1 com.apple.CoreFoundation 0x9b93b789 __CFStringCreateImmutableFunnel3 + 1097
2 com.apple.CoreFoundation 0x9b94e460 CFStringCreateWithBytes + 96
3 com.xojo.XojoFramework 0x01a8bad1 0x1a15000 + 486097
4 com.xojo.XojoFramework 0x01a454b0 0x1a15000 + 197808
5 com.apple.AppKit 0x99e3f463 -[NSComboBox(NSComboBoxCellDataSource) comboBoxCell:objectValueForItemAtIndex:] + 48
6 com.apple.AppKit 0x99e45a3d -[NSComboBoxCell(NSTableDataSource) tableView:objectValueForTableColumn:row:] + 48
7 com.apple.AppKit 0x99b96305 -[NSTableView _dataSourceValueForColumn:row:] + 69
8 com.apple.AppKit 0x99c9a127 -[NSTableView preparedCellAtColumn:row:] + 385
9 com.apple.AppKit 0x99c99e25 -[NSTableView _drawContentsAtRow:column:withCellFrame:] + 50
10 com.apple.AppKit 0x99c99bf2 -[NSTableView drawRow:clipRect:] + 1502
11 com.apple.AppKit 0x99c994bf -[NSTableView drawRowIndexes:clipRect:] + 801
12 com.apple.AppKit 0x99b6cc94 -[NSTableView drawRect:] + 1254
13 com.apple.AppKit 0x99b52194 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1174
14 com.apple.AppKit 0x99b51bec __46-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke + 220
15 com.apple.AppKit 0x99b51971 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 2237
16 com.apple.AppKit 0x99b510a8 -[NSView(NSLayerKitGlue) drawLayer:inContext:] + 116
17 com.apple.AppKit 0x99b51029 -[NSViewBackingLayer drawInContext:] + 65
18 com.apple.QuartzCore 0x9b42763c backing_callback(CGContext*, void*) + 96
19 com.apple.QuartzCore 0x9b2c9613 CABackingStoreUpdate + 3887
20 com.apple.QuartzCore 0x9b2c86dc __ZN2CA5Layer8display_Ev_block_invoke + 93
21 com.apple.QuartzCore 0x9b2c8672 x_blame_allocations + 88
22 com.apple.QuartzCore 0x9b2c813d CA::Layer::display() + 1641
23 com.apple.QuartzCore 0x9b2c7acd -[CALayer _display] + 20
24 com.apple.QuartzCore 0x9b2c7ab0 CA::Layer::display() + 184
25 com.apple.QuartzCore 0x9b2c79f0 -[CALayer display] + 20
26 com.apple.AppKit 0x99b50f5a _NSBackingLayerDisplay + 670
27 com.apple.AppKit 0x99b50cb7 -[_NSBackingLayer display] + 26
28 com.apple.AppKit 0x99b25b8a -[_NSViewBackingLayer display] + 552
29 com.apple.QuartzCore 0x9b2c77ad CA::Layer::display_if_needed(CA::Transaction*) + 667
30 com.apple.QuartzCore 0x9b2c6f30 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 38
31 com.apple.QuartzCore 0x9b2c64f2 CA::Context::commit_transaction(CA::Transaction*) + 284
32 com.apple.QuartzCore 0x9b2c612e CA::Transaction::commit() + 392
33 com.apple.QuartzCore 0x9b2d7807 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 75
34 com.apple.CoreFoundation 0x9b9bc43e CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 30
35 com.apple.CoreFoundation 0x9b9bc380 __CFRunLoopDoObservers + 400
36 com.apple.CoreFoundation 0x9b9ad6e1 CFRunLoopRunSpecific + 417
37 com.apple.CoreFoundation 0x9b9ad52b CFRunLoopRunInMode + 123
38 com.apple.HIToolbox 0x95a6e2d8 RunCurrentEventLoopInMode + 262
39 com.apple.HIToolbox 0x95a6dee3 ReceiveNextEventCommon + 192
40 com.apple.HIToolbox 0x95a6de0c _BlockUntilNextEventMatchingListInModeWithFilter + 99
41 com.apple.AppKit 0x99a13229 _DPSNextEvent + 734
42 com.apple.AppKit 0x99a12a71 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 186
43 com.xojo.XojoFramework 0x01a4692a 0x1a15000 + 203050
44 com.xojo.XojoFramework 0x01a46990 0x1a15000 + 203152
45 com.test.test 0x0003c9ba Delegate.Invoke%% + 34
46 com.test.test 0x000a48bc Application._CallFunctionWithExceptionHandling%%op + 248
47 com.xojo.XojoFramework 0x01b69cfa 0x1a15000 + 1395962
48 com.xojo.XojoFramework 0x01a468b9 0x1a15000 + 202937
49 com.apple.AppKit 0x99a0502c -[NSApplication run] + 907
50 com.xojo.XojoFramework 0x01b69d77 0x1a15000 + 1396087
51 com.xojo.XojoFramework 0x01b6832f RuntimeRun + 49
52 com.test.test 0x001c0197 REALbasic._RuntimeRun + 34
53 com.test.test 0x0003c8a6 _Main + 257
54 com.test.test 0x000027a4 main + 36
55 com.test.test 0x017668de start + 53
so the app loads ok and then just disappears and crash and i get that file.
Anybody having similar issues ?
Same code works perfect on RealBasic, and works also ok with same code on XOJO with different DB. Here i`m using a SQLite db , but i need to know from where is crashing.
Thanks.