Bug#542794: libgomp1: Throwing exceptions segfaults when libgomp is being dlopen'ed through python-vipscc
Package: libgomp1
Version: 4.4.1-1
Severity: normal
I am using python-vipscc to do image manipulations in Python. The Python
bindings are using a C++ runtime library (libvips) which if it
encounters an error will throw a C++ exception. This used to work fine,
I catch the errors which in some cases are useful for probing for info,
but after a recent upgrade, the whole process segfaults instead of
throwing the exception. A backtrace indicates that the error is in
__cxa_allocate_exception in libstdc++.so.6.
The reason why I'm reporting this as an error in this package, is that
it appears that error occurs because the way libgomp is compiled (not
working when it's dlopen'ed?). There's an analysis here, it involves
ImageMagick:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0908&L=VIPSIP&P=4657&X=7E320F5D5B50159789
Maybe a red herring, you probably have a better idea of what to do about
the bug, but I thought I'd start here.
-- System Information: Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686-bigmem (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/dash
Versions of packages libgomp1 depends on:
ii gcc-4.4-base 4.4.1-1 The GNU Compiler Collection (base
ii libc6 2.9-23 GNU C Library: Shared libraries
libgomp1 recommends no packages.
libgomp1 suggests no packages.
-- no debconf information
Reply to: