Crash in app built for Mac App Store

jda jda at his.com
Sat Aug 31 08:17:40 CDT 2013


Hi Ruslan,

My users are reporting a crash (which I can reproduce) when searching a Valentina database (indexed search). The odd thing is that this only happens with the version on the MAS, not one that’s distributed normally. The crash log is below.


Jon




Crashed Thread:  0  Dispatch queue: com.apple.main-thread

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

Application Specific Information:
abort() called
*** error for object 0xdc9f884: incorrect checksum for freed object - object was probably modified after being freed.
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x90051952 __pthread_kill + 10
1   libsystem_pthread.dylib       	0x9bad9167 pthread_kill + 101
2   libsystem_c.dylib             	0x915b2340 abort + 155
3   libsystem_malloc.dylib        	0x9b2ae4b6 szone_error + 430
4   libsystem_malloc.dylib        	0x9b2afc8d free_list_checksum_botch + 50
5   libsystem_malloc.dylib        	0x9b2ac508 szone_free_definite_size + 2560
6   libsystem_malloc.dylib        	0x9b2b5d1d free + 277
7   libvshared_fat_release.dylib  	0x06846ba3 fbl::Value_string::Release() const + 29
8   libvkernel_fat_release.dylib  	0x086effcd fbl::Index_Page_imp::GoToLogicalPage(unsigned int, bool) + 211
9   libvkernel_fat_release.dylib  	0x086f0031 non-virtual thunk to fbl::Index_Page_imp::GoToLogicalPage(unsigned int, bool) + 35
10  libvkernel_fat_release.dylib  	0x086e2ba9 fbl::Index_NotUnique::BinSearchPages(fbl::TIndexContext&, bool) + 167
11  libvkernel_fat_release.dylib  	0x086ddce0 fbl::Index_Imp::FindPage(fbl::TIndexContext&, bool) + 86
12  libvkernel_fat_release.dylib  	0x086e5c94 fbl::Index_NotUnique_Page::SetRightBookMark(fbl::smart_ptr<fbl::I_Value const>, bool, fbl::TIndexSearchContext&) + 122
13  libvkernel_fat_release.dylib  	0x086dbd22 fbl::Index_Imp::SetBookmarks(fbl::smart_ptr<fbl::Range const>, fbl::TIndexSearchContext&) + 396
14  libvkernel_fat_release.dylib  	0x086e9454 fbl::Index_String::FindStartsWith(fbl::smart_ptr<fbl::I_Value const>, unsigned int) + 338
15  libvkernel_fat_release.dylib  	0x0833d7ef fbl::FldString_Imp::FindStartsWith(fbl::smart_ptr<fbl::I_Value const>, fbl::smart_ptr<fbl::BitSet const>, fbl::ESearch) const + 519
16  libvkernel_fat_release.dylib  	0x0830d233 fbl::PNode_Field_Left::Execute(fbl::smart_ptr<fbl::BitSet>, fbl::smart_ptr<fbl::Node_Explain>) + 435
17  libvkernel_fat_release.dylib  	0x082fdcae fbl::Plan::Execute(fbl::smart_ptr<fbl::Node_Explain>) + 96
18  libvkernel_fat_release.dylib  	0x0830905c fbl::Query::Execute(fbl::smart_ptr<fbl::Node_Explain>) + 374
19  libvkernel_fat_release.dylib  	0x08397953 fbl::Table_Indirect::RefreshWithExplain(bool, fbl::smart_ptr<fbl::Node_Explain>) + 431
20  libvkernel_fat_release.dylib  	0x08397768 fbl::Table_Indirect::put_Where(fbl::smart_ptr<fbl::I_ENode>, fbl::smart_ptr<fbl::Node_Explain>) + 74
21  libvkernel_fat_release.dylib  	0x084ae721 fbl::vsql::Node_TableExpr::CreateResultTable_WithWhere(fbl::vsql::SqlEnvironment&, fbl::smart_ptr<fbl::I_TableEx>, unsigned int, fbl::smart_ptr<fbl::Node_Explain>) + 477
22  libvkernel_fat_release.dylib  	0x084adb91 fbl::vsql::Node_TableExpr::Execute_Select_From1_Where(fbl::vsql::SqlEnvironment&, fbl::smart_ptr<fbl::Node_Explain>) + 2497
23  libvkernel_fat_release.dylib  	0x084b1606 fbl::vsql::Node_TableExpr::Execute_Select_From_Where_Indirect(fbl::vsql::SqlEnvironment&, fbl::smart_ptr<fbl::Node_Explain>) + 134
24  libvkernel_fat_release.dylib  	0x084a81c4 fbl::vsql::Node_TableExpr::Execute_Select_From_Where(fbl::vsql::SqlEnvironment&, fbl::smart_ptr<fbl::Node_Explain>) + 350
25  libvkernel_fat_release.dylib  	0x084a768e fbl::vsql::Node_TableExpr::ExecuteSql(fbl::vsql::SqlEnvironment&, fbl::smart_ptr<fbl::Node_Explain>) + 210
26  libvkernel_fat_release.dylib  	0x08494a06 fbl::vsql::Node_QuerySelect::ExecuteSql(fbl::vsql::SqlEnvironment&, fbl::smart_ptr<fbl::Node_Explain>) + 174
27  libvkernel_fat_release.dylib  	0x0849df09 fbl::vsql::Node_Select::ExecuteSql(fbl::vsql::SqlEnvironment&, fbl::smart_ptr<fbl::Node_Explain>) + 177
28  libvkernel_fat_release.dylib  	0x0849f202 non-virtual thunk to fbl::vsql::Node_Select::ExecuteSql(fbl::vsql::SqlEnvironment&, fbl::smart_ptr<fbl::Node_Explain>) + 34
29  libvkernel_fat_release.dylib  	0x08678ac9 fbl::vsql::ProceedCommand(fbl::vsql::SqlEnvironment&) + 232
30  libvkernel_fat_release.dylib  	0x0869a2af fbl::vsql::SqlParser::SqlQuery_(fbl::smart_ptr<fbl::vsql::QueryResult>, fbl::vsql::I_SqlDatabaseEx*, fbl::String const&, fbl::vsql::ECursorLocation, fbl::vsql::ELockType, fbl::vsql::ECursorDirection, fbl::smart_ptr<fbl::ArrayOfSmartPtrs<fbl::smart_ptr<fbl::I_Value> > >) + 425
31  libvkernel_fat_release.dylib  	0x0869a74f fbl::vsql::SqlParser::SqlQuery(fbl::vsql::I_SqlDatabaseEx*, fbl::String const&, fbl::vsql::ECursorLocation, fbl::vsql::ELockType, fbl::vsql::ECursorDirection, fbl::smart_ptr<fbl::ArrayOfSmartPtrs<fbl::smart_ptr<fbl::I_Value> > >) + 155
32  libvkernel_fat_release.dylib  	0x083dc53b fbl::vsql::SqlDatabase::SqlQuery(fbl::String const&, fbl::vsql::ECursorLocation, fbl::vsql::ELockType, fbl::vsql::ECursorDirection, fbl::smart_ptr<fbl::ArrayOfSmartPtrs<fbl::smart_ptr<fbl::I_Value> > >) + 119
33  libvkernel_fat_release.dylib  	0x083dc5be non-virtual thunk to fbl::vsql::SqlDatabase::SqlQuery(fbl::String const&, fbl::vsql::ECursorLocation, fbl::vsql::ELockType, fbl::vsql::ECursorDirection, fbl::smart_ptr<fbl::ArrayOfSmartPtrs<fbl::smart_ptr<fbl::I_Value> > >) + 64
34  V4RB.rbx_0.dylib              	0x05e34797 Database_SqlSelect(fbl::smart_ptr<fbl::vsql::I_SqlDatabase>, REALstringStruct*, int, int, int, fbl::smart_ptr<fbl::ArrayOfSmartPtrs<fbl::smart_ptr<fbl::I_Value> > >) + 182
35  V4RB.rbx_0.dylib              	0x05e315a9 Database_SqlSelect_1(REALobjectStruct*, REALstringStruct*, int, int, int) + 288
36  com.sonnysoftware.bookends.mas	0x0030a274 VDatabase.SqlSelect%o<VCursor>%o<VDatabase>si4i4i4 + 145
37  com.sonnysoftware.bookends.mas	0x00d6660a HitsAndGroupWindow.HitsAndGroupWindow.doTextChange%%o<HitsAndGroupWindow.HitsAndGroupWindow>b + 62250
38  com.sonnysoftware.bookends.mas	0x00c0f0d6 HitsAndGroupWindow.HitsAndGroupWindow.Timer1_Action%%o<HitsAndGroupWindow.HitsAndGroupWindow>o<Timer> + 88
39  com.sonnysoftware.bookends.mas	0x004e7964 Delegate.IM_Invoke%%o<Timer> + 110
40  com.sonnysoftware.bookends.mas	0x004e79a5 AddHandler.Stub.0%% + 51
41  rbframework.dylib             	0x021d42a6 0x216f000 + 414374
42  rbframework.dylib             	0x021d41e4 0x216f000 + 414180
43  com.apple.CoreFoundation      	0x96f1c486 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22
44  com.apple.CoreFoundation      	0x96f1be43 __CFRunLoopDoTimer + 1395
45  com.apple.CoreFoundation      	0x96f965ad __CFRunLoopDoTimers + 349
46  com.apple.CoreFoundation      	0x96ed3a33 __CFRunLoopRun + 1779
47  com.apple.CoreFoundation      	0x96ed30ca CFRunLoopRunSpecific + 394
48  com.apple.CoreFoundation      	0x96ed2f2b CFRunLoopRunInMode + 123
49  com.apple.HIToolbox           	0x9ac70615 RunCurrentEventLoopInMode + 259
50  com.apple.HIToolbox           	0x9ac7038d ReceiveNextEventCommon + 526
51  com.apple.HIToolbox           	0x9ac70168 _BlockUntilNextEventMatchingListInModeWithFilter + 92
52  com.apple.AppKit              	0x9552a1f9 _DPSNextEvent + 1602
53  com.apple.AppKit              	0x95529720 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
54  rbframework.dylib             	0x0226eb81 0x216f000 + 1047425
55  rbframework.dylib             	0x0226ebe8 0x216f000 + 1047528
56  com.sonnysoftware.bookends.mas	0x0003eddb Delegate.Invoke%% + 34
57  com.sonnysoftware.bookends.mas	0x000eac0c Application._CallFunctionWithExceptionHandling%%o<Application>p + 248
58  rbframework.dylib             	0x021f2534 0x216f000 + 537908
59  rbframework.dylib             	0x0226eb10 0x216f000 + 1047312
60  com.apple.AppKit              	0x9551c02c -[NSApplication run] + 727
61  rbframework.dylib             	0x021f25b7 0x216f000 + 538039
62  rbframework.dylib             	0x021c39e2 RuntimeRun + 50
63  com.sonnysoftware.bookends.mas	0x0028d511 REALbasic._RuntimeRun + 34
64  com.sonnysoftware.bookends.mas	0x0001764f _Main + 257
65  com.sonnysoftware.bookends.mas	0x00002730 % main + 36
66  com.sonnysoftware.bookends.mas	0x01de7b83 _start + 116
67  com.sonnysoftware.bookends.mas	0x01de7ad9 start + 43

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x90052992 kevent64 + 10
1   libdispatch.dylib             	0x982468bd _dispatch_mgr_invoke + 238
2   libdispatch.dylib             	0x98246556 _dispatch_mgr_thread + 52

