Port-evbmips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: X on Lemote Yeeloong



On Mon, 25 Jan 2016, matthew green wrote:

> 	Option "NoTrapSignals"  "true"
> 
> in xorg.conf.  then you'll get a core file.  you could also try
> running this directly inside gdb.

I've had this defined for the last six months.  Xorg will not produce
a core dump unless run directly as "root" ('Xorg' being SUID is not
enough).  I discovered this by accident just now.  GDB doesn't recognize
the resulting "Xorg.core" file as a valid core file.

Attempting to run directly under 'gdb' exposes an internal error in
'gdb':


1026 [sysop@chalk:~/prj/xorg]$ sudo gdb X
GNU gdb (GDB) 7.9.1
Copyright (C) 2015 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 "mips64el--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from X...Reading symbols from /usr/libdata/debug//usr/X11R7/bin/Xorg.debug...done.
done.
(gdb) run
Starting program: /usr/X11R7/bin/X 
/x/nbsd-tst/src/external/gpl3/gdb/lib/libgdb/../../dist/gdb/mips-tdep.c:768: internal-error: bad register size
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y

This is a bug, please report it.  For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.

/x/nbsd-tst/src/external/gpl3/gdb/lib/libgdb/../../dist/gdb/mips-tdep.c:768: internal-error: bad register size
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y
sorry, pid 270 was killed: orphaned traced process
Abort 
1027 [sysop@chalk:~/prj/xorg]$


-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index