Re: NetBSD-10.0/i386 spurious SIGSEGV

Mouse <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
>> 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		[email protected]
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.