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/17751] New: systemtap hangs target process


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

            Bug ID: 17751
           Summary: systemtap hangs target process
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: a.gupta2 at yahoo dot com

systemtap 2.6 hangs target process (sample heapsort program from
https://sourceware.org/systemtap/wiki/AddingUserSpaceProbingToApps) on Ubuntu
12.04 on EC2 (kernel 3.13). It works fine on similar configuration on virtual
box machine.

Detailed description:
1. Had a box of Ubuntu 12.04, kernel 3.2.0-67-virtual on EC2.
2. Upgraded kernel using 'sudo apt-get install linux-image-generic-lts-trusty'
to 3.13.0-43-generic.
3. Built systemtap v2.6 from source and installed it.
4. Built heapsort sample program from systemtap wiki.
5. Ran -> sudo stap -I tapset -c "./heapsort" heap_tap_all.stp

Systemtap hangs the process. After a while I attached gdb to running ./heapsort
process, continued execution of process and got SIGILL. See sample output
below:

 0x00007fd094a60a09 in brk () from /lib/x86_64-linux-gnu/libc.so.6
 (gdb) c
 Continuing.

 Program received signal SIGILL, Illegal instruction.
 0x00007fd094a60a0e in brk () from /lib/x86_64-linux-gnu/libc.so.6
 (gdb) bt
 #0  0x00007fd094a60a0e in brk () from /lib/x86_64-linux-gnu/libc.so.6
 #1  0x00007fd094a60aee in sbrk () from /lib/x86_64-linux-gnu/libc.so.6
 #2  0x00007fd0949f9419 in __default_morecore () from
/lib/x86_64-linux-gnu/libc.so.6
 #3  0x00007fd0949f4d8a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
 #4  0x00007fd0949f6c95 in malloc () from /lib/x86_64-linux-gnu/libc.so.6
 #5  0x00007fd094de8ded in operator new(unsigned long) () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
 #6  0x00007fd094de8f09 in operator new[](unsigned long) () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
 #7  0x0000000000400709 in input_data () at heapsort.cxx:57
 #8  0x00000000004005c9 in main (argc=<optimized out>, argv=<optimized out>) at
heapsort.cxx:33

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