public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "anton.kochkov at gmail dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/14564] New: ./common/linux-ptrace.c:117: internal-error: linux_ptrace_test_ret_to_nx: Assertion `WIFSTOPPED (status)' failed. Date: Sun, 09 Sep 2012 08:40:00 -0000 [thread overview] Message-ID: <bug-14564-4717@http.sourceware.org/bugzilla/> (raw) http://sourceware.org/bugzilla/show_bug.cgi?id=14564 Bug #: 14564 Summary: ./common/linux-ptrace.c:117: internal-error: linux_ptrace_test_ret_to_nx: Assertion `WIFSTOPPED (status)' failed. Product: gdb Version: 7.5 Status: NEW Severity: normal Priority: P2 Component: gdb AssignedTo: unassigned@sourceware.org ReportedBy: anton.kochkov@gmail.com Classification: Unclassified Here is full session log: ┌─[ xvilka@XLaptop ] [ 4:08:44 ] ~ └>gdb gdb GNU gdb (Gentoo 7.5 p1) 7.5 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/gdb...(no debugging symbols found)...done. (gdb) run elinks Starting program: /usr/bin/gdb elinks ./common/linux-ptrace.c:117: internal-error: linux_ptrace_test_ret_to_nx: Assertion `WIFSTOPPED (status)' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) n ./common/linux-ptrace.c:117: internal-error: linux_ptrace_test_ret_to_nx: Assertion `WIFSTOPPED (status)' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Create a core file of GDB? (y or n) N (gdb) n Cannot execute this command while the selected thread is running. (gdb) q A debugging session is active. Inferior 1 [process 4439] will be killed. Quit anyway? (y or n) y Here is uname: Linux XLaptop 3.5.1-hardened #1 PREEMPT Sun Aug 12 16:29:19 MSK 2012 i686 Intel(R) Celeron(R) CPU 743 @ 1.30GHz GenuineIntel GNU/Linux Here is part of dmesg (PaX) error: [2396058.354252] PAX: execution attempt in: <anonymous mapping>, aa1d2000-aa1d5000 aa1d2000 [2396058.354259] PAX: terminating task: /usr/bin/gdb(gdb):15808, uid/euid: 1000/1000, PC: aa1d2000, SP: bb6d5690 [2396058.354262] PAX: bytes at PC: cc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [2396058.354276] PAX: bytes at SP-4: aa1d2000 00000000 00000000 00000000 00000000 ffffffff 00000000 00000000 176cba91 00004200 00003dbd 00000000 0000003f 00003dbd 00003dbd 00000000 cc6c4300 00003dbd 00003dbd 00000000 186d46f4 [2396058.354319] grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/gdb[gdb:15808] uid/euid:1000/1000 gid/egid:1000/1000, parent /usr/bin/gdb[gdb:15802] uid/euid:1000/1000 gid/egid:1000/1000 [2400796.221781] PAX: execution attempt in: <anonymous mapping>, a486b000-a486e000 a486b000 [2400796.221789] PAX: terminating task: /usr/bin/gdb(gdb):4442, uid/euid: 1000/1000, PC: a486b000, SP: b4bb9440 [2400796.221792] PAX: bytes at PC: cc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [2400796.221807] PAX: bytes at SP-4: a486b000 00000000 00000000 00000000 00000000 ffffffff 00000000 00000000 16505a91 00004200 00001157 00000000 0000003f 00001157 00001157 00000000 4742b000 00001157 00001157 00000000 1750e6f4 [2400796.221846] grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/gdb[gdb:4442] uid/euid:1000/1000 gid/egid:1000/1000, parent /usr/bin/gdb[gdb:4437] uid/euid:1000/1000 gid/egid:1000/1000 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
next reply other threads:[~2012-09-09 8:40 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-09-09 8:40 anton.kochkov at gmail dot com [this message] 2012-09-09 8:42 ` [Bug gdb/14564] " anton.kochkov at gmail dot com 2012-09-09 9:39 ` anton.kochkov at gmail dot com 2012-09-09 12:22 ` jan.kratochvil at redhat dot com 2012-09-09 12:23 ` jan.kratochvil at redhat dot com 2012-09-09 13:50 ` anton.kochkov at gmail dot com 2012-09-09 13:54 ` jan.kratochvil at redhat dot com 2012-09-09 14:10 ` anton.kochkov at gmail dot com 2012-09-09 14:15 ` jan.kratochvil at redhat dot com 2012-09-09 14:37 ` anton.kochkov at gmail dot com 2023-12-31 14:55 ` ssbssa at sourceware dot org 2024-01-01 5:56 ` jan at jankratochvil dot net
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-14564-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).