Several of us noticed that evolution on Debian/unstable sometimes crashes early
during program startup. It turns out that the crash is due to memory
corruption. In one particular case, the memory that got corrupted was in the
which happened to hold the function descriptors for shared library linkage stubs
("jump slots"). Of relevance was that the thread-pointer (r13) had the value:
The corruption was caused by any NPTL routine trying to access the
thread-descriptor, since NPTL uses a "struct pthread" of size 1680 bytes (0x690).
I believe the problem is due to the fact that /lib/ld-linux-ia64.so.2 was built
for Linux Threads, which uses a thread descriptor size of 0x500. Note that
sysdeps/generic/dl-tls.c has several references to TLS_PRE_TCB_SIZE for the case
where TLS_DTV_AT_TP is defined. In other words, ld.so ends up having a
dependency on the size of the thread-descriptor. Sure enough, if I invoke
evolution like this:
it works just fine.
My understanding is that /lib/ld-linux-ia64.so.2 should work for both NPTL and
LinuxThreads libraries and the dependency on the size of the thread-descriptor
I believe this same bug may affect Alpha, PowerPC, and SH.
For Alpha, I found this bug report, which sounds potentially related:
If this is a real problem and related to LinuxThreads, it should be fixed now
that LinuxThreads is not available anymore. Otherwise the report is useless
since it provides not enought information. If there are problems file a new
report with all the necessary information including backtraces etc.