[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#361024: Simple test case [Was: libstdc++.so.6: cannot handle TLS data]



Hello!

On Wed, 05 Apr 2006 18:41:05 -0600, Gordon Haverland wrote:
> Traceback (most recent call last):
>   File "/usr/bin/apt-listchanges", line 30, in ?
>       import apt_pkg
> ImportError: libstdc++.so.6: cannot handle TLS data

I've seen many similar errors on my system too (I've got a bunch of
home-brew Guile[1] modules written in C++). Such an error appears whenever
a thread created by C code tries to dlopen(3) C++ shared library.
I've managed to create (hopefully) simple test case (based on
C++ dlopen mini-HOWTO), see the attached tarball (unpack and run
`make'). I did not reported this before since I thought that's /me doing
something wrong...

Best regards,
  Alexei

[1] http://www.gnu.org/software/guile
    http://packages.debian.org/unstable/interpreters/guile-1.6

-- 
All science is either physics or stamp collecting.

Attachment: dlopen_cpp_fail_example.tar.gz
Description: GNU Unix tar archive

Attachment: signature.asc
Description: Digital signature


Reply to: