This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/14564] ./common/linux-ptrace.c:117: internal-error:linux_ptrace_test_ret_to_nx: Assertion `WIFSTOPPED (status)' failed.


http://sourceware.org/bugzilla/show_bug.cgi?id=14564

--- Comment #4 from Anton Kochkov <anton.kochkov at gmail dot com> 2012-09-09 13:50:13 UTC ---
(In reply to comment #3)
> Created attachment 6629 [details]
> Detection of PaX, also on x86_64.
> 
> Could you check if this patch works?  It would be nice to test it also on
> x86_64.
> Downloading some gentoo .iso but not sure how it will work for me.

With applied patch:

â>gdb `which elinks`
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/elinks...(no debugging symbols found)...done.
(gdb) run http://google.com
Starting program: /usr/bin/elinks http://google.com
./common/linux-ptrace.c:136: internal-error: linux_ptrace_test_ret_to_nx:
Assertion `WIFSIGNALED (status) == SIGKILL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

-- 
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]