From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9B4F13856618; Fri, 9 Jun 2023 14:39:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B4F13856618 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686321570; bh=XC01b25kA85hLfSzJ/brr8Eww2SpHaVzxsiAzHgxpB0=; h=From:To:Subject:Date:From; b=AQzo+E0ExZKoDvnsxDDEMUnTy73ZVtK3m9ySMVj3IAabEurvktK2EUbSDkPQUkLXX /fDEvQAa8a5cOE9+TgpI8j95GrKwc4cQenq0YKPbX/l8duLxxzEkbvF1BoYOT66cVL L1xZjjkvzQuaY2zyLQ/cjjuK+2gRtOA50abE8XLs= From: "yang.pan@nokia-sbell.com" 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 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yang.pan@nokia-sbell.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30534 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. "l= s". 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()") } ------------------------------------------------=20=20 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 E= DT 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! --=20 You are receiving this mail because: You are the assignee for the bug.=