Red Hat Bugzilla – Bug 5203
Illegal instruction in in endservent ()
Last modified: 2008-05-01 11:37:51 EDT
nslookup and other related tools (host, named) either lockup
(require kill -9) or core dump with Illegal instruction
Output of gdb /usr/bin/nslookup core
GNU gdb 22.214.171.124 with Linux support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public
License, and you are
welcome to change it and/or distribute copies of it under
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show
warranty" for details.
This GDB was configured as "i386-redhat-linux"...(no
debugging symbols found)...
Core was generated by `nslookup'.
Program terminated with signal 4, Illegal instruction.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0 0x8059c47 in endservent ()
I installed RedHat on a pentium, but when copied to am AMD
386, it causes problems. I think the problem is libc
related, somewhere in name resolution.
The CPU does suffer from the popd bug.. here is dmesg
Linux version 2.2.5-15 (email@example.com) (gcc
version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
) #1 Mon Apr 19 21:39:28 EDT 1999
Console: colour VGA+ 80x25
Calibrating delay loop... 7.94 BogoMIPS
Memory: 14648k/16640k available (1060k kernel code, 412k
reserved, 460k data, 60k init)
Checking if this processor honours the WP bit even in
supervisor mode... No.
VFS: Diskquotas version dquot_6.4.0 initialized
Checking 'hlt' instruction... OK.
Checking for popad bug... Buggy.
The asm command which appears to cause the problem is the
Yup. If you grab the latest bind-utils from Raw Hide it should
be fixed. The compiler was outputting 486+ instructions when it