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 bpf/25133] New: stapbpf foreach loop crashing


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.

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