This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/20281] New: probe process("") kills stap with SIGABRT
- From: "mcermak at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 21 Jun 2016 09:58:34 +0000
- Subject: [Bug translator/20281] New: probe process("") kills stap with SIGABRT
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20281
Bug ID: 20281
Summary: probe process("") kills stap with SIGABRT
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
Assignee: systemtap at sourceware dot org
Reporter: mcermak at redhat dot com
Target Milestone: ---
Following script makes stap die with a not very user-friendly error message:
=======
work # stap -p3 -e 'probe process("").syscall { println("hey")}' -c /bin/ls
stap: ../../home/mcermak/stap/src/translate.cxx:7424: void
emit_symbol_data(systemtap_session&): Assertion `modname.length() != 0' failed.
Aborted (core dumped)
work #
=======
This happens at translation time at 'assert (modname.length() != 0);' when
processing user modules (files). Maybe this might get caught earlier, possibly
at elaboration time within match_node::find_and_build() (?) and a nicer error
message might get returned.
--
You are receiving this mail because:
You are the assignee for the bug.