From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5997 invoked by alias); 21 Jun 2016 09:58:48 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 5816 invoked by uid 48); 21 Jun 2016 09:58:35 -0000 From: "mcermak at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/20281] New: probe process("") kills stap with SIGABRT Date: Tue, 21 Jun 2016 09:58:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mcermak at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-q2/txt/msg00261.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D20281 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: =3D=3D=3D=3D=3D=3D=3D 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() !=3D 0' f= ailed. Aborted (core dumped) work # =3D=3D=3D=3D=3D=3D=3D This happens at translation time at 'assert (modname.length() !=3D 0);' when processing user modules (files). Maybe this might get caught earlier, poss= ibly at elaboration time within match_node::find_and_build() (?) and a nicer err= or message might get returned. --=20 You are receiving this mail because: You are the assignee for the bug.