Problem closing databases

Matthew Jew mjew at icnc.com
Sat Oct 4 20:29:26 CDT 2008


Hello,

I am having problems when closing databases.
Both my code (I use the VSDK) and Valentina Studio often crash when  
closing my
database files.

In fact, just now I did a Diagnose Database on a database, and it  
found no problems.
Then, when I tried to quit Valentina Studio, it crashed.
Here is part of the CrashReporter info:

Process:         Valentina Studio [28497]
Path:            /Applications/Valentina Studio.app/Contents/MacOS/ 
Valentina Studio
Identifier:      com.paradigmasoft.valentina.vstudio
Version:         3.5 (3.5)
Code Type:       X86 (Native)
Parent Process:  launchd [182]

Date/Time:       2008-10-04 18:25:33.616 -0700
OS Version:      Mac OS X 10.5.5 (9F33)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000008
Crashed Thread:  0

Thread 0 Crashed:
0   libvkernel_fat_release.dylib  	0x17d212f3  
fbl::Database_imp::get_TableEx(unsigned long) const + 97
1   libvkernel_fat_release.dylib  	0x17e38ee3 void  
fbl::DbStorage::ForEachTableStorage<std::mem_fun_t<void,  
fbl::I_Storage> >(std::mem_fun_t<void, fbl::I_Storage>, bool, bool) + 97
2   libvkernel_fat_release.dylib  	0x17b7ad58  
fbl::DbStorage::Close(bool) + 170
3   libvkernel_fat_release.dylib  	0x17b7b49a  
fbl::DbStorage::~DbStorage() + 56
4   libvkernel_fat_release.dylib  	0x17e38b98  
fbl::DbStorage::Release() const + 34
5   libvkernel_fat_release.dylib  	0x17d276c9  
fbl::Database_imp::~Database_imp() + 1007
6   libvkernel_fat_release.dylib  	0x17d1d07b  
fbl::vsql::SqlDatabase::~SqlDatabase() + 389
7   libvkernel_fat_release.dylib  	0x17e5d095  
fbl::vsql::SqlDatabase::Release() const + 43
8   V2.bundle                     	0x17993cc0  
vsV2_Database::~vsV2_Database() + 1108
9   ...digmasoft.valentina.vstudio	0x0001ebcc  
vsStdCommand::DoCloseAllDatabases() + 276
10  ...digmasoft.valentina.vstudio	0x0002020f vsStdCommand::Do() + 157
11  ...digmasoft.valentina.vstudio	0x0001c4de vsCmd::Do() + 20
12  libwx_mac.dylib               	0x008b6ccf  
wxCommandProcessor::DoCommand(wxCommand&) + 17
13  libwx_mac.dylib               	0x008b6d0f  
wxCommandProcessor::Submit(wxCommand*, bool) + 37
14  ...digmasoft.valentina.vstudio	0x0002dae7  
vsAppCtrl::SubmitCommand(vs_I_Cmd*) + 83
15  ...digmasoft.valentina.vstudio	0x0002db48  
vsAppCtrl::SubmitCommand(vsCMD_ID, void*, void*) + 86
16  ...digmasoft.valentina.vstudio	0x00020a5f vsApp::Quit() + 129

The rest of it is very long; I can send it in full, but I didn't want  
to bother the full list
with it.

Any ideas what might be going on?

- Matthew



More information about the Valentina mailing list