Bug 15126

Summary: lsof core dumps with "Illegal instruction"
Product: [Retired] Red Hat Linux Reporter: marek
Component: lsofAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-08-02 15:34:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description marek 2000-08-02 15:34:50 UTC
I'm not sure what kind of problem is this but when I run lsof with any 
parameter (except "-v" - version) it core dumps with the message "Illegal 
instruction". Here is a strace snippet :

getdents(4, /* 4 entries */, 984)       = 56
stat("/proc/1/fd/0", {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
lstat("/proc/1/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
readlink("/proc/1/fd/0", "socket:[172]", 4095) = 12
--- SIGILL (Illegal instruction) ---
+++ killed by SIGILL +++

Upgrading to latest version (4.49) solved this.

I can also send in the core dump.

Comment 1 marek 2000-08-03 14:39:47 UTC
Probably caused by some hardware problems, will do some tests and report later.