public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/26957] New: kernel crash when staprun ko which build id not matched
@ 2020-11-27  3:51 dinghui at sangfor dot com.cn
  2020-11-27  4:14 ` [Bug runtime/26957] " dinghui at sangfor dot com.cn
  0 siblings, 1 reply; 2+ messages in thread
From: dinghui at sangfor dot com.cn @ 2020-11-27  3:51 UTC (permalink / raw)
  To: systemtap

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

            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 

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;
   }

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug runtime/26957] kernel crash when staprun ko which build id not matched
  2020-11-27  3:51 [Bug runtime/26957] New: kernel crash when staprun ko which build id not matched dinghui at sangfor dot com.cn
@ 2020-11-27  4:14 ` dinghui at sangfor dot com.cn
  0 siblings, 0 replies; 2+ messages in thread
From: dinghui at sangfor dot com.cn @ 2020-11-27  4:14 UTC (permalink / raw)
  To: systemtap

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

Ding Hui <dinghui at sangfor dot com.cn> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Ding Hui <dinghui at sangfor dot com.cn> ---
duplicate submission
see 26958

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-27  4:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-27  3:51 [Bug runtime/26957] New: kernel crash when staprun ko which build id not matched dinghui at sangfor dot com.cn
2020-11-27  4:14 ` [Bug runtime/26957] " dinghui at sangfor dot com.cn

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).