Qt standalone application with Cocoa Library Crash
Qt standalone application with Cocoa Library Crash
- Subject: Qt standalone application with Cocoa Library Crash
- From: Raja Rokkam <email@hidden>
- Date: Mon, 7 Jun 2010 12:07:03 +0530
Hi All,
I have written a standalone Qt Core Application in which the only call
is to a constructor of a library which is written in Cocoa and using 10.5 as
base SDK.
As soon as I run this application it crashes with below errors:
What could be the problem: The logger constructor is basically-
Log::Log() : logFile( stderr ), logLevel( Log::LL_INFO )
{
}
-------------------------------------------------------------------------------
Application Specific Information:
*** error for object 0x101809128: incorrect checksum for freed object -
object was probably modified after being freed.
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff8631f886 __kill + 10
1 libSystem.B.dylib 0x00007fff863bfeae abort + 83
2 libSystem.B.dylib 0x00007fff863aeb61 szone_error + 519
3 libSystem.B.dylib 0x00007fff862d6329
tiny_malloc_from_free_list + 715
4 libSystem.B.dylib 0x00007fff862d549c
szone_malloc_should_clear + 241
5 libSystem.B.dylib 0x00007fff862d536a malloc_zone_malloc
+ 82
6 libSystem.B.dylib 0x00007fff862d3668 malloc + 44
7 libstdc++.6.dylib 0x00007fff8099bf05 operator
new(unsigned long) + 97
8 libdmhelpers.dylib 0x00000001003c1e24 dm::Log::instance()
+ 36 (Helper.cpp:17)
9 libWindowsList.dylib 0x0000000100037507
dm::desktop::AppWindowTracker::AppWindowTracker() + 153
(AppWindowTracker.cpp:22)
10 test 0x000000010000ac12 main + 66
11 test 0x000000010000aa26 _start + 224
12 test 0x000000010000a945 start + 33
Thanks,
Raja.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden