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.

-- 
pstoedit crashed with SIGSEGV in _IO_setb()
https://bugs.launchpad.net/bugs/616027
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to