Package: trousers Version: 0.3.1-9 Severity: normal When used with firefox via opencryptoki, trousers causes a crash when Tspi_Context_Close is called:
#6 0x00007f8044bd34c3 in context_free () from /lib/libselinux.so.1 #7 0x00007f802fb71cde in obj_list_close (list=0x7f802fdc6780, freeFcn=0x7f8044bd34a0 <context_free>, tspContext=3221225473) at obj.c:219 #8 0x00007f802fb71d3d in obj_close_context (tspContext=3221225473) at obj.c:236 #9 0x00007f802fb78016 in Tspi_Context_Close (tspContext=3221225473) at tspi_context.c:56 #10 0x00007f802fdff572 in token_specific_final () at tpm_specific.c:2003 #11 0x00007f802fde3775 in SC_Finalize (sid=<value optimized out>) at new_host.c:556 #12 0x00007f80300a38cc in C_Finalize () from /usr/lib/pkcs11/libopencryptoki.so This issue is discussed on redhat bugzilla, https://bugzilla.redhat.com/show_bug.cgi?id=464042 and https://bugzilla.redhat.com/show_bug.cgi?id=464037 One possible fix is rename src/tspi/obj_context.c:context_free as 'IBM Bug Proxy' claims was done upstream. The alternative I've tested, is to use libtool's --export-symbols-regexp option to limit the symbols that are resolved using the PLT (and are thus subject to interposition), like so: --- src/tspi/Makefile.am.orig 2009-06-19 00:01:51.000000000 -0400 +++ src/tspi/Makefile.am 2009-06-18 23:14:53.000000000 -0400 @@ -17,7 +17,7 @@ # 5. If any interfaces have been added since the last public release, then increment age. # 6. If any interfaces have been removed since the last public release, then set age to 0. -libtspi_la_LDFLAGS=-version-info 2:1:1 -lpthread @CRYPTOLIB@ +libtspi_la_LDFLAGS=-export-symbols-regex "^Trspi|^Tspi" -version-info 2:1:1 -lpthread @CRYPTOLIB@ libtspi_la_CFLAGS=-I../include -DAPPID=\"TSPI\" -DVAR_PREFIX=\"@localstate...@\" -DETC_PREFIX=\"@sysconf...@\" -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (50, 'unstable'), (49, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages trousers depends on: ii adduser 3.110 add and remove users and groups ii libc6 2.9-12 GNU C Library: Shared libraries ii libssl0.9.8 0.9.8g-16 SSL shared libraries ii libtspi1 0.3.1-9 open-source TCG Software Stack (li trousers recommends no packages. trousers suggests no packages. -- debconf-show failed -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org