NetBSD-Bugs archive

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

kern/54268: (old) gdb has issues after recent ptrace changes



>Number:         54268
>Category:       kern
>Synopsis:       (old) gdb has issues after recent ptrace changes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 03 15:40:02 +0000 2019
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.42
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD whoever-brings-the-night.aprisoft.de 8.99.42 NetBSD 8.99.42 (WHOEVER) #278: Sun Jun 2 12:42:20 CEST 2019 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/sparc64/compile/WHOEVER sparc64
Architecture: sparc64
Machine: sparc64
>Description:

*old* gdb works mostly on sparc64, but on complex threaded programs
like firefox it fails:

GNU gdb (GDB) 8.0.1
[..]
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./firefox...done.
.gdbinit:189: Error in sourced command file:
gdbpp:5: Error in sourced command file:
Scripting in the "Python" language is not supported in this copy of GDB.
(gdb) run https://pgsnake.blogspot.com/2019/05/avoiding-gmails-confidential-mode.html
Starting program: /pkgbuild/usr/pkgobj/www/firefox52/work/build/dist/bin/firefox https://pgsnake.blogspot.com/2019/05/avoiding-gmails-confidential-mode.html
[New process 18083]
[New LWP 2 of process 18083]
[New LWP 3 of process 18083]
[New LWP 4 of process 18083]
[New LWP 5 of process 18083]
[New LWP 7 of process 18083]
[New LWP 13 of process 18083]
/work/src/external/gpl3/gdb.old/lib/libgdb/../../dist/gdb/infrun.c:7146: internal-error: [LWP 1 of process 18083] has inconsistent state: trap_expected=1

A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) 


>How-To-Repeat:
s/a

>Fix:
n/a



Home | Main Index | Thread Index | Old Index