public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "yang.pan@nokia-sbell.com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug runtime/30534] New: program received "Illegal instruction" when using systemtap set a probe and hit the probe
Date: Fri, 09 Jun 2023 14:39:30 +0000	[thread overview]
Message-ID: <bug-30534-6586@http.sourceware.org/bugzilla/> (raw)

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.

             reply	other threads:[~2023-06-09 14:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-09 14:39 yang.pan@nokia-sbell.com [this message]
2023-10-12 20:43 ` [Bug runtime/30534] " wcohen at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-30534-6586@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).