[Bug translator/20281] probe process("") kills stap with SIGABRT

mcermak at redhat dot com sourceware-bugzilla@sourceware.org
Fri Jun 24 13:11:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=20281

--- Comment #2 from Martin Cermak <mcermak at redhat dot com> ---
Created attachment 9357
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9357&action=edit
proposed patch

Another, maybe a smarter way to solve this.  Attached patch would produce
following error message:

=======
work #  /opt/mystap/bin/stap -p4 --poison-cache -ve 'probe process("").syscall
{ println("hey") }' -c /bin/ls
Pass 1: parsed user script and 0 library scripts using
212104virt/16728res/8076shr/8432data kb, in 0usr/0sys/0real ms.
semantic error: resolution failed in 

semantic error: while resolving probe point: identifier 'process' at
<input>:1:7
        source: probe process("").syscall { println("hey") }
                      ^

semantic error: empty module

Pass 2: analyzed script: 0 probes, 0 functions, 0 embeds, 0 globals using
212104virt/16728res/8076shr/8432data kb, in 0usr/0sys/0real ms.
Pass 2: analysis failed.  [man error::pass2]
work #
=======

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list