From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5E605385EC54; Fri, 27 Nov 2020 03:51:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5E605385EC54 From: "dinghui at sangfor dot com.cn" To: systemtap@sourceware.org Subject: [Bug runtime/26957] New: kernel crash when staprun ko which build id not matched Date: Fri, 27 Nov 2020 03:51:27 +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: critical X-Bugzilla-Who: dinghui at sangfor dot com.cn 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 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: Fri, 27 Nov 2020 03:51:27 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26957 Bug ID: 26957 Summary: kernel crash when staprun ko which build id not matched Product: systemtap Version: unspecified Status: UNCONFIRMED Severity: critical Priority: P2 Component: runtime Assignee: systemtap at sourceware dot org Reporter: dinghui at sangfor dot com.cn Target Milestone: --- When we build a ko by stap, which=20 diff --git a/runtime/sym.c b/runtime/sym.c index a51f08c9e..521aebe48 100644 --- a/runtime/sym.c +++ b/runtime/sym.c @@ -735,7 +735,7 @@ static int _stp_build_id_check (struct _stp_module *m, // we make sure below is really a warning. _stp_warn ("Build-id mismatch [man warning::buildid]: \"%s\" pid= %ld address " "%#lx, expected %s actual %s\n", - m->path, (long) tsk->tgid, + m->path, (long) (tsk ? tsk->tgid : 0), notes_addr, hexstring_theory, hexstring_practice); return 1; } --=20 You are receiving this mail because: You are the assignee for the bug.=