[Bug bpf/25133] New: stapbpf foreach loop crashing

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug bpf/25133] New: stapbpf foreach loop crashing

tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25133

            Bug ID: 25133
           Summary: stapbpf foreach loop crashing
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: bpf
          Assignee: systemtap at sourceware dot org
          Reporter: sapatel at redhat dot com
  Target Milestone: ---

Using foreach loops with stapbpf cause segmentation faults sometimes. For
example, consider the following script:

$ stap --bpf -e 'global arr probe oneshot { arr["a"] = 0; arr["b"] = 1; foreach
(v = k in arr) { printf("%s", k) } }'.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug bpf/25133] stapbpf foreach loop crashing

tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25133

Sagar Patel <sapatel at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|systemtap at sourceware dot org    |sapatel at redhat dot com

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