aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-03-02 20:32:15 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-03-02 20:32:15 +0100
commitf0c0c4d0f2d0c51fd89150f0ae900ccbd849ac18 (patch)
tree3acaedc920ac04ccd588db237c83ec4fa4175540
parente923e44a208f84583837b3b6404d12143bff2650 (diff)
downloadweb-f0c0c4d0f2d0c51fd89150f0ae900ccbd849ac18.tar.gz
web-f0c0c4d0f2d0c51fd89150f0ae900ccbd849ac18.tar.bz2
web-f0c0c4d0f2d0c51fd89150f0ae900ccbd849ac18.zip
document that the pthread_threads assertion failure when dlopening libpthread is gone
-rw-r--r--faq/libpthread_dlopen.mdwn9
-rw-r--r--open_issues/libpthread_dlopen.mdwn9
2 files changed, 14 insertions, 4 deletions
diff --git a/faq/libpthread_dlopen.mdwn b/faq/libpthread_dlopen.mdwn
index 94d091a4..e3401fdd 100644
--- a/faq/libpthread_dlopen.mdwn
+++ b/faq/libpthread_dlopen.mdwn
@@ -14,12 +14,13 @@ License|/fdl]]."]]"""]]
Some applications don't themselves link against libpthread, but then load
plugins which do link against libpthread. This means internally switching from
-single-threading to multi-threading, which is [[not yet
-supported|open_issues/libpthread_dlopen]] by our [[/libpthread]], and results
-in errors such as:
+single-threading to multi-threading, which is only supported since libc0.3
+2.19-16~2. Previously, it would result in errors such as:
./pthread/../sysdeps/generic/pt-mutex-timedlock.c:70: __pthread_mutex_timedlock_internal: Assertion `__pthread_threads' failed.
-This can be worked around by making the application link against libpthread (i.e. not only the plugin, but also the main binary), or without recompiling by explicitly pre-loading libpthread, for example:
+This could be worked around by making the application link against libpthread (i.e. not only the plugin, but also the main binary), or without recompiling by explicitly pre-loading libpthread, for example:
$ LD_PRELOAD=/lib/i386-gnu/libpthread.so.0.3 [application]
+
+But it should now be gone, simply upgrade libc0.3.
diff --git a/open_issues/libpthread_dlopen.mdwn b/open_issues/libpthread_dlopen.mdwn
index a825fdff..6cf4661e 100644
--- a/open_issues/libpthread_dlopen.mdwn
+++ b/open_issues/libpthread_dlopen.mdwn
@@ -15,6 +15,15 @@ License|/fdl]]."]]"""]]
# [[FAQ entry|faq/libpthread_dlopen]]
+Some applications don't themselves link against libpthread, but then load
+plugins which do link against libpthread. This means internally switching from
+single-threading to multi-threading, which is only supported since libc0.3
+2.19-16~2. Previously, it would result in errors such as:
+
+ ./pthread/../sysdeps/generic/pt-mutex-timedlock.c:70: __pthread_mutex_timedlock_internal: Assertion `__pthread_threads' failed.
+
+*This is now fixed as of libc0.3 2.19-16~2.*
+
# IRC, freenode, #hurd, 2010-01-24
<pinotree> youpi: hm, thought about the pthread/stubs issue w/ dlopen'ed