![]() |
[NEED HELP] Inconsistency detected by ld.so - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3) +--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4) +--- Thread: [NEED HELP] Inconsistency detected by ld.so (/showthread.php?tid=9472) |
Inconsistency detected by ld.so - BuddyFriendGuy - 07-21-2022 Compiling from latest git completed without error, but I'm getting this error while launching: Code: Inconsistency detected by ld.so: dl-close.c: 273: _dl_close_worker: Assertion `imap->l_ns == nsid' failed! The last lines of the log before it failed: Code: [2022-07-21 03:49:23] S_Startup: initializing sound output format: 48000Hz, 16 bit, 2 channels... Versions: Code: $ gcc --version Any idea? RE: Inconsistency detected by ld.so - oblector - 07-21-2022 My non expert suggestions: reinstall the libraries (maybe disk corruption); consider https://sourceware.org/glibc/wiki/Debugging/Development_Debugging#Debugging_the_Loader. You may want to inspect elf/dl-close.c in: https://sourceware.org/git/?p=glibc.git;a=tree. RE: Inconsistency detected by ld.so - Freddy - 07-21-2022 This sounds like https://sourceware.org/bugzilla/show_bug.cgi?id=28937 / https://bugs.archlinux.org/task/73967 You can try the LD_PRELOAD or GLIBC_TUNABLES workarounds listed in those discussions. For me, downgrading from SDL 2.0.22 to 2.0.20 also fixed the problem. RE: Inconsistency detected by ld.so - BuddyFriendGuy - 07-23-2022 Thanks a lot for the pointers, @oblector and @Freddy. Very strange -- the behavior is inconsistent. Sometimes re-run the game works. Right now I downgraded SDL, and it's still off and on. I suspected it's something else. I'll keep observing. (update: upgraded SDL back, still the same) By the way, do we still need this env? Code: #SDL_CONFIG=sdl2-config ./all compile -r -0 |