From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9750 invoked by alias); 30 Jun 2017 10:09:54 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 9730 invoked by uid 89); 30 Jun 2017 10:09:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=D*plt, tracer, Hx-languages-length:1742 X-HELO: mx1.redhat.com DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 95C95D6494 Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 95C95D6494 Subject: Re: [PATCH] S390: Sync ptrace.h with kernel. [BZ #21539] To: Stefan Liebler , libc-alpha@sourceware.org References: <20170613200522.GA14306@altlinux.org> From: Florian Weimer Message-ID: Date: Fri, 30 Jun 2017 10:09:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2017-06/txt/msg01594.txt.bz2 On 06/19/2017 03:10 PM, Stefan Liebler wrote: > * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c: > New file. The test fails for me like this on s390x: [root@ibm-z-25 build]# bash testrun.sh misc/tst-ptrace-singleblock cat /proc/23548/maps 80000000-80004000 r-xp 00000000 fd:00 1883202 /root/build/misc/tst-ptrace-singleblock 80004000-80005000 r--p 00003000 fd:00 1883202 /root/build/misc/tst-ptrace-singleblock 80005000-80006000 rw-p 00004000 fd:00 1883202 /root/build/misc/tst-ptrace-singleblock 2aa00794000-2aa007ba000 r-xp 00000000 fd:00 34794498 /root/build/elf/ld.so 2aa007ba000-2aa007bb000 r--p 00025000 fd:00 34794498 /root/build/elf/ld.so 2aa007bb000-2aa007bd000 rw-p 00026000 fd:00 34794498 /root/build/elf/ld.so 3fffd1e9000-3fffd1ea000 rw-s 00000000 00:04 146001 /dev/zero (deleted) 3fffd1ea000-3fffd1ec000 rw-p 00000000 00:00 0 3fffd1ec000-3fffd38d000 r-xp 00000000 fd:00 34794501 /root/build/libc.so 3fffd38d000-3fffd391000 r--p 001a0000 fd:00 34794501 /root/build/libc.so 3fffd391000-3fffd393000 rw-p 001a4000 fd:00 34794501 /root/build/libc.so 3fffd393000-3fffd39a000 rw-p 00000000 00:00 0 3ffffe62000-3fffff83000 rw-p 00000000 00:00 0 [stack] child IA: 0x3fffd22ac62 last_break: 0x2aa0079e218 error: ../sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:111: not true: ptrace (req_singleblock, pid, NULL, NULL) == 0 The PTRACE_SINGLEBLOCK of the tracer will stop after: brasl %r14,! error: 1 test failures [root@ibm-z-25 build]# Relevant package versions: kernel-3.10.0-689.el7.s390x kernel-headers-3.10.0-689.el7.s390x devtoolset-6-gcc-6.3.1-3.1.el7.s390x Please let me know if you need additional information to debug this. Thanks, Florian