Re: NetBSD-10.0/i386 spurious SIGSEGV

Taylor R Campbell <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
> Date: Sun, 9 Jun 2024 05:28:49 +0000
> From: Emmanuel Dreyfus <[email protected]>
> 
> I have seen many crashes on system call returns. Another one on
> __gettimeofday50:
> 
>    0xbb610570 <__gettimeofday50>:	mov    $0x1a2,%eax
>    0xbb610575 <__gettimeofday50+5>:	int    $0x80
>    0xbb610577 <__gettimeofday50+7>:	jb     0xbb61057a <__gettimeofday50+10>
>    0xbb610579 <__gettimeofday50+9>:	ret    
> => 0xbb61057a <__gettimeofday50+10>:	push   %ebx
> 
> Another one:
>    0xbb610570 <__gettimeofday50>:	mov    $0x1a2,%eax
>    0xbb610575 <__gettimeofday50+5>:	int    $0x80
> => 0xbb610577 <__gettimeofday50+7>:	jb     0xbb61057a <__gettimeofday50+10>
>    0xbb610579 <__gettimeofday50+9>:	ret  

I would suggest printing the siginfo, but apparently our gdb doesn't
support it (so I filed PR 58325):

(gdb) print $_siginfo
$1 = void
(gdb) ptype $_siginfo
type = void

If we had the siginfo, it might provide a clue about why something
trapped to the kernel.
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.