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

mcermak at redhat dot com sourceware-bugzilla@sourceware.org
Tue Jun 21 09:58:00 GMT 2016


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.


More information about the Systemtap mailing list