Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1974 - vlc fails to startup

Attached to Project: Arch Linux
Opened by Leslie Polzer (skypher) - Tuesday, 04 January 2005, 07:25 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 04 January 2005, 16:30 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

VLC fails to startup with the following message:

VLC media player 0.8.1 Janus
Inconsistency detected by ld.so: ../sysdeps/generic/dl-tls.c: 72: _dl_next_tls_modid: Assertion `result <= _rtld_local._dl_tls_max_dtv_idx' failed!

I think this is caused rather by a glibc update than vlc.
This task depends upon

Closed by  Judd Vinet (judd)
Friday, 07 January 2005, 08:13 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Tuesday, 04 January 2005, 13:07 GMT
Do you happen to have an nvidia card?
Comment by Leslie Polzer (skypher) - Tuesday, 04 January 2005, 13:37 GMT
Yes.
Comment by Jan de Groot (JGC) - Tuesday, 04 January 2005, 16:29 GMT
This is caused by the last glibc upgrade and triggers something in the nvidia drivers.

http://bugs.gentoo.org/show_bug.cgi?id=52374#c15
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=219352

To solve this problem, three possible solutions are here:
- move (/usr)/lib/tls to somewhere else to disable NPTL completely
- export LD_ASSUME_KERNEL=2.4.20 when using an nvidia driver
- patch glibc with the hacky patch found in the gentoo bugreport

This bug affects programs that could use OpenGL via dlopen() calls, like programs like gstreamer and SDL do. I have seen this bug on gstreamer too when some plugins were installed that use OpenGL. I wasn't able to reproduce this because I don't have nvidia hardware.
Comment by Jan de Groot (JGC) - Wednesday, 05 January 2005, 15:24 GMT
I tried a more recent glibc snapshot, but it doesn't help. The Gentoo "fix" (ow, assertion won't work when getting rid of the detected gap? Then we assume there is no gap) should work, so if we need a quickfix for now, we can apply the bugfix in their bugtracker.

In the debian bugtracker is a testcase and a nice description of what happens. It's not a bug in the nvidia driver, but nvidia driver using TLS in its internals is triggering this bug in glibc. Any other lib using TLS could trigger the bug, as shown in the testcase attached somewhere in the debian bugtracker link supplied above.
Comment by Judd Vinet (judd) - Friday, 07 January 2005, 05:00 GMT
I've uploaded a patched glibc package. Please install it and verify that it fixes your problem.

# pacman -U ftp://ftp.archlinux.org/current/os/i686/glibc-2.3.4-2.pkg.tar.gz
Comment by Leslie Polzer (skypher) - Friday, 07 January 2005, 07:35 GMT
Did it, thanks.

Loading...