This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]