Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kernel panic when stopping userland driver in gdb



I have some usb stuff that works fine. Except one thing :
When in gdb I hit pause to debug my program. Usually the program stops
executing in the middle of nowhere.
I have some threads and some timers and sockets open.

In the stack frames there are functions like "CFRunLoopinMode" and two
or three "mach_trap_dobidoo" on top of my last function (stack frame).

If I hit stop at that point the kernel crashes instantly. No big deal -
I just step over until I'm in my stackframe again and stopping works.

But ... if I run the program in terminal the same happens when I hit
ctrl-c. Not reproducable but every three or four times.

Is there a way to avoid / catch this ?
--
Hado Hein, Berlin, Fed.Rep. of Germany

http://HadoH.bei.t-online.de (stage lighting profession)
http://www.batchmaker.de (software authoring, including stage lighting)
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.