[Bug uprobes/10273] New: uprobes fail to insert on prelinked library

mjw at redhat dot com sourceware-bugzilla@sourceware.org
Fri Jun 12 21:16:00 GMT 2009


This might be because of the somewhat peculiar way the exelib.exp test prelinks
the library to an arbitrary address (but doesn't prelink the executable using
it), but the result is a valid executable/sharedlib.

    if {$libprelink == "yes"} {
         set prelink_bin "/usr/sbin/prelink"
         set addr "-r 0x6400000"
         set prelink_cmd [concat $prelink_bin -vfNR $addr $testso]
         send_log "Executing: $prelink_cmd\n"
         catch {eval exec $prelink_cmd} result
         verbose -log "result is $result"
    }


uprobes install fails with:
uprobe failed uprobesgcc-O3de[3865]
'process("/home/mark/src/systemtap/testsuite/libuprobeslibgcc-O3default-prelink-debug.so").function("lib_func@/home/mark/src/systemtap/testsuite/systemtap.exelib/uprobes_lib.c:11")'
addr 00007f65c263a590 rc -22

-- 
           Summary: uprobes fail to insert on prelinked library
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: uprobes
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mjw at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10273

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



More information about the Systemtap mailing list