NetBSD-Bugs archive

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

toolchain/55043: pkgsrc/security/sudo reliably crashes on mips

>Number:         55043
>Category:       toolchain
>Synopsis:       pkgsrc/security/sudo reliably crashes on mips
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 03 05:50:00 +0000 2020
>Originator:     Jason Thorpe
>Release:        NetBSD 9.99.48
Riscy Business
NetBSD cobalt 9.99.48 NetBSD 9.99.48 (GENERIC) #1: Sun Mar  1 17:27:01 PST 2020
mipsel, o32
Running "sudo" or "visudo" from a freshly-built pkgsrc/security/sudo reliably crashes.  This does not seem to apply to all natively built binaries, as digest and gnu m4 were successfully used to build the sudo package.

Classified as a toolchain problem because it seems to be croaking when processing global constructors:

cobalt:thorpej 15$ visudo                    
Memory fault (core dumped) 
r/pkg/sbin/visudo visudo.core                                                 <
GNU gdb (GDB) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "mipsel--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/pkg/sbin/visudo...
(No debugging symbols found in /usr/pkg/sbin/visudo)
[New process 1]
Core was generated by `visudo'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x7dea4db0 in __do_global_ctors_aux ()
   from /usr/pkg/lib/sudo/

Run "visudo" or "sudo" from the sudo package on mips.

Home | Main Index | Thread Index | Old Index