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 uprobes/10273] New: uprobes fail to insert on prelinked library


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.


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