ps throws "Bus error (core dumped)"

Dennis Clarke <[email protected]> Mon, 16 Mar 2026 10:46:30 -0400
Newsgroups gmane.os.openbsd.sparc
Organization GENUNIX
Message-ID <[email protected]>
Thus far on my SPARC S7 there seems to be other problems :

styx# ps
Bus error (core dumped)
styx# ls -la
total 16900
drwx------   3 root  wheel      512 Mar 16 14:22 .
drwxr-xr-x  14 root  wheel      512 Mar 16 13:16 ..
-rw-r--r--   1 root  wheel       87 Oct 13 07:46 .Xdefaults
-rw-r--r--   1 root  wheel      578 Oct 13 07:46 .cshrc
-rw-r--r--   1 root  wheel       94 Oct 13 07:46 .cvsrc
-rw-r--r--   1 root  wheel        7 Mar 16 11:56 .forward
-rw-r--r--   1 root  wheel      242 Oct 13 07:46 .login
-rw-r--r--   1 root  wheel      364 Oct 13 07:46 .profile
drwx------   2 root  wheel      512 Mar 16 11:56 .ssh
-rw-------   1 root  wheel  8612108 Mar 16 14:20 ps.core
styx#
styx# which ps
/bin/ps
styx# ls -lad /bin/ps
-r-xr-xr-x  1 root  bin  403752 Oct 13 07:49 /bin/ps
styx# which gdb
/usr/bin/gdb
styx# TERM=dumb /usr/bin/gdb -q /bin/ps ps.core
(no debugging symbols found)
Core was generated by `ps'.
Program terminated with signal 10, Bus error.
#0  0x0000000304727a80 in ?? ()
(gdb) where
#0  0x0000000304727a80 in ?? ()
#1  0x000000030470d87c in ?? ()
Previous frame identical to this frame (corrupt stack?)


So maybe a total native re-build is needed?


-- 
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken