public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/786] New: Assertion failure in sysdeps/generic/dl-tls.c: _dl_next_tls_modid: `result <= _rtld_local._dl_tls_max_dtv_idx'
@ 2005-03-13 2:20 ed at catmur dot co dot uk
2005-03-15 15:27 ` [Bug libc/786] " jakub at redhat dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: ed at catmur dot co dot uk @ 2005-03-13 2:20 UTC (permalink / raw)
To: glibc-bugs
When a shared library is unloaded during program startup due to failure to
resolve library dependency, attempt to use TLS in libraries loaded to satisfy
subsequent dependencies crashes with:
Inconsistency detected by ld.so: ../sysdeps/generic/dl-tls.c: 76:
_dl_next_tls_modid: Assertion `result <= _rtld_local._dl_tls_max_dtv_idx' failed!
Initial analysis and testcase here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=219352#msg122
The testcase is at the bottom of the linked bug report, direct URL
http://bugs.debian.org/cgi-bin/bugreport.cgi/xbug.tar.gz?bug=219352&msg=122&att=1
Further analysis and demonstration patch here:
http://bugs.gentoo.org/show_bug.cgi?id=52374#c15
Google search on assertion string shows this bug has been known at least since
November 2003. It tends to manifest in media applications e.g. xmms, vlc as
these use many shared library plugins which may or may not be present at runtime.
--
Summary: Assertion failure in sysdeps/generic/dl-tls.c:
_dl_next_tls_modid: `result <=
_rtld_local._dl_tls_max_dtv_idx'
Product: glibc
Version: 2.3.4
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: ed at catmur dot co dot uk
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=786
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/786] Assertion failure in sysdeps/generic/dl-tls.c: _dl_next_tls_modid: `result <= _rtld_local._dl_tls_max_dtv_idx'
2005-03-13 2:20 [Bug libc/786] New: Assertion failure in sysdeps/generic/dl-tls.c: _dl_next_tls_modid: `result <= _rtld_local._dl_tls_max_dtv_idx' ed at catmur dot co dot uk
@ 2005-03-15 15:27 ` jakub at redhat dot com
2005-03-15 15:28 ` jakub at redhat dot com
2005-09-27 1:49 ` drepper at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: jakub at redhat dot com @ 2005-03-15 15:27 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From jakub at redhat dot com 2005-03-15 15:26 -------
http://sources.redhat.com/ml/libc-hacker/2005-03/msg00044.html
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=786
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/786] Assertion failure in sysdeps/generic/dl-tls.c: _dl_next_tls_modid: `result <= _rtld_local._dl_tls_max_dtv_idx'
2005-03-13 2:20 [Bug libc/786] New: Assertion failure in sysdeps/generic/dl-tls.c: _dl_next_tls_modid: `result <= _rtld_local._dl_tls_max_dtv_idx' ed at catmur dot co dot uk
2005-03-15 15:27 ` [Bug libc/786] " jakub at redhat dot com
@ 2005-03-15 15:28 ` jakub at redhat dot com
2005-09-27 1:49 ` drepper at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: jakub at redhat dot com @ 2005-03-15 15:28 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From jakub at redhat dot com 2005-03-15 15:28 -------
Oops, pasted wrong URL. The right one is:
http://sources.redhat.com/ml/libc-hacker/2005-03/msg00043.html
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=786
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/786] Assertion failure in sysdeps/generic/dl-tls.c: _dl_next_tls_modid: `result <= _rtld_local._dl_tls_max_dtv_idx'
2005-03-13 2:20 [Bug libc/786] New: Assertion failure in sysdeps/generic/dl-tls.c: _dl_next_tls_modid: `result <= _rtld_local._dl_tls_max_dtv_idx' ed at catmur dot co dot uk
2005-03-15 15:27 ` [Bug libc/786] " jakub at redhat dot com
2005-03-15 15:28 ` jakub at redhat dot com
@ 2005-09-27 1:49 ` drepper at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: drepper at redhat dot com @ 2005-09-27 1:49 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2005-09-27 01:49 -------
Long since fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=786
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-09-27 1:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-13 2:20 [Bug libc/786] New: Assertion failure in sysdeps/generic/dl-tls.c: _dl_next_tls_modid: `result <= _rtld_local._dl_tls_max_dtv_idx' ed at catmur dot co dot uk
2005-03-15 15:27 ` [Bug libc/786] " jakub at redhat dot com
2005-03-15 15:28 ` jakub at redhat dot com
2005-09-27 1:49 ` drepper at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).