Comment 6 for bug 682357

Revision history for this message
Ɓukasz Stelmach (steelman) wrote :

The Gentoo way is:

* ebuild: ftp://ftp.heanet.ie/pub/gentoo-portage/media-gfx/inkscape/inkscape-0.48.0.ebuild
* patch: ftp://ftp.heanet.ie/pub/gentoo-portage/media-gfx/inkscape/files/inkscape-0.48.0-spell.patch
* configure: ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --without-perl --enable-poppler-cairo --with-xft --without-gnome-vfs --without-inkjar --enable-lcms --enable-nls --with-aspell --with-gtkspell

Configuration:

        Source code location: .
        Destination path prefix: /usr
        Compiler: g++
        CPPFLAGS: -Werror=format-security -Wall -Wformat -Wformat-security -W -D_FORTIFY_SOURCE=2
        CXXFLAGS: -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O2 -Wno-strict-aliasing -fopenmp
        CFLAGS: -Wno-pointer-sign -g -O2
        LDFLAGS: -Wl,-z,relro

        Use Xft font database: yes
        Use gnome-vfs: no
        Use openoffice files: no
        Use relocation support: no
        Internal Python: skipped
        Internal Perl: no
        Enable LittleCms: yes
        Enable DBUS: no
        Enable Poppler-Cairo: yes
        ImageMagick Magick++: yes
        Libwpg: yes
        Doing Local Install: no

When I compile the current source this way it crashes too. The stack looks as follows

#0 0x0000000000000000 in ?? ()
#1 0x00007ffff1ce5c4f in cmsReadICCTextEx (hProfile=0x4c1a4f0, sig=<value optimized out>,
    Name=0x7ffff1f07ea0 "", size_max=512) at cmsio1.c:1693
#2 0x00007ffff1ce6196 in cmsTakeProductDesc (hProfile=0x4c1a4f0) at cmsio1.c:2217
#3 0x00000000008dabb5 in ProfileInfo (this=0x7fffffffd120, prof=0x4c1a4f0, path=...) at color-profile.cpp:582
#4 0x00000000008dc302 in findThings () at color-profile.cpp:773
#5 0x00000000008dc89f in colorprofile_get_proof_profile_handle () at color-profile.cpp:876
#6 0x00000000008dce74 in Inkscape::colorprofile_get_display_per (id=<value optimized out>)
    at color-profile.cpp:1138
#7 0x0000000000592407 in sp_canvas_paint_single_buffer (setup=<value optimized out>, this_rect=...)
    at display/sp-canvas.cpp:1671
#8 sp_canvas_paint_rect_internal (setup=<value optimized out>, this_rect=...) at display/sp-canvas.cpp:1825
#9 0x00000000005921cd in sp_canvas_paint_rect_internal (setup=<value optimized out>, this_rect=...)
    at display/sp-canvas.cpp:1879
#10 0x0000000000592c66 in sp_canvas_paint_rect (canvas=0x20c25c0) at display/sp-canvas.cpp:1941
#11 paint (canvas=0x20c25c0) at display/sp-canvas.cpp:2093
#12 do_update (canvas=0x20c25c0) at display/sp-canvas.cpp:2130
#13 0x0000000000592e52 in idle_handler (data=<value optimized out>) at display/sp-canvas.cpp:2152
#14 0x00007fffecfc7247 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0x00007fffecfca6c5 in ?? () from /usr/lib/libglib-2.0.so.0
#16 0x00007fffecfcabdb in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#17 0x00007ffff5ca2bcc in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00000000004533eb in sp_main_gui (argc=1, argv=0x7fffffffdce8) at main.cpp:986
#19 0x00007fffec6c2ba6 in __libc_start_main () from /lib/libc.so.6
#20 0x0000000000451ea9 in _start ()

so it might as well be an lcms bug :-(

(cmsio1.c:1693 is a call to a profile's Seek() function)