NetBSD-Bugs archive

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

port-sh3/56401: kernel panic on userland NULL function pointer call?



>Number:         56401
>Category:       port-sh3
>Synopsis:       kernel panic on userland NULL function pointer call?
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-sh3-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 14 12:25:00 +0000 2021
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.88
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD last-of-the-heroes.aprisoft.de 9.99.88 NetBSD 9.99.88 (GENERIC) #130: Tue Sep 7 14:38:45 CEST 2021 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/landisk/compile/GENERIC landisk
Architecture: sh3el
Machine: landisk
>Description:

Trying to boot a -current kernel from a few hours ago causes a panic
when makemandb runs:

 kernel mode trap: address error (load) code = 0x0
Stopped in pid 881.881 (makemandb) at   0:      Instruction fetch fault (user)
[ 188.9189998] panic: tlb_exception: invalid user-space access from kernel mode
[ 188.9189998] expevt=40 va=00000000 ssr=400000f1 spc=8c009670 lwp=0x8fa8ec40 onfault=0x0
[ 188.9189998] cpu0: Begin traceback...
[ 188.9189998] db_panic() at netbsd:vpanic+0xe2
[ 188.9189998] vpanic() at netbsd:panic+0x18
[ 188.9189998] panic() at netbsd:tlb_exception+0x27c
[ 188.9189998] tlb_exception() at 8c0004dc
[ 188.9189998] <EXPEVT 040; SSR=400000f1> at netbsd:longjmp
[ 188.9189998] [trapframe 0x8c00bc8c]
[ 188.9189998]    sr=400000f1   gbr=74c7a000    pc=8c009670     pr=8c0d0fd8
[ 188.9189998]    r0=0000001f    r1=8c009670    r2=8c416de4     r3=00000000
[ 188.9189998]    r4=00000000    r6=00000000    r7=0000000a     r8=ffe8001c
[ 188.9189998]    r5=c2915d10    r9=c2915d60   r10=8c4375e0    r11=00000000
[ 188.9189998]   r12=00000000   r13=8c280f18   r14=8c00bc8c sp=r15=c2915d28
[ 188.9189998] longjmp() at netbsd:db_error+0x20
[ 188.9189998] db_error() at netbsd:get_insn+0x14
[ 188.9189998] get_insn() at netbsd:db_disasm+0xe
[ 188.9189998] db_disasm() at netbsd:db_trap+0x88
[ 188.9189998] db_trap() at netbsd:kdb_trap+0xac
[ 188.9189998] kdb_trap() at netbsd:general_exception+0xc8
[ 188.9189998] general_exception() at 8c0001b2
[ 188.9189998] <EXPEVT 0e0; SSR=40000000> at 0
[ 188.9189998] [trapframe 0x8c0090b4]
[ 188.9189998]    sr=40000000   gbr=74c7a000    pc=00000000     pr=8c192be4
[ 188.9189998]    r0=0000000e    r1=8c41af00    r2=00000001     r3=8fa8ee7c
[ 188.9189998]    r4=fffffffe    r6=00000001    r7=8fa8ec44     r8=c2915ec4
[ 188.9189998]    r5=8fa8ec40    r9=fffffffe   r10=ffffffe4    r11=00004000
[ 188.9189998]   r12=00000003   r13=00000001   r14=8c0090b4 sp=r15=c2915e28
[ 188.9189998] cpu0: End traceback...
Stopped in pid 881.881 (makemandb) at   netbsd:cpu_Debugger+0x2:        rts



>How-To-Repeat:
n/a

>Fix:
n/a



Home | Main Index | Thread Index | Old Index