From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BA89C386188D; Mon, 7 Dec 2020 20:29:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA89C386188D From: "agentzh at gmail dot com" To: systemtap@sourceware.org Subject: [Bug bpf/27030] bpf: user_long_error() leads to assertion failures in the translator Date: Mon, 07 Dec 2020 20:29:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: bpf X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: agentzh at gmail dot 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: Message-ID: In-Reply-To: References: 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 X-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2020 20:29:37 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27030 --- Comment #2 from agentzh --- Tried the same example on an older kernel on Fedora 28 x86_64. Same thing: ``` [agentzh@glass ~/git/systemtap.new 1 (master)]$ /opt/stap/bin/stap --bpf -c /tmp/a.out -e 'probe process("/tmp/a.out").function("main") { println("a: ", user_long_error(0x601020)) exit() }' stap: staptree.h:1349: virtual update_visitor::~update_visitor(): Assertion `values.empty()' failed. Aborted (core dumped) [agentzh@glass ~/git/systemtap.new 134 (master)]$ cat /proc/version Linux version 5.0.16-100.fc28.x86_64 (mockbuild@bkernel04.phx2.fedoraproject.org) (gcc version 8.3.1 20190223 (R= ed Hat 8.3.1-2) (GCC)) #1 SMP Tue May 14 18:22:28 UTC 2019 [agentzh@glass ~/git/systemtap.new 0 (master)]$ /opt/stap/bin/stap -V Systemtap translator/driver (version 4.5/0.177, commit release-4.4-24-g3e0d449fe427 + changes) Copyright (C) 2005-2020 Red Hat, Inc. and others This is free software; see the source for copying conditions. tested kernel versions: 2.6.32 ... 5.10.0-rc enabled features: BOOST_STRING_REF DYNINST BPF LIBSQLITE3 LIBXML2 NLS READL= INE ``` --=20 You are receiving this mail because: You are the assignee for the bug.=