public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug bpf/25133] New: stapbpf foreach loop crashing
@ 2019-10-25 17:13 sapatel at redhat dot com
  2019-10-25 17:14 ` [Bug bpf/25133] " sapatel at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: sapatel at redhat dot com @ 2019-10-25 17:13 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug bpf/25133] stapbpf foreach loop crashing
  2019-10-25 17:13 [Bug bpf/25133] New: stapbpf foreach loop crashing sapatel at redhat dot com
@ 2019-10-25 17:14 ` sapatel at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: sapatel at redhat dot com @ 2019-10-25 17:14 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-25 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-25 17:13 [Bug bpf/25133] New: stapbpf foreach loop crashing sapatel at redhat dot com
2019-10-25 17:14 ` [Bug bpf/25133] " sapatel at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).