Multithreaded app runs, but not in dubeugger
Multithreaded app runs, but not in dubeugger
- Subject: Multithreaded app runs, but not in dubeugger
- From: Trygve Inda <email@hidden>
- Date: Thu, 31 Aug 2006 17:05:58 +0000
- Thread-topic: Multithreaded app runs, but not in dubeugger
I have an app that runs fine from Finder, but when running in the debugger I
get all kinds of strange crashes. It is a multithreaded app written in
Carbon using MPTasks. The code is mature and has been a shipping app for
several years.
Xcode 2.3.
Some of the errors I get are:
[Switching to process 18766 thread 0x3103]
warning: Couldn't raise load state for requested shlib: "Foundation" for
breakpoint 12.
(gdb) continue
Program received signal: "EXC_ARITHMETIC".
It dies on this line:
pTaskInfo->mEndTime = AddDurationToAbsolute (kDurationMillisecond * 60000 *
pTaskInfo->mUpdateFrequency, UpTime());
mUpdateFrequency is 5
Note that the crash point depends on the breakpoint which is currently about
5 lines before this. If I move the breakpoint or remove it altogether, it
works fine.
Does the Xcode debugger not like thread too well?
Trygve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden