This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/16406] New: pass-5 build-id mismatch when -c cmd has same name as module


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

            Bug ID: 16406
           Summary: pass-5 build-id mismatch when -c cmd has same name as
                    module
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: jlebon at redhat dot com

For example, the following works:

$ stap -e 'probe process.function("main") { println("main entered") }' -c ls
file1  file2
main entered
$

But this fails:

$ stap -e 'probe process.function("main") { println("main entered") }' -c ls -m
ls
ERROR: Build-id mismatch [man error::buildid]: "/usr/bin/ls" byte 0 (0xdc vs
0x00) address 0xffffffffa06862bc rc -14
WARNING: Child process exited with signal 9 (Killed)
WARNING: /usr/bin/staprun exited with status: 1
Pass 5: run failed.  [man error::pass5]
$

I'm guessing the runtime is getting confused during build-id checking between
the module name and the name of the target.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]