This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug dyninst/24884] New: stapdyn crashes with a segmentation fault
- From: "avi at cloudius-systems dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 05 Aug 2019 16:42:59 +0000
- Subject: [Bug dyninst/24884] New: stapdyn crashes with a segmentation fault
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=24884
Bug ID: 24884
Summary: stapdyn crashes with a segmentation fault
Product: systemtap
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: dyninst
Assignee: systemtap at sourceware dot org
Reporter: avi@cloudius-systems.com
Target Milestone: ---
Trying the following script:
#!/usr/bin/stap
# usage: task-histogram.stap process_name
global hist
probe process.mark("reactor_run_tasks_single_start") {
++hist[tid(), $arg1]
}
probe end {
foreach ([tid, addr] in hist) {
printf("%10d %8d 0x%x\n", hist[tid, addr], tid, addr)
}
}
(trying to collect a histogram of tasks)
With this command line:
stap --dyninst -x $(pgrep -x httpd) ./debug/task-histogram.stap
Crashes with
WARNING: /usr/bin/stapdyn exited with signal: 11 (Segmentation fault)
systemtap-4.1-1.fc30.x86_64
--
You are receiving this mail because:
You are the assignee for the bug.