Crash when opening database

Ivan Smahin ivan_smahin at paradigmasoft.com
Mon Jun 23 01:40:27 CDT 2014


Hi Beatrix,

The database is hardly damaged. It is even unable to open system tables to read the schema.


On Jun 23, 2014, at 9:08 AM, Beatrix Willius <bwillius at gmx.de> wrote:

> Hi guys,
> 
> got a database from a user, which always crashes when trying to open it. The crash below is from Valentina Studio 5.5.4.  
> 
> Any idea how to open the database?
> 
> Process:         Valentina Studio [91597]
> Path:            /Applications/Develop/Valentina Studio.app/Contents/MacOS/Valentina Studio
> Identifier:      com.paradigmasoft.vstudio
> Version:         5.5.4 (5.5.4)
> Code Type:       X86 (Native)
> Parent Process:  launchd [319]
> Responsible:     Valentina Studio [91597]
> User ID:         504
> 
> Date/Time:       2014-06-22 10:11:48.444 +0200
> OS Version:      Mac OS X 10.9.3 (13D65)
> Report Version:  11
> Anonymous UUID:  FF0547B8-C5A8-C15B-653E-274DCB48CB29
> 
> Sleep/Wake UUID: 3F509CA8-A477-4E7C-BB04-3F2064B2A014
> 
> Crashed Thread:  0  Dispatch queue: com.apple.main-thread
> 
> Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes: KERN_INVALID_ADDRESS at 0x00000000154dd004
> 
> VM Regions Near 0x154dd004:
>   IOKit                  00000000154d5000-00000000154dd000 [   32K] rw-/rw- SM=ALI  
> --> 
>   IOKit                  00000000154e0000-00000000154f0000 [   64K] rw-/rw- SM=SHM  
> 
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0   libvshared_fat_release.dylib  	0x014ba332 fbl::Value_Numeric<8u, (fbl::VALUE_CATEGORY)1, fbl::policyInPlace<fbl::type_traits<int> > >::CompareIndexValues(void const*, void const*, bool) const + 80
> 1   libvkernel_fat_release.dylib  	0x0d4b2b2b fbl::Index_Unique_Page::DiagnoseSelf(fbl::smart_ptr<fbl::I_OStream>, fbl::EVerboseLevel) const + 199
> 2   libvkernel_fat_release.dylib  	0x0d4b2c6a non-virtual thunk to fbl::Index_Unique_Page::DiagnoseSelf(fbl::smart_ptr<fbl::I_OStream>, fbl::EVerboseLevel) const + 34
> 3   libvkernel_fat_release.dylib  	0x0d43ebb3 fbl::Page::Diagnose(fbl::smart_ptr<fbl::I_OStream>, fbl::EVerboseLevel) const + 325
> 4   libvkernel_fat_release.dylib  	0x0d4a3988 fbl::Index_Imp::Diagnose_Pages(fbl::smart_ptr<fbl::I_OStream>, fbl::EVerboseLevel) const + 142
> 5   libvkernel_fat_release.dylib  	0x0d4a3a5a non-virtual thunk to fbl::Index_Imp::Diagnose_Pages(fbl::smart_ptr<fbl::I_OStream>, fbl::EVerboseLevel) const + 34
> 6   libvkernel_fat_release.dylib  	0x0d43fae4 fbl::PageFile::Diagnose(fbl::smart_ptr<fbl::I_OStream>, fbl::EVerboseLevel) const + 352
> 7   libvkernel_fat_release.dylib  	0x0d4a1033 fbl::Index_Imp::Diagnose(fbl::smart_ptr<fbl::I_OStream>, fbl::EVerboseLevel) + 231
> 8   libvkernel_fat_release.dylib  	0x0d0ecefb fbl::Field_Imp::DiagnoseCommon(fbl::smart_ptr<fbl::I_OStream>, fbl::EVerboseLevel, fbl::smart_ptr<fbl::Node_Explain>) + 353
> 9   libvkernel_fat_release.dylib  	0x0d0ecbdf fbl::Field_Imp::DiagnoseWithExplain(fbl::smart_ptr<fbl::I_OStream>, fbl::EVerboseLevel, fbl::smart_ptr<fbl::Node_Explain>) + 599
> 10  libvkernel_fat_release.dylib  	0x0d452704 fbl::Table::DiagnoseWithExplain(fbl::smart_ptr<fbl::I_OStream>, fbl::EVerboseLevel, fbl::smart_ptr<fbl::Node_Explain>) + 570
> 11  libvkernel_fat_release.dylib  	0x0d4523bf fbl::Table::Diagnose(fbl::smart_ptr<fbl::I_OStream>, fbl::EVerboseLevel) + 81
> 12  libvkernel_fat_release.dylib  	0x0d1347bd fbl::SysItemDescription::AddNewItems() + 109
> 13  libvkernel_fat_release.dylib  	0x0d1346e5 fbl::SysItemDescription::Open() + 133
> 14  libvkernel_fat_release.dylib  	0x0d13265d fbl::SysItem::Open() + 67
> 15  libvkernel_fat_release.dylib  	0x0d13017b fbl::Schema_OnSysTables::Open() + 19
> 16  libvkernel_fat_release.dylib  	0x0d1a0c34 fbl::Database_imp::OpenSchema() + 266
> 17  libvkernel_fat_release.dylib  	0x0d1a0956 fbl::Database_imp::Open() + 212
> 18  VKernel.bundle                	0x0c3863a1 vsValentina_Database::Open(LT::LString const&) + 1441
> 19  VKernel.bundle                	0x0c3b40c5 vsConnection::OpenDatabase(LT::LString const&) + 741
> 20  com.paradigmasoft.vstudio     	0x000c6862 OpenFileDatabase(LT::LString const&, bool) + 1138
> 21  com.paradigmasoft.vstudio     	0x00024fed vsAppCtrl::OpenDatabase(bool) + 1261
> 22  com.paradigmasoft.vstudio     	0x0003771e vsAppCtrl::DoAction(unsigned long, LT::LVariant const&) + 2958
> 23  liblt_fat_release.dylib       	0x00d7794f wMenuItem::OnSelect(wxCommandEvent&) + 463
> 24  libwx_mac.dylib               	0x006fe885 wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const + 39
> 25  libwx_mac.dylib               	0x0052e761 wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) + 119
> 26  libwx_mac.dylib               	0x0052ee35 wxEvtHandler::SearchDynamicEventTable(wxEvent&) + 73
> 27  libwx_mac.dylib               	0x0052ed92 wxEvtHandler::ProcessEvent(wxEvent&) + 92
> 28  libwx_mac.dylib               	0x0052ed24 wxEvtHandler::TryParent(wxEvent&) + 56
> 29  libwx_mac.dylib               	0x0052edd7 wxEvtHandler::ProcessEvent(wxEvent&) + 161
> 30  libwx_mac.dylib               	0x005783c6 wxMenuBase::SendEvent(int, int) + 78
> 31  libwx_mac.dylib               	0x006c5052 wxMenu::MacHandleCommandProcess(wxMenuItem*, int, wxWindow*) + 104
> 32  libwx_mac.dylib               	0x006727d4 wxMacAppEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 344
> 33  com.apple.HIToolbox           	0x92ef4d89 _InvokeEventHandlerUPP(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, long (*)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)) + 36
> 34  com.apple.HIToolbox           	0x92d4834f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1452
> 35  com.apple.HIToolbox           	0x92d47668 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 386
> 36  com.apple.HIToolbox           	0x92d5a811 SendEventToEventTarget + 88
> 37  com.apple.HIToolbox           	0x92ef4c2e SendHICommandEvent(unsigned long, HICommand const*, unsigned long, unsigned long, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 478
> 38  com.apple.HIToolbox           	0x92dbdef7 SendMenuCommandWithContextAndModifiers + 70
> 39  com.apple.HIToolbox           	0x92dbdea4 SendMenuItemSelectedEvent + 199
> 40  com.apple.HIToolbox           	0x92f5bc65 _HIMenuSendItemSelectedEventToTarget + 141
> 41  com.apple.HIToolbox           	0x92f5bbcb _HIMenuSendItemSelectedEvent + 63
> 42  com.apple.HIToolbox           	0x92ef82fa HIMenuBar::HandleKeyboardEvent(OpaqueEventRef*) + 302
> 43  com.apple.HIToolbox           	0x92ef8159 HIMenuBar::HandleEvent(OpaqueEventHandlerCallRef*, OpaqueEventRef*) + 49
> 44  com.apple.HIToolbox           	0x92d48951 HIObject::EventHook(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 163
> 45  com.apple.HIToolbox           	0x92ef4d89 _InvokeEventHandlerUPP(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, long (*)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)) + 36
> 46  com.apple.HIToolbox           	0x92d4834f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1452
> 47  com.apple.HIToolbox           	0x92d47668 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 386
> 48  com.apple.HIToolbox           	0x92d474e0 SendEventToEventTargetWithOptions + 94
> 49  com.apple.HIToolbox           	0x92d7b250 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 1236
> 50  com.apple.HIToolbox           	0x92d48795 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2546
> 51  com.apple.HIToolbox           	0x92d47668 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 386
> 52  com.apple.HIToolbox           	0x92d5a811 SendEventToEventTarget + 88
> 53  libwx_mac.dylib               	0x0067356c wxApp::MacHandleOneEvent(void*) + 34
> 54  libwx_mac.dylib               	0x00673630 wxApp::MacDoOneEvent() + 144
> 55  libwx_mac.dylib               	0x007877e2 wxEventLoop::Dispatch() + 32
> 56  libwx_mac.dylib               	0x00787688 wxEventLoopManual::Run() + 142
> 57  libwx_mac.dylib               	0x004f0d84 wxAppBase::MainLoop() + 68
> 58  libwx_mac.dylib               	0x007044ad wxEntry(int&, wchar_t**) + 75
> 59  libwx_mac.dylib               	0x00704569 wxEntry(int&, char**) + 50
> 60  com.paradigmasoft.vstudio     	0x00006bde main + 30
> 61  com.paradigmasoft.vstudio     	0x00001f39 _start + 208
> 62  com.paradigmasoft.vstudio     	0x00001e68 start + 40
> Mit freundlichen Grüßen/Regards
> 
> Trixi Willius
> 
> http://www.mothsoftware.com
> Mail Archiver X: The email archiving solution for professionals
> 
> Mit freundlichen Grüßen/Regards
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina

-- 
Best regards,
Ivan Smahin
Senior Software Engineer
Paradigma Software, Inc
Valentina - The Ultra-Fast Database
http://www.valentina-db.com



More information about the Valentina mailing list