NetBSD-Bugs archive

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

toolchain/53643: gdb on core files fails on arm



>Number:         53643
>Category:       toolchain
>Synopsis:       gdb on core files fails on arm
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 29 22:45:00 +0000 2018
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.25
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD space-truckin.duskware.de 8.99.25 NetBSD 8.99.25 (SUNXI) #78: Sat Sep 29 20:54:01 CEST 2018 martin%night-owl.duskware.de@localhost:/usr/src/sys/arch/evbarm/compile/SUNXI evbarm
Architecture: earmv7hfeb
Machine: evbarm
>Description:

The new openssl does not work well on arm. I get various core files, but
looking at them seems to be unreliable:

Core was generated by `ssh-add'.
Program terminated with signal SIGILL, Illegal instruction.
#0  0x6f559468 in _armv7_tick () from /usr/lib/libcrypto.so.14
(gdb) bt
#0  0x6f559468 in _armv7_tick () from /usr/lib/libcrypto.so.14
Register 25 is not available

Note that even the pc register is likely wrong - the instruction it points
at is not illegal on this cpu, and tracing through the call in live
instances does not throw a SIGILL.

>How-To-Repeat:
Just use gdb on a core file on arm. Maybe special for big endian arm?

>Fix:
n/a



Home | Main Index | Thread Index | Old Index