Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ldconfig segfaults after updating to 23.0 profil
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
danjoh
n00b
n00b


Joined: 18 Sep 2005
Posts: 7
Location: Bettlach, SO, Switzerland

PostPosted: Sat Jun 29, 2024 12:00 pm    Post subject: ldconfig segfaults after updating to 23.0 profil Reply with quote

Hello,

After updating my system to a 23.0 profile, default/linux/amd64/23.0/split-usr/desktop/plasma (stable), ldconfig has started segfaulting.

Here are the last few lines of "strace ldconfig":
Code:
newfstatat(AT_FDCWD, "/usr/lib/rust/lib/librustc_driver-131b866216b2910c.so", {st_mode=S_IFREG|0644, st_size=153456592, ...}, 0) = 0
openat(AT_FDCWD, "/usr/lib/llvm/17/lib", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getdents64(3, 0x5555572629d0 /* 22 entries */, 32768) = 824
newfstatat(AT_FDCWD, "/usr/lib/llvm/17/lib/libclang.so.17", {st_mode=S_IFREG|0755, st_size=17506304, ...}, 0) = 0
openat(AT_FDCWD, "/usr/lib/llvm/17/lib/libclang.so.17", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=17506304, ...}) = 0
mmap(NULL, 17506304, PROT_READ, MAP_SHARED, 4, 0) = 0x7fb6eb2d3000
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7fb6ed37c4dc} ---
+++ killed by SIGSEGV +++
Segmentation fault


The file in question (I think), does not look suspicious (I think):
Code:
# ls -pal /usr/lib/llvm/17/lib/libclang.so.17 /usr/lib/llvm/17/lib/libclang.so.17.0.6
lrwxrwxrwx 1 root root       18 Jun 25 17:39 /usr/lib/llvm/17/lib/libclang.so.17 -> libclang.so.17.0.6
-rwxr-xr-x 1 root root 14893056 Jun 25 17:39 /usr/lib/llvm/17/lib/libclang.so.17.0.6

The system runs fine (as far as I ca see) but I am a bit nervous about rebooting at the moment.

Any suggestions?

Regards,
--
Dan Johansson,
Back to top
View user's profile Send private message
danjoh
n00b
n00b


Joined: 18 Sep 2005
Posts: 7
Location: Bettlach, SO, Switzerland

PostPosted: Tue Jul 02, 2024 7:02 pm    Post subject: Solved Reply with quote

Found the culprit. It was sys-devel/clang
Code:
scanelf: /usr/lib/llvm/17/bin/clang-tidy: Invalid section header info (2)
scanelf: /usr/lib/llvm/17/bin/c-index-test: Invalid section header info (2)
scanelf: /usr/lib/llvm/17/lib/libclang.so: Invalid section header info (2)
scanelf: /usr/lib/llvm/17/lib/libclang.so.17: Invalid section header info (2)
scanelf: /usr/lib/llvm/17/lib/libclang.so.17.0.6: Invalid section header info (2)


After re-emerging sys-devel/clang again, ldconfig does not throw a sigsev.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum