How do I diagnose this exception?

Matthew Jew mjew at icnc.com
Tue May 20 17:36:22 CDT 2008


Ruslan,

I got this stack trace this time:

#0	0x8fe124d8 in  
__dyld__ZNK16ImageLoaderMachO18findExportedSymbolEPKcPKvbPP11ImageLoader
#1	0x0000005f in ??
#2	0x8fe12338 in  
__dyld__ZNK16ImageLoaderMachO18findExportedSymbolEPKcPKvbPP11ImageLoader
#3	0x8fe10a6c in  
__dyld__ZN16ImageLoaderMachO16doBindLazySymbolEPmRKN11ImageLoader11LinkC 
ontextE
#4	0x8fe05748 in __dyld__ZN4dyld14bindLazySymbolEPK11mach_headerPm
#5	0x8fe156d8 in __dyld_stub_binding_helper_interface
#6	0x02152d68 in __gnu_cxx::stdio_filebuf<char,  
std::char_traits<char> >::~stdio_filebuf
#7	0x0215aeec in std::ios_base::Init::_S_ios_destroy
#8	0x8fe0fb50 in  
__dyld__ZN16ImageLoaderMachO13doTerminationERKN11ImageLoader11LinkContex 
tE
#9	0x8fe03cdc in __dyld__ZN4dyld14runTerminatorsEv
#10	0x90014d78 in __cxa_finalize
#11	0x90014c44 in exit
#12	0x9012d804 in abort
#13	0x94cb1078 in __gnu_cxx::__verbose_terminate_handler
#14	0x94caec08 in __gxx_personality_v0
#15	0x94caec6c in std::terminate
#16	0x94caef30 in __cxa_rethrow
#17	0x01160120 in fbl::AddRecordToIndex_OneField
#18	0x011602dc in fbl::Table::AddRecordToIndex
#19	0x01164a34 in fbl::Table::AddRecord_WithOut_Triggers_ex
#20	0x01163a10 in  
fbl::Table::AddRecord_WithOut_OnEachStatement_Triggers_ex
#21	0x011635d0 in fbl::Table::AddRecord
#22	0x007395b0 in -[ArticleDBManager2 importOneArticleFile:] at  
ArticleDBManager2.mm:1584
#23	0x0073a40c in -[ArticleDBManager2  
importOneDayFolder:statusCountVar:statusLimitVar:stopProcessVar:] at  
ArticleDBManager2.mm:1818
#24	0x0079b778 in -[ArticleMultiManager2  
importDay:statusCountVar:statusLimitVar:stopProcessVar:] at  
ArticleMultiManager2.mm:615
#25	0x00087488 in -[UpstreamServer  
getAndProcessUpstreamArticleSetFromUpstreamFolder:toLocalFolder:] at  
UpstreamServer.mm:1853
#26	0x00084500 in -[UpstreamServer replicatorTask] at  
UpstreamServer.mm:741
#27	0x00035a14 in -[PVReplicatorModelObject replicatorTask] at  
PVReplicatorModelObject.m:967
#28	0x92bf4118 in forkThreadForFunction
#29	0x9002bd08 in _pthread_body

This is somewhat different...

- Matthew

On May 20, 2008, at 11:50 AM, Ruslan Zasukhin wrote:

> On 5/20/08 6:40 PM, "Matthew Jew" <mjew at icnc.com> wrote:
>
> Hi Matthew,
>
> Not sure but may be you need try catch block around
>
>> I am continuing my project of converting my app from Valentina 2.5.8
>> to 3.5.2.
>>
>> My app runs now (with the few small changes I needed to make to have
>> it work under 3.5.2).
>> However, it seems to throw an exception every time I add about 3,000
>> to 4,000 records.
>> It is not consistent about when it throws the exception.
>> (Meaning I can run the app on the very same data, importing from the
>> same file, and it will
>>   sometimes not throw the exception at all. It will also throw it,  
>> but
>> on a different record each run.)
>>
>> Here is the exception:
>>
>> terminate called after throwing an instance of 'fbl::xInternalError'
>>
>> This is the stack at the time of the exception.
>>
>> #0 0x013d522c in __tcf_0
>> #1 0x01009854 in cxa_atexit_wrapper
>> #2 0x90014d5c in __cxa_finalize
>> #3 0x90014c44 in exit
>> #4 0x9012d804 in abort
>> #5 0x94cb1078 in __gnu_cxx::__verbose_terminate_handler
>> #6 0x94caec08 in __gxx_personality_v0
>> #7 0x94caec6c in std::terminate
>> #8 0x94caef30 in __cxa_rethrow
>> #9 0x01160120 in fbl::AddRecordToIndex_OneField
>> #10 0x011602dc in fbl::Table::AddRecordToIndex
>> #11 0x01164a34 in fbl::Table::AddRecord_WithOut_Triggers_ex
>> #12 0x01163a10 in
>> fbl::Table::AddRecord_WithOut_OnEachStatement_Triggers_ex
>> #13 0x011635d0 in fbl::Table::AddRecord
>> #14 0x007395b0 in -[ArticleDBManager2 importOneArticleFile:] at
>> ArticleDBManager2.mm:1584
>> #15 0x0073a40c in -[ArticleDBManager2
>> importOneDayFolder:statusCountVar:statusLimitVar:stopProcessVar:] at
>> ArticleDBManager2.mm:1818
>> #16 0x0079b778 in -[ArticleMultiManager2
>> importDay:statusCountVar:statusLimitVar:stopProcessVar:] at
>> ArticleMultiManager2.mm:615
>> #17 0x00087488 in -[UpstreamServer
>> getAndProcessUpstreamArticleSetFromUpstreamFolder:toLocalFolder:] at
>> UpstreamServer.mm:1853
>> #18 0x00084500 in -[UpstreamServer replicatorTask] at
>> UpstreamServer.mm:741
>> #19 0x00035a14 in -[PVReplicatorModelObject replicatorTask] at
>> PVReplicatorModelObject.m:967
>> #20 0x92bf4118 in forkThreadForFunction
>> #21 0x9002bd08 in _pthread_body
>>
>> How can I get more information about the exception and what is  
>> causing
>> it?
>
> -- 
> 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]
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list