Thread 2:
0   libsystem_kernel.dylib        	0x90052046 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x9bad9dcf _pthread_wqthread + 372
2   libsystem_pthread.dylib       	0x9baddcce start_wqthread + 30

Thread 3:
0   libsystem_kernel.dylib        	0x90052046 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x9bad9dcf _pthread_wqthread + 372
2   libsystem_pthread.dylib       	0x9baddcce start_wqthread + 30

Thread 4:
0   libsystem_kernel.dylib        	0x90052046 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x9bad9dcf _pthread_wqthread + 372
2   libsystem_pthread.dylib       	0x9baddcce start_wqthread + 30

Thread 5:
0   libsystem_kernel.dylib        	0x9004cf7a mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x9004c16c mach_msg + 68
2   com.apple.CoreFoundation      	0x96ed42d9 __CFRunLoopServiceMachPort + 169
3   com.apple.CoreFoundation      	0x96ed38b1 __CFRunLoopRun + 1393
4   com.apple.CoreFoundation      	0x96ed30ca CFRunLoopRunSpecific + 394
5   com.apple.CoreFoundation      	0x96ed2f2b CFRunLoopRunInMode + 123
6   com.apple.AppKit              	0x956d38c7 _NSEventThread + 283
7   libsystem_pthread.dylib       	0x9bad85fb _pthread_body + 144
8   libsystem_pthread.dylib       	0x9bad8485 _pthread_start + 130
9   libsystem_pthread.dylib       	0x9baddcf2 thread_start + 34

Thread 6:
0   libsystem_kernel.dylib        	0x90052046 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x9bad9dcf _pthread_wqthread + 372
2   libsystem_pthread.dylib       	0x9baddcce start_wqthread + 30

Thread 7:
0   libsystem_kernel.dylib        	0x90052046 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x9bad9dcf _pthread_wqthread + 372
2   libsystem_pthread.dylib       	0x9baddcce start_wqthread + 30

Thread 8:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	0x90051ace __select + 10
1   com.apple.CoreFoundation      	0x96f240c6 __CFSocketManager + 1158
2   libsystem_pthread.dylib       	0x9bad85fb _pthread_body + 144
3   libsystem_pthread.dylib       	0x9bad8485 _pthread_start + 130
4   libsystem_pthread.dylib       	0x9baddcf2 thread_start + 34

Thread 9:
0   libsystem_kernel.dylib        	0x90051802 __psynch_mutexwait + 10
1   libsystem_pthread.dylib       	0x9badb945 _pthread_mutex_lock + 404
2   libsystem_pthread.dylib       	0x9badb7ac pthread_mutex_lock + 16
3   rbframework.dylib             	0x02193da0 0x216f000 + 150944
4   rbframework.dylib             	0x021945c0 ThreadSleep + 112
5   com.sonnysoftware.bookends.mas	0x000aa9ca Thread.Sleep%%o<Thread>i4b + 61
6   com.sonnysoftware.bookends.mas	0x00e92c48 HitsAndGroupWindow.HitsAndGroupWindow.SleepWatchFolderThread%%o<HitsAndGroupWindow.HitsAndGroupWindow> + 396
7   com.sonnysoftware.bookends.mas	0x00c82757 HitsAndGroupWindow.HitsAndGroupWindow.WatchFolderThread_Run%%o<HitsAndGroupWindow.HitsAndGroupWindow>o<Thread> + 5602
8   com.sonnysoftware.bookends.mas	0x00eba2f0 Delegate.IM_Invoke%%o<Thread> + 110
9   com.sonnysoftware.bookends.mas	0x004e79a5 AddHandler.Stub.0%% + 51
10  rbframework.dylib             	0x02194a61 0x216f000 + 154209
11  libsystem_pthread.dylib       	0x9bad85fb _pthread_body + 144
12  libsystem_pthread.dylib       	0x9bad8485 _pthread_start + 130
13  libsystem_pthread.dylib       	0x9baddcf2 thread_start + 34


More information about the Valentina mailing list