This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug bpf/23875] New: 'stack smashing error' on foreach iteration
- From: "me at serhei dot io" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 09 Nov 2018 17:00:45 +0000
- Subject: [Bug bpf/23875] New: 'stack smashing error' on foreach iteration
- Auto-submitted: auto-generated
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.