public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/20281] New: probe process("")  kills stap with SIGABRT
@ 2016-06-21  9:58 mcermak at redhat dot com
  2016-06-21 12:52 ` [Bug translator/20281] " mcermak at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mcermak at redhat dot com @ 2016-06-21  9:58 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-06-28 14:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-21  9:58 [Bug translator/20281] New: probe process("") kills stap with SIGABRT mcermak at redhat dot com
2016-06-21 12:52 ` [Bug translator/20281] " mcermak at redhat dot com
2016-06-24 13:11 ` mcermak at redhat dot com
2016-06-28  4:24 ` mcermak at redhat dot com
2016-06-28 14:36 ` mcermak at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).