NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/52628: tracing 32-bit application on 64-bit kernel panic

>Number:         52628
>Category:       kern
>Synopsis:       tracing 32-bit application on 64-bit kernel panic
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 19 09:20:00 +0000 2017
>Originator:     Kamil Rytarowski
>Release:        NetBSD 8.99.2 amd64
NetBSD compaq 8.99.2 NetBSD 8.99.2 (GENERIC) #1: Wed Sep  6 23:28:12 CEST 2017  root@chieftec:/public/netbsd-root/sys/arch/amd64/compile/GENERIC amd64
# crash -M ./netbsd.4.core -N /netbsd.gdb                                                                                                             
Crash version 8.99.2, image version 8.99.2.
System panicked: kernel diagnostic assertion "(p->p_flag & PK_32) == 0" failed: file "/usr/src/sys/arch/amd64/amd64/machdep.c", line 1906 
Backtrace from time of crash is available.
crash> bt
?() at ffffe40049a33360
vpanic() at vpanic+0x149
ch_voltag_convert_in() at ch_voltag_convert_in
cpu_mcontext_validate() at cpu_mcontext_validate+0x10e
process_write_regs() at process_write_regs+0x13
process_doregs() at process_doregs+0xb9
do_ptrace() at do_ptrace+0x8a7
sys_ptrace() at sys_ptrace+0x28
syscall() at syscall+0x1d8
--- syscall (number 26) ---
gcc test.c -m32 -o test
gdb ./test
Not investigated but this shall be fixed for NetBSD-8.

Home | Main Index | Thread Index | Old Index