Antiquated hardware crashes with SIGILL

Bug #1775754 reported by hackerb9
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysdig (Ubuntu)
New
Undecided
Unassigned

Bug Description

Antiquated hardware (i686-class pentium iii) runs Ubuntu great 99%, but Csysdig may be in the 1%. (Sysdig itself runs fine. Csysdig, the curses interface, crashes with SIGILL.)

If this can't be fixed it'd be nice if Ubuntu separated/labelled packages that require special cpu features.

GDB backtrace:

$ sudo gdb csysdig
(gdb) run
(gdb) bt
#0 0xb7aeee51 in ?? () from /usr/lib/i386-linux-gnu/libluajit-5.1.so.2
#1 0xb7aeef91 in ?? () from /usr/lib/i386-linux-gnu/libluajit-5.1.so.2
#2 0xb7b15fef in luaopen_base ()
   from /usr/lib/i386-linux-gnu/libluajit-5.1.so.2
#3 0xb7ac08ea in ?? () from /usr/lib/i386-linux-gnu/libluajit-5.1.so.2
#4 0xb7b1d83b in luaL_openlibs ()
   from /usr/lib/i386-linux-gnu/libluajit-5.1.so.2
#5 0x0047b718 in sinsp_chisel::init_lua_chisel(chisel_desc&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#6 0x0047c95e in sinsp_chisel::get_chisel_list(std::vector<chisel_desc, std::allocator<chisel_desc> >*) ()
#7 0x0046dfab in csysdig_init(int, char**) ()
#8 0x00453e65 in main ()
(gdb) c
Continuing.

Program terminated with signal SIGILL, Illegal instruction.
The program no longer exists

$ file /usr/bin/csysdig
/usr/bin/csysdig: ELF 32-bit LSB shared object, Intel 80386, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=d912ec095a497a8c0d037bd739409cabe073dc3e, stripped

$ file /usr/lib/i386-linux-gnu/libluajit-5.1.so.2.1.0
/usr/lib/i386-linux-gnu/libluajit-5.1.so.2.1.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=056c956129e8a8fcf3f777a7be44491dcc5783f0, stripped

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: sysdig 0.19.1-1build2
ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
Uname: Linux 4.15.0-22-generic i686
ApportVersion: 2.20.9-0ubuntu7.1
Architecture: i386
Date: Thu Jun 7 19:33:28 2018
SourcePackage: sysdig
UpgradeStatus: Upgraded to bionic on 2018-05-24 (14 days ago)

Revision history for this message
hackerb9 (hackerb9) wrote :
Revision history for this message
hackerb9 (hackerb9) wrote :

By the way, I just tested it and csysdig works if compiled with liblua instead of libluajit. Maybe the i386 build should default to that.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.