[Bug runtime/30534] New: program received "Illegal instruction" when using systemtap set a probe and hit the probe

yang.pan@nokia-sbell.com sourceware-bugzilla@sourceware.org
Fri Jun 9 14:39:30 GMT 2023


https://sourceware.org/bugzilla/show_bug.cgi?id=30534

            Bug ID: 30534
           Summary: program received "Illegal instruction" when using
                    systemtap set a probe and hit the probe
           Product: systemtap
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: yang.pan@nokia-sbell.com
  Target Milestone: ---

I am using systemtap to set a user-space probe for any Linux program et. "ls".
If the probe is hit, the program will get a signal "signal 4 (Illegal
instruction)".

------------------------------------------------
# stap dbg-core.stp -c /usr/bin/ls
WARNING: Child process exited with signal 4 (Illegal instruction)
start debug coredump

WARNING: /usr/bin/staprun exited with status: 1
Pass 5: run failed.  [man error::pass5]
-------------------------------------------------

----------- piece code of dbg-core.stp ---------
probe process("/lib64/libc.so.6").function("_IO_new_fclose").return
{
    printf ("call _IO_new_fclose()")
}
------------------------------------------------  

My Linux system info is as below:

# uname -a
Linux SPVM116A-0-0-1 3.10.0-862.6.3.el7.x86_64 #1 SMP Fri Jun 15 17:57:37 EDT
2018 x86_64 x86_64 x86_64 GNU/Linux

# stap -V
Systemtap translator/driver (version 4.0/0.170/0.176, rpm 4.0-13.el7)
Copyright (C) 2005-2018 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
tested kernel versions: 2.6.18 ... 4.19-rc7
enabled features: AVAHI BOOST_STRING_REF DYNINST BPF JAVA PYTHON2 LIBRPM
LIBSQLITE3 LIBVIRT LIBXML2 NLS NSS READLINE

Please give a suggestion to solve it. Thanks in advance!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list