NetBSD-Bugs archive

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

toolchain/54877: gdb_exception_RETURN_MASK_ERROR on evbarm



>Number:         54877
>Category:       toolchain
>Synopsis:       gdb stack walking sometimes fails
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 19 12:05:01 +0000 2020
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.37
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD space-truckin.duskware.de 9.99.37 NetBSD 9.99.37 (GENERIC) #43: Mon Jan 13 18:34:10 CET 2020 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/evbarm/compile/GENERIC evbarm
Architecture: earmv7hfeb
Machine: evbarm
>Description:

While in gdb:

(gdb) c
Continuing.
assertion "info->nat_type != NULL" failed: file "/usr/src/usr.sbin/sysinst/arch/evbarm/../../mbr.c", line 2061, function "mbr_add_part"

Thread 1 "" received signal SIGABRT, Aborted.
0x7935b000 in _lwp_kill () from /usr/lib/libc.so.12
(gdb) up
#1  0x79359bec in abort () at /work/src/lib/libc/stdlib/abort.c:74
74      /work/src/lib/libc/stdlib/abort.c: No such file or directory.
(gdb) 
#2  0x793586b4 in __assert13 (
    file=0x7243aa8 "/usr/src/usr.sbin/sysinst/arch/evbarm/../../mbr.c", 
terminate called after throwing an instance of 'gdb_exception_RETURN_MASK_ERROR'
    line=line@entry=2061, 
[ 445745.2228103] sorry, pid 28004 was killed: orphaned traced process
Abort (core dumped)
>  gdb gdb gdb.core
Reading symbols from gdb...
Reading symbols from /usr/libdata/debug//usr/bin/gdb.debug...
[New process 1]
Core was generated by `gdb'.
Program terminated with signal SIGABRT, Aborted.
#0  0x5dcbb000 in _lwp_kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0x5dcbb000 in _lwp_kill () from /usr/lib/libc.so.12
#1  0x5dcb9bec in abort () at /work/src/lib/libc/stdlib/abort.c:74
#2  0x5de41144 in __gnu_cxx::__verbose_terminate_handler ()
    at /work/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/vterminate.cc:95
terminate called after throwing an instance of 'gdb_exception_RETURN_MASK_ERROR'
#3  0x5de4bd18 in __cxxabiv1::__terminate (Abort (core dumped)

I guess I can recurse that a few times deeper ;-)

>How-To-Repeat:
n/a

>Fix:
n/a



Home | Main Index | Thread Index | Old Index