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/10323] New: some ustack exelib.exp tests fail with prelinked shared libs


Seems we are not fetching the unwind tables correctly in some prelinked scenarios.

Example failure case:

sourcing: /home/mark/src/systemtap/testsuite/systemtap.exelib/ustack.tcl for
uprobesgcc-O0default-debug-uprobeslibgcc-O0default-prelink-debug_uprobeslibgcc-O0default-prelink-debug
Running: stap -DMAXSTRINGLEN=133
/home/mark/src/systemtap/testsuite/systemtap.exelib/ustack.stp
./uprobesgcc-O0default-debug-uprobeslibgcc-O0default-prelink-debug_exe
./libuprobeslibgcc-O0default-prelink-debug.so -c
./uprobesgcc-O0default-debug-uprobeslibgcc-O0default-prelink-debug_exe
print_ubacktrace exe 0
 0x00000000004005ed : main_func+0x1/0x53
[/home/mark/src/systemtap/testsuite/uprobesgcc-O0default-debug-uprobeslibgcc-O0default-prelink-debug_exe]
 0x0000000000400666 : main+0x27/0x41
[/home/mark/src/systemtap/testsuite/uprobesgcc-O0default-debug-uprobeslibgcc-O0default-prelink-debug_exe]
print_ustack exe 1
 0x00000000004005ed : main_func+0x1/0x53
[/home/mark/src/systemtap/testsuite/uprobesgcc-O0default-debug-uprobeslibgcc-O0default-prelink-debug_exe]
 0x000000000040062a : main_func+0x3e/0x53
[/home/mark/src/systemtap/testsuite/uprobesgcc-O0default-debug-uprobeslibgcc-O0default-prelink-debug_exe]
 0x0000000000400666 : main+0x27/0x41
[/home/mark/src/systemtap/testsuite/uprobesgcc-O0default-debug-uprobeslibgcc-O0default-prelink-debug_exe]
print_ubacktrace lib 2
 0x00000000064005cd : lib_func+0x1/0x4c
[/home/mark/src/systemtap/testsuite/libuprobeslibgcc-O0default-prelink-debug.so]
print_ustack lib 3
 0x00000000064005cd : lib_func+0x1/0x4c
[/home/mark/src/systemtap/testsuite/libuprobeslibgcc-O0default-prelink-debug.so]
PASS:
ustack-uprobesgcc-O0default-debug-uprobeslibgcc-O0default-prelink-debug_uprobeslibgcc-O0default-prelink-debug
print
FAIL:
ustack-uprobesgcc-O0default-debug-uprobeslibgcc-O0default-prelink-debug_uprobeslibgcc-O0default-prelink-debug
main (2)
FAIL:
ustack-uprobesgcc-O0default-debug-uprobeslibgcc-O0default-prelink-debug_uprobeslibgcc-O0default-prelink-debug
main_func (3)
FAIL:
ustack-uprobesgcc-O0default-debug-uprobeslibgcc-O0default-prelink-debug_uprobeslibgcc-O0default-prelink-debug
lib_main (0)
FAIL:
ustack-uprobesgcc-O0default-debug-uprobeslibgcc-O0default-prelink-debug_uprobeslibgcc-O0default-prelink-debug
lib_func (2)

-- 
           Summary: some ustack exelib.exp tests fail with prelinked shared
                    libs
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mjw at redhat dot com


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

------- 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]