NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/56153: gdb is broken for alpha
On 2021/05/07 22:16, Christos Zoulas wrote:
Looks like a memory allocation issue, can you run with the debugging flags for jemalloc or link with a different memory allocator?
Perhaps this is a generic alpha jemalloc bug.
Hmm, (1)-(3) below results in the same crash for ``gdb cat cat.core''.
(1) Replace libc with that with old jemalloc by LD_LIBRARY_PATH
(2) Set LD_PRELOAD=/usr/lib/libbsdmalloc.so
(3) Set LD_PRELOAD=/usr/lib/libgnumalloc.so
With libc built with -DJEMALLOC_DEBUG:
----
$ LD_LIBRARY_PATH=~/jemalloc_debug gdb cat cat.core
GNU gdb (GDB) 11.0.50.20200914-git
...(snip)...
Reading symbols from cat...
Reading symbols from /usr/libdata/debug//bin/cat.debug...
[New process 18637]
<jemalloc>: /usr/src/external/bsd/jemalloc/lib/../dist/src/rtree.c:205: Failed assertion: "!dependent || leaf != NULL"
[1] Abort trap (core dumped) LD_LIBRARY_PATH=~/jemalloc_debug gdb cat cat.core
----
Thanks,
rin
Home |
Main Index |
Thread Index |
Old Index