Comment 9 for bug 616027

Revision history for this message
Dennis Sheil (dennis-sheil) wrote :

Marcel, you said - "I tried to debug the problem a bit, but when I build pstoedit from source (and link pthread to get gdb running) I cannot reproduce it anymore..."

I think that linking to pthread is what fixed it for you.

When I do a
$ dpkg -L libpstoedit0c2a|grep magic|tail -1
/usr/lib/pstoedit/libp2edrvmagick++.so

and then

$ ldd /usr/lib/pstoedit/libp2edrvmagick++.so |grep libpthread|awk '{print $1,$2}'
libpthread.so.0 =>

I see there are dependencies on the pthread library from one of the libraries in the libpstoedit0c2a package.

I run pstoedit without arguments and get a segmentation fault. I temporarily move the libp2edrvmagick++.so shared library to another directory and run pstoedit without arguments, and there is no segmentation fault.

Just like Marcel, when I patch the source to link to pthread, the segmentation fault goes away.