Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[NEED HELP] Inconsistency detected by ld.so

#1
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...
[2022-07-21 03:49:23] Wanted audio Specification:
[2022-07-21 03:49:23] Channels  : 2
[2022-07-21 03:49:23] Format    : 0x8010
[2022-07-21 03:49:23] Frequency : 48000
[2022-07-21 03:49:23] Samples   : 2048
[2022-07-21 03:49:23] Obtained audio specification:
[2022-07-21 03:49:23] Channels  : 2
[2022-07-21 03:49:23] Format    : 0x8010
[2022-07-21 03:49:23] Frequency : 48000
[2022-07-21 03:49:23] Samples   : 2048
[2022-07-21 03:49:23] Sound format: 48000Hz, 2 channels, 16 bits per sample
[2022-07-21 03:49:23] CDAudio_Init: No CD in player.
[2022-07-21 03:49:23] Can't get initial CD volume
[2022-07-21 03:49:23] CD Audio Initialized
Inconsistency detected by ld.so: dl-close.c: 273: _dl_close_worker: Assertion `imap->l_ns == nsid' failed!
name
real 1.73
user 0.76
sys 0.08

Xonotic server still alive: False

Parent is shutting down, bye...

Versions:
Code:
$ gcc --version
gcc (GCC) 12.1.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ ld --version
GNU ld (GNU Binutils) 2.38
Copyright (C) 2022 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.



Any idea?
Reply

#2
My non expert suggestions: reinstall the libraries (maybe disk corruption); consider https://sourceware.org/glibc/wiki/Debugg...the_Loader.

You may want to inspect elf/dl-close.c in: https://sourceware.org/git/?p=glibc.git;a=tree.
Reply

#3
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.
Reply

#4
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
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVED] Problem with GIT update - Possible DNS spoofing detected [SOLVED] sev 2 9,931 09-27-2010, 02:21 PM
Last Post: sev

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-