From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69637 invoked by alias); 5 Mar 2015 10:28:58 -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 69579 invoked by uid 48); 5 Mar 2015 10:28:50 -0000 From: "mcermak at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/18083] New: listing_mode.exp fails on rhel6 Date: Thu, 05 Mar 2015 10:28:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime 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-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 attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q1/txt/msg00207.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18083 Bug ID: 18083 Summary: listing_mode.exp fails on rhel6 Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: runtime Assignee: systemtap at sourceware dot org Reporter: mcermak at redhat dot com Created attachment 8168 --> https://sourceware.org/bugzilla/attachment.cgi?id=8168&action=edit test logs Commit e93efe2d0 (eliminate gcc5 warnings) introduced listing_mode.exp failures. Some of them were later eliminated by commit 06902e9a6 (Adapt to changed line numbers). Currently (at the f94683c76 time) some failures still remain. Looking at the *first* failure in the x86_64 el6 log I see something that looks like a real systemtap bug. ======= executing: stap -l process.function("main").label("main_label") -c listing_mode received: "process("/root/mcermak-systemtap/systemtap/testsuite/listing_mode").function("main@./systemtap.base/listing_mode.c:37").label("main_label")" expected: "^process\("/root/mcermak-systemtap/systemtap/testsuite/listing_mode"\)\.function\("main@[^:]+:33"\)\.label\("main_label"\)$" FAIL: listing_mode (process.function("main").label("main_label") -c listing_mode) ======= The label actually *is* on line 33 in the test program, but line 37 refers to it too: ======= 29 int main(void) { 30 31 globalvar = foo(globalvar); 32 globalvar = libfoo(globalvar); 33 main_label: 34 STAP_PROBE1(main, mark, globalvar); 35 while (1) {sleep(5000);} 36 return 0; 37 if (0) goto main_label; 38 } ======= So apparently systemtap reports wrong line number in this case. -- You are receiving this mail because: You are the assignee for the bug.