re: How to get a crash dump with recursive panic?
matthew green <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.sparc64 |
|---|---|
| Message-ID | <[email protected]> |
Darren Reed writes: > On 11/06/2014 4:33 AM, Martin Husemann wrote: > > On Wed, Jun 11, 2014 at 04:19:20AM +1000, matthew green wrote: > >> i haven't looked closely, but i'm pretty sure there is a bug in > >> the sparc64 crash handling where it sets doing_shutdown and that > >> triggers the "Skipping crash dump on recursive panic" message, > >> when infact it hasn't gotten that far yet. > > > > We should avoid leaking it, but I haven't looked closely either. > > So if I call panic() explicitly, that will write a crash dump? i would try reverting the change i mentioned a few days ago, or simply comment the inc/dec of "doing_shutdown" in the sparc64 specific code and see what happens. .mrg.