public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "wcohen at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug translator/24224] tapsets.cxx Assert kernel relocation invariants fails for some kernel.function("*@*.c:*") probes
Date: Fri, 15 Feb 2019 21:33:00 -0000	[thread overview]
Message-ID: <bug-24224-6586-GRQ9JH1iJw@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-24224-6586@http.sourceware.org/bugzilla/>

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

--- Comment #1 from William Cohen <wcohen at redhat dot com> ---
Created attachment 11609
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11609&action=edit
Diagnostic to see what values are used for the assert tests

To get a better idea of what is happening have this patch printing out
information each time those asserts are run:

For nanosleep function everything fine:

[wcohen@cervelo systemtap]$ ../install/bin/stap -wp4
testsuite/systemtap.examples/general/varwatch.stp
'kernel.statement("do_nanosleep@*:*")' '$$vars'
section=_stext dwfl_addr=ffffffff819434f0 addr=9434f0
section=_stext dwfl_addr=ffffffff81943517 addr=943517
section=_stext dwfl_addr=ffffffff8194352c addr=94352c
section=_stext dwfl_addr=ffffffff81943559 addr=943559
section=_stext dwfl_addr=ffffffff81943561 addr=943561
section=_stext dwfl_addr=ffffffff81943568 addr=943568
section=_stext dwfl_addr=ffffffff819435a7 addr=9435a7
section=_stext dwfl_addr=ffffffff819435c4 addr=9435c4
section=_stext dwfl_addr=ffffffff819435d6 addr=9435d6
section=_stext dwfl_addr=ffffffff81943665 addr=943665
section=_stext dwfl_addr=ffffffff819435e1 addr=9435e1
section=_stext dwfl_addr=ffffffff819435ed addr=9435ed
section=_stext dwfl_addr=ffffffff81943601 addr=943601
section=_stext dwfl_addr=ffffffff8194363f addr=94363f
section=_stext dwfl_addr=ffffffff8194364f addr=94364f
section=_stext dwfl_addr=ffffffff81943669 addr=943669
section=_stext dwfl_addr=ffffffff81943608 addr=943608
section=_stext dwfl_addr=ffffffff810b8360 addr=b8360
section=_stext dwfl_addr=ffffffff810b7030 addr=b7030
section=_stext dwfl_addr=ffffffff810b7cf5 addr=b7cf5
section=_stext dwfl_addr=ffffffff810b8ce6 addr=b8ce6
/home/wcohen/.systemtap/cache/71/stap_7166ef1db3ec33859804979a9640e95d_22392.ko


For do_sys_open function see a bunch of addr that match up to the start of the
function ffffffff812b0000

$ ../install/bin/stap -wp4 testsuite/systemtap.examples/general/varwatch.stp
'kernel.statement("do_sys_open@fs/open.c:*")' '$$vars'
section=_stext dwfl_addr=ffffffff812b0000 addr=2b0000
section=_stext dwfl_addr=ffffffff812b0027 addr=2b0027
section=_stext dwfl_addr=ffffffff812b0103 addr=2b0103
section=_stext dwfl_addr=ffffffff812b0000 addr=ffffffff812b0000
semantic error: inconsistent relocation address: keyword at
testsuite/systemtap.examples/general/varwatch.stp:5:1
        source: probe $1 {
                ^

section=_stext dwfl_addr=ffffffff812b01f6 addr=2b01f6
section=_stext dwfl_addr=ffffffff812b0000 addr=ffffffff812b0000
section=_stext dwfl_addr=ffffffff812b00e6 addr=2b00e6
section=_stext dwfl_addr=ffffffff812b0000 addr=ffffffff812b0000
section=_stext dwfl_addr=ffffffff812b010b addr=2b010b
section=_stext dwfl_addr=ffffffff812b0000 addr=ffffffff812b0000
section=_stext dwfl_addr=ffffffff812b0113 addr=2b0113
section=_stext dwfl_addr=ffffffff812b0000 addr=ffffffff812b0000
section=_stext dwfl_addr=ffffffff812b011c addr=2b011c
section=_stext dwfl_addr=ffffffff812b0000 addr=ffffffff812b0000
section=_stext dwfl_addr=ffffffff812b0177 addr=2b0177
section=_stext dwfl_addr=ffffffff812b0000 addr=ffffffff812b0000
section=_stext dwfl_addr=ffffffff812b0189 addr=2b0189
section=_stext dwfl_addr=ffffffff812b0000 addr=ffffffff812b0000
section=_stext dwfl_addr=ffffffff812b0191 addr=2b0191
section=_stext dwfl_addr=ffffffff812b0000 addr=ffffffff812b0000
section=_stext dwfl_addr=ffffffff812b0193 addr=2b0193
section=_stext dwfl_addr=ffffffff812b0000 addr=ffffffff812b0000
section=_stext dwfl_addr=ffffffff812b019c addr=2b019c
section=_stext dwfl_addr=ffffffff812b0000 addr=ffffffff812b0000
section=_stext dwfl_addr=ffffffff812b01e7 addr=2b01e7
section=_stext dwfl_addr=ffffffff812b0000 addr=ffffffff812b0000
section=_stext dwfl_addr=ffffffff812b0120 addr=2b0120
section=_stext dwfl_addr=ffffffff812b0000 addr=ffffffff812b0000
section=_stext dwfl_addr=ffffffff812b0128 addr=2b0128
section=_stext dwfl_addr=ffffffff812b0000 addr=ffffffff812b0000
section=_stext dwfl_addr=ffffffff812b012b addr=2b012b
section=_stext dwfl_addr=ffffffff812b0000 addr=ffffffff812b0000
section=_stext dwfl_addr=ffffffff810b8360 addr=b8360
section=_stext dwfl_addr=ffffffff810b7030 addr=b7030
section=_stext dwfl_addr=ffffffff810b7cf5 addr=b7cf5
section=_stext dwfl_addr=ffffffff810b8ce6 addr=b8ce6
Pass 2: analysis failed.  [man error::pass2]
Number of similar error messages suppressed: 14.
Rerun with -v to see them.

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

  reply	other threads:[~2019-02-15 21:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-15 21:06 [Bug translator/24224] New: " wcohen at redhat dot com
2019-02-15 21:33 ` wcohen at redhat dot com [this message]
2019-02-22 21:58 ` [Bug translator/24224] " wcohen at redhat dot com
2019-02-26 15:49 ` wcohen at redhat dot com
2019-02-26 18:44 ` wcohen at redhat dot com
2019-02-26 19:18 ` wcohen at redhat dot com
2019-02-26 19:23 ` [Bug translator/24224] tapsets.cxx kernel relocation assert fails when attempting to access some function parameters wcohen at redhat dot com
2019-03-08 16:33 ` 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-24224-6586-GRQ9JH1iJw@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).