crash V4MD
Ruslan Zasukhin
sunshine at public.kherson.ua
Tue Dec 9 23:52:51 CST 2008
On 12/10/08 2:50 AM, "Christian - ChrisKatDev.com"
<christian at chriskatdev.com> wrote:
Hi Christian,
> Ruslan,
>
> You have crashLog on mantis
> 0003442
Okay, so we have this crash log.
Lets analyse it
-------------------------
Exception Type: EXC_BAD_ACCESS (SIGBUS)\
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000004\
Crashed Thread: 0\
\
Thread 0 Crashed:\
0 ??? 0x1b74dfe9 0 + 460644329\
1 libvkernel_fat_release.dylib 0x1ba8f5ce void
fbl::DbStorage::ForEachTableStorage<std::mem_fun_t<void, fbl::I_Storage>
>(std::mem_fun_t<void, fbl::I_Storage>, bool, bool) + 104\
2 libvkernel_fat_release.dylib 0x1ba8def6 fbl::DbStorage::Close(bool)
+ 146\
3 libvkernel_fat_release.dylib 0x1ba8e3c9
fbl::DbStorage::~DbStorage() + 57\
4 libvkernel_fat_release.dylib 0x1ba8f280 fbl::DbStorage::Release()
const + 32\
5 libvkernel_fat_release.dylib 0x1bc56a70
fbl::Database_imp::~Database_imp() + 1008\
6 libvkernel_fat_release.dylib 0x1bc4a9ac
fbl::vsql::SqlDatabase::~SqlDatabase() + 388\
7 libvkernel_fat_release.dylib 0x1bc4bc53
fbl::vsql::SqlDatabase::Release() const + 41\
8 com.paradigmasoft.v4md 0x1af74cfa
VDataBase_IMoaMmXScript::~VDataBase_IMoaMmXScript() + 160\
9 com.paradigmasoft.v4md 0x1af74e0b
VDataBase_IMoaMmXScript::Release() + 49\
10 com.adobe.DPLib.framework 0x006eed23 SearchPathCallback + 66627\
11 com.adobe.DPLib.framework 0x007cc5ca os_TextCompare + 142683\
12 com.adobe.DPLib.framework 0x007bf1d8 os_TextCompare + 88425\
13 com.adobe.DPLib.framework 0x007c0680 os_TextCompare + 93713\
14 com.adobe.DPLib.framework 0x007b163a os_TextCompare + 32203\
15 com.adobe.DPLib.framework 0x00700c97
TELscriptRef_GetPropertyInitsAsHandle + 698\
16 com.adobe.DPLib.framework 0x00700ee1
TELscriptRef_GetPropertyInitsAsHandle + 1284\
17 com.adobe.DPLib.framework 0x006a8640 MovieInstAnimStop + 99\
-----------------------
* Game starts at MovieInstAnimStop
* Now not clear...
os_TextCompare -> calls VDataBase_IMoaMmXScript::Release
and Release calls to destructor
VDataBase_IMoaMmXScript::~VDataBase_IMoaMmXScript
Destructor is called only when counter of refs to database become zero after
release.
Valentina try destroy database, try close it, do loop ForEachTable and it
seems come
To some bad table ...
May be issue is in wrong counters for Vdatabase object...
And it comes when you have several references to the same database,
E.g. In several windows
But then not clear why crash is random.
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list