NetBSD-Bugs archive

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

kern/56487: binary compat broken for COMPAT_NETBSD32

>Number:         56487
>Category:       kern
>Synopsis:       binary compat broken for COMPAT_NETBSD32
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 04 14:45:00 +0000 2021
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.92
The NetBSD Foundation, Inc.
System: NetBSD 9.99.92 NetBSD 9.99.92 (GENERIC64) #226: Sun Oct 24 08:47:00 CEST 2021 evbarm
Architecture: aarch64
Machine: evbarm

My test environment chroots for COMPAT_NETBSD32 were broken by recent
sigtramp changes, e.g.:

Reading symbols from /usr/pkg/bin/tcsh...
(No debugging symbols found in /usr/pkg/bin/tcsh)
[New process 6227]
Core was generated by `tcsh'.
Program terminated with signal SIGSYS, Bad system call.
#0  0xf75fb9c8 in __sigtramp_sigcontext_1 () from /usr/lib/
(gdb) bt
#0  0xf75fb9c8 in __sigtramp_sigcontext_1 () from /usr/lib/
#1  0xf75fb9c0 in __vfork14 () from /usr/lib/

With a new kernel and new (32bit) userland try to chroot and run some
previously compiled binaries from pkgsrc.


Home | Main Index | Thread Index | Old Index