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

sapatel at redhat dot com sourceware-bugzilla@sourceware.org
Fri Oct 25 17:13:00 GMT 2019


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.


More information about the Systemtap mailing list