tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD-10.0/i386 spurious SIGSEGV
>> I have seen many crashes on system call returns. [...]
> I would suggest printing the siginfo, but apparently our gdb doesn't
> support it (so I filed PR 58325): [...]
Okay, this is strictly a debugging workaround: how about building a
kernel with code added so that, whenever a SIGSEGV is delivered, the
siginfo is printed on the console? It would at least let you get the
information, and I suspect SEGVs are rare enough you wouldn't have to
sift through too many false positives.
It does, though, assume you're comfortable adding code to your kernel
and rebuilding it. (If trying to build a new kernel SEGVs, maybe
cross-build it?)
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index