[Bug bpf/23875] New: 'stack smashing error' on foreach iteration
me at serhei dot io
sourceware-bugzilla@sourceware.org
Fri Nov 9 17:01:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=23875
Bug ID: 23875
Summary: 'stack smashing error' on foreach iteration
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: bpf
Assignee: systemtap at sourceware dot org
Reporter: me at serhei dot io
Target Milestone: ---
global t
probe kernel.function("vfs_read") {
t["key"] = 6
exit()
}
probe end {
c = 0
foreach (k in t)
c++
printf("%d\n", c)
}
Pass 1: parsed user script and 49 library scripts using
120048virt/21872res/8376shr/13356data kb, in 0usr/0sys/7real ms.
Pass 2: analyzed script: 2 probes, 2 functions, 0 embeds, 1 global using
175628virt/78164res/9264shr/68936data kb, in 590usr/20sys/602real ms.
Pass 4: compiled BPF into "stap_12352.bo" in 0usr/0sys/3real ms.
Pass 5: starting run.
1
*** stack smashing detected ***: <unknown> terminated
WARNING: /opt/systemtap/bin/stapbpf exited with signal: 6 (Aborted)
Pass 5: run completed in 0usr/0sys/113real ms.
Pass 5: run failed. [man error::pass5]
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list