Subject: Re: Seemingly random SIGILL in SMP
To: Michael Lorenz <macallan@netbsd.org>
From: Allen Wong <allen@submoron.org>
List: port-macppc
Date: 10/06/2007 07:13:16
--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Michael,
-> Might be a different issue.
-> Although, a miscached PLT entry doesn't necessarily give a SIGILL =20
-> right away, the cache might contain some valid instruction that could =
=20
-> do pretty much anything before faulting somewhere. Is the stack valid =
=20
-> ( eg, does the bt command give a useful stack trace? )
->=20
# gdb -c /usr/src//lib/libcrypto/sh.core /bin/sh
<snip>
Program terminated with signal 4, Illegal instruction.
Reading symbols from /lib/libedit.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libedit.so.2
Reading symbols from /lib/libtermcap.so.0...(no debugging symbols found)...
done.
Loaded symbols for /lib/libtermcap.so.0
Reading symbols from /lib/libc.so.12...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.12
Reading symbols from /libexec/ld.elf_so...(no debugging symbols
found)...done.
Loaded symbols for /libexec/ld.elf_so
#0 0xeff7cf74 in ?? () from /lib/libc.so.12
(gdb) bt
#0 0xeff7cf74 in ?? () from /lib/libc.so.12
#1 0x0180ed20 in waitproc ()
#2 0x0180ea94 in dowait ()
#3 0x0180ea18 in waitforjob ()
#4 0x018055bc in evalcommand ()
#5 0x01803c84 in evaltree ()
#6 0x01803c74 in evaltree ()
#7 0x01803b88 in evalstring ()
#8 0x0180f968 in main ()
#9 0x01801990 in _start ()
#10 0xefff3428 in ?? () from /libexec/ld.elf_so
-> >Can you please build one for 3.1 as well? I'm still working on =20
-> >booting 4.0
-> >on an ide drive. Thanks!
->=20
-> That might take some time, I need to download the source first. If =20
-> you have the source handy, the patch is small, changes only a handful =
=20
-> lines in a single file. See attachment.
->=20
I've applied the patch manually and I'm building it now. I'll let you know.
Allen
--=20
My friends visited Silicon Valley and all I got was this lousy sig.
7:00AM up 10:46, 2 users, load averages: 0.74, 0.32, 0.28
--5mCyUwZo2JvN/JJP
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
iD8DBQFHB5f8aiDOxrzhkxgRAlq2AJ92j5n5rerzogDCWE0Zm3HypIFT9ACcC0x2
3uF6za7EItXMJFICVJ/b048=
=4o2t
-----END PGP SIGNATURE-----
--5mCyUwZo2JvN/JJP--