Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2025 08:34:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 289405] systematic LD segmentation fault
Message-ID:  <bug-289405-227-DJECDdap6X@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-289405-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289405

Santiago Martinez <sm@codenetworks.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sm@codenetworks.net

--- Comment #14 from Santiago Martinez <sm@codenetworks.net> ---
Hi everyone, 

I also started getting LD segfaults.

root@tucho:/home/smartinez # ld
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the
crash backtrace.
Stack dump:
0.      Program arguments: ld
 #0 0x00002e220238bbf9 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
/usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:13
 #1 0x00002e2202389965 llvm::sys::RunSignalHandlers()
/usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:106:18
 #2 0x00002e220238c307 SignalHandler
/usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3
 #3 0x00002e2204b9b2dc handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0:3
 #4 0x00002e2204b9a8eb thr_sighandler
/usr/src/lib/libthr/thread/thr_sig.c:262:1
 #5 0x00002e21fbeca2d3 ([vdso]+0x2d3)
 #6 0x00002e2206ea9dbd atomic_load_u
/usr/src/contrib/jemalloc/include/jemalloc/internal/atomic.h:91:1
 #7 0x00002e2206ea9dbd rtree_leaf_elm_read
/usr/src/contrib/jemalloc/include/jemalloc/internal/rtree.h:247:27
 #8 0x00002e2206ea9dbd rtree_metadata_read
/usr/src/contrib/jemalloc/include/jemalloc/internal/rtree.h:446:9
 #9 0x00002e2206ea0e2d sz_index2size_lookup_impl
/usr/src/contrib/jemalloc/include/jemalloc/internal/sz.h:238:9
#10 0x00002e2206ea0e2d sz_index2size_lookup
/usr/src/contrib/jemalloc/include/jemalloc/internal/sz.h:243:15
#11 0x00002e2206ea0e2d sz_index2size
/usr/src/contrib/jemalloc/include/jemalloc/internal/sz.h:251:9
#12 0x00002e2206ea0e2d ifree
/usr/obj/amd64.amd64/lib/libc/jemalloc_jemalloc.c:2885:17
#13 0x00002e2206ea0e2d __je_free_default
/usr/obj/amd64.amd64/lib/libc/jemalloc_jemalloc.c:3018:4
#14 0x00002e19dac973e5 allocateBuckets
/usr/src/contrib/llvm-project/llvm/include/llvm/ADT/DenseMap.h:0:0
#15 0x00002e19dac973e5 init
/usr/src/contrib/llvm-project/llvm/include/llvm/ADT/DenseMap.h:837:9
#16 0x00002e19dac973e5 operator=
/usr/src/contrib/llvm-project/llvm/include/llvm/ADT/DenseMap.h:819:5
#17 0x00002e19dac973e5 operator=
/usr/src/contrib/llvm-project/llvm/include/llvm/ADT/MapVector.h:36:7
#18 0x00002e19dac973e5 operator=
/usr/src/contrib/llvm-project/lld/ELF/LinkerScript.h:278:7
#19 0x00002e19dac7fcd7 ~ScriptWrapper
/usr/src/contrib/llvm-project/lld/ELF/LinkerScript.h:434:8
#20 0x00002e19dac7fcd7 link
/usr/src/contrib/llvm-project/lld/ELF/Driver.cpp:154:3
#21 0x00002e19dac211a9 unsafeLldMain
/usr/src/contrib/llvm-project/lld/Common/DriverDispatcher.cpp:164:11
#22 0x00002e19dae51a9d lld_main
/usr/src/contrib/llvm-project/lld/tools/lld/lld.cpp:0:9
#23 0x00002e19dae518e2 main /usr/src/usr.bin/clang/lld/lld-driver.cpp:17:10
#24 0x00002e2206dae1df __libc_start1 /usr/src/lib/libc/csu/libc_start1.c:180:2
Segmentation fault (core dumped)

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289405-227-DJECDdap6X>