single machine debugging?/advice for noob on OS X panic analysis
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hi, I'm trying to lend a hand in troubleshooting a persistent kernel panic problem that's associated with the open source p2p bittorrent client, Azureus. In the past, I've done a little crash analysis on Solaris but I'm new to OS X and have alot of questions. If you're going to be annoyed by noob questions, please delete. Thanks in advance to anyone that can help. Azureus is written in Java and uses direct memory access for some of its networking and disk functions. http://azureus.sourceforge.net/wiki/index.php/MemoryUsage (It seems odd to me that a Java app could panic the kernel. But maybe the DMA code by-passes the JVM's memory management and therefore coding errors could cause the panics we're seeing. Any insights?) Anyway... I've read the kernel programming docs and kbase articles on panic analysis, but I've had a hard time getting started because the only intro-level doc I've seen assumes the a two-machine setup. Unfortunately, my wife has only allowed me one Mac (so far)... I'd like to try to my hand at doing some panic analysis if I can get past the single-machine limitation. In the past, I've worked on Solaris boxes and was able to use adb from a terminal on a system core dump in the /var/crash directory. Can I configure OS X to savecore in a filesystem directory and use gdb on it? Maybe this is described somewhere and I just missed it? Aside from the Apple developer and kbase docs, does anyone have any reference material they recommend on the panic analysis? I think I have a copy of Chris Drake's "Panic!" lying around somewhere. Any other references, online or otherwise, would be helpful. http://sourceforge.net/forum/forum.php?thread_id=1146956&forum_id=291997 Thanks for any and all pointers, advice, RTFMs, etc. --EJ _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... For the curious and benificent, there's a sourceforge thread that describes the issue at the URL below. I'm wondering if there's anything in the panic.log outputs that jumps out. From what I've gleaned, it looks like Azureus or the JVM is accessing a memory address in kernel land that is out of bounds... This email sent to site_archiver@lists.apple.com
participants (1)
-
Eric R Johnson