From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10820 invoked by alias); 12 Dec 2014 17:44:53 -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 10762 invoked by uid 48); 12 Dec 2014 17:44:49 -0000 From: "mcermak at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/17706] New: user string copy fault on s390 in 31-on-64 mode Date: Fri, 12 Dec 2014 17:44: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 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: 2014-q4/txt/msg00214.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17706 Bug ID: 17706 Summary: user string copy fault on s390 in 31-on-64 mode Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: runtime Assignee: systemtap at sourceware dot org Reporter: mcermak at redhat dot com I see following user string copy fault on s390 in 31-on-64 mode. Note that strace seems to have similar issue: 7.1 S s390x # cat openclose.c /* COVERAGE: open openat close creat */ #define _GNU_SOURCE #include #include #include #include #include #include int main() { int fd1; fd1 = openat(AT_FDCWD, "foobar2", O_WRONLY|O_CREAT, S_IRWXU); close(fd1); return 0; } 7.1 S s390x # gcc openclose.c -m31 7.1 S s390x # stap -e 'probe syscall.openat {print(user_string($filename))}' -c ./a.out ERROR: user string copy fault -14 at 000002aa004006a0 [man error::fault] near identifier 'user_string_n' at /root/mcermak-systemtap/systemtap-build/share/systemtap/tapset/uconversions.stp:120:10 WARNING: Number of errors: 1, skipped probes: 1 WARNING: /root/mcermak-systemtap/systemtap-build/bin/staprun exited with status: 1 Pass 5: run failed. [man error::pass5] 7.1 S s390x # Please, review. -- You are receiving this mail because: You are the assignee for the bug.