Skip to main content.

2006-Jan-30

I built inkscape last week but didn't test until today. It does not startup: "Inkscape encountered an internal error and will close now." I found a problem report at inkscape: https://sourceforge.net/tracker/?func=detail&atid=604306&aid=1076338&group_id=93438 which indicated that this could be caused by using a gtkmm built with different library. But I ran it in gdb and saw a Segmentation fault in /usr/pkg/lib/libgc.so.1. pkg_info -B of boehm-gc showed:
CC_VERSION=gcc-2.95.3
OS_VERSION=1.6.2_STABLE
bmake replace of boehm-gc did not help. So rebuilding inkscape now. That did not help. Same error. I found that other dependency libraries were built with older gcc-2.95.3: popt and libart2.

But replacing both of those still did not help. Then I used:

ldd /usr/pkg/bin/inkscape | cut -c 3- | cut -d " " -f 3 | grep so | while read l ; do pkg_info -Fe $l ; done | while read p ; do  pkg_info -B $p ; done | less
and see that I have several other libraries from gcc-2.95.3 days. Note that I am using IGNORE_RECOMMENDED=yes for pkgsrc builds on this system. So I have nine packages to update to test this.

Later I read that the error in gdb was unrelated and is normal for boehm-gc. So I used in gdb: "handle SIGSEGV SIGBUS nostop noprint".

I don't know if problem is boehm-gc related or not.