Re: print_backtrace when I press the power button
Re: print_backtrace when I press the power button
- Subject: Re: print_backtrace when I press the power button
- From: Steven Bytnar <email@hidden>
- Date: Sat, 10 Apr 2010 14:00:59 -0500
If Spin Control doesn't seem productive, try stackshot.
man stackshot
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.stackshot.plist
"The stack snapshot is triggered upon pressing a special key chord; this is currently Control-Option-Command-Shift-Period"
After typing the special key chord, execute the command:
sudo /usr/sbin/symstacks.rb < /Library/Logs/stackshot.log
to view the stack backtraces. If it's a kernel related freeze, this
might help isolate it.
The stackshot description above is from Leopard, probably the dev tools.
Usage may have changed in Snow Leopard or newer dev tools.
--Steve
On Sat, Apr 10, 2010 at 02:39:10PM -0400, Michael Cashwell wrote:
> On Apr 10, 2010, at 11:40 AM, Adam Mitchell wrote:
>
> > I want a kernel stack trace (on screen or disk) when I press the power button on my G4 system. I don't see any"debug=" options to "boot-args" that would do this.
> >
> > I'm just trying to troubleshoot a problem - we get the rainbow wheel several times a day and have to power cycle the computer. The mouse pointer will move, but that's about it - Dock doesn't respond, can't bring up the force-quit dialog, can't right-click any icons in the dock, etc.
> >
> > Can anyone give me some tips?
>
> Assuming you have the developer tools installed, try running "Spin Control" (and leave it running). When the spinning happens it should record what and why.
>
> HTH.
>
> -Mike
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-kernel mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden