Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154898 - inkscape 0.44.1 segmentation fault
Summary: inkscape 0.44.1 segmentation fault
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on: 171799
Blocks:
  Show dependency tree
 
Reported: 2006-11-12 08:47 UTC by Patrice Beaud
Modified: 2007-04-16 19:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of strace inkscape (inkscape.strace,28.21 KB, text/plain)
2006-11-13 23:55 UTC, Patrice Beaud
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrice Beaud 2006-11-12 08:47:59 UTC
inkscape 0.44.1 does not even open a single window, it segfaults in a less than a second...
I tried to re-compile it, but with the same results.
So I masked it in /etc/portage/package.mask and re-installed the 0.44 version which can be launched (though it does not work perfectly, but this is an inkscape problem).

Gentoo Base System version 1.12.6
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r4, 2.6.16-suspend2-r8 i686)
=================================================================
System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Last Sync: Sun, 12 Nov 2006 08:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo http://gentoo.mirror.sdv.fr/ ftp://ftp.solnet.ch/mirror/Gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu"
LINGUAS="fr"
MAKEOPTS="-j3 -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/science /usr/portage/local/layman/java-experimental"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d aac aalib acl acpi alsa amd apache2 arts artswrappersuid athena auctex audacious bash-completion bdf bitmap-fonts boost bzip2 cairo caps cdda cddb cdio cdparanoia chardet clamav cli cracklib crypt cups curl curlwrappers dbm dbus dga directfb divx dlloader dmx dnd dri dv dvd dvdread effects elibc_glibc emacs emboss encode fbcon ffmpeg fftw firefox flac flash font-server foomaticdb fortran fpx freewnn galago gecko-sdk ggi gif gimp gimpprint ginac glut gmedia gmp gnome gnuplot gpm graphviz gs gstreamer gtk gtk2 gtkhtml hal iconv icq idn imagemagick imap imlib imlib2 inkjar input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_void irda isdnlog jabber java javascript jce jikes jpeg jpeg2k kde kdexdeltas kernel_linux latex lcms ldap leim libcaca libg++ libnotify libwww lids linguas_fr live lzo lzw mad md5sum memlimit menubar mime mjpeg mmx mng modplug motif moznocompose moznoirc mozsvg mp3 mpeg mplayer musepack ncurses netcdf nls noplugin nptl nptlonly nsplugin odbc ogg ole opengl oss pam pcmcia pcre pda pdf perl pic plotutils plugin pmu png pnp pop ppds pppd qhull qt3 qt4 quicktime readline real realmedia reflection rtc samba sasl scanner sdl session slp smime sms sndfile socks5 sox speex spell spl sse sse2 ssl startup-notification svg svga sysfs tcltk tetex theora threads tiff tk truetype truetype-fonts trusted type1 type1-fonts udev unicode usb userland_GNU userlocales utf8 vcd video_cards_dummy video_cards_fbdev video_cards_radeon video_cards_vesa video_cards_vga vidix vim vim-with-x vimpager vorbis wifi win32codecs wma wmf wmp xface xgetdefault xine xinerama xml xmlrpc xorg xosd xpm xscreensaver xv xvid zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-12 10:06:30 UTC
Please, reopen with a backtrace.

http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 2 Patrice Beaud 2006-11-13 23:55:31 UTC
Created attachment 101895 [details]
output of strace inkscape
Comment 3 Patrice Beaud 2006-11-13 23:57:40 UTC
Ok, I read the http://www.gentoo.org/proj/en/qa/backtraces.xml page. I'm not sure I really understand how to use gdb.
Anyway, I copy/paste what I obtained hereafter.
emerge --info at the end for the setup used to compile inkscape.

Sorry for the delay, but debugging is not part of my job...


-- bt full -----------------------------------------------------

$ LC_ALL=C LANGUAGE=C gdb inkscape
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) handle SIGSEGV nostop noprint noignore pass
Signal        Stop      Print   Pass to program Description
SIGSEGV       No        No      Yes             Segmentation fault
(gdb) run
Starting program: /usr/bin/inkscape
[Thread debugging using libthread_db enabled]
[New Thread -1227843040 (LWP 20373)]
Couldn't get registers: No such process.
(gdb) bt
Cannot fetch general-purpose registers for thread -1227843040: generic error
(gdb) quit
The program is running.  Exit anyway? (y or n) y

-- thread apply all bt full ------------------------------------
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) handle SIGSEGV nostop noprint noignore pass
Signal        Stop      Print   Pass to program Description
SIGSEGV       No        No      Yes             Segmentation fault
(gdb) run
Starting program: /usr/bin/inkscape
[Thread debugging using libthread_db enabled]
[New Thread -1227691488 (LWP 9525)]
Couldn't get registers: No such process.
(gdb) thread apply all bt full
Couldn't get registers: No such process.
(gdb) quit
The program is running.  Exit anyway? (y or n) y


-- emerge --info ------------------------------------------------

Gentoo Base System version 1.12.6
Portage 2.1.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r4, 2.6.16-suspend2-r8 i686)
=================================================================
System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Last Sync: Sun, 12 Nov 2006 08:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms splitdebug strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo http://gentoo.mirror.sdv.fr/ ftp://ftp.solnet.ch/mirror/Gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu"
LINGUAS="fr"
MAKEOPTS="-j3 -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/science /usr/portage/local/layman/java-experimental"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d aac aalib acl acpi alsa amd apache2 arts artswrappersuid athena auctex audacious bash-completion bdf bitmap-fonts boost bzip2 cairo caps cdda cddb cdio cdparanoia chardet clamav cli cracklib crypt cups curl curlwrappers dbm dbus dga directfb divx dlloader dmx dnd dri dv dvd dvdread effects elibc_glibc emacs emboss encode fbcon ffmpeg fftw firefox flac flash font-server foomaticdb fortran fpx freewnn galago gecko-sdk ggi gif gimp gimpprint ginac glut gmedia gmp gnome gnuplot gpm graphviz gs gstreamer gtk gtk2 gtkhtml hal iconv icq idn imagemagick imap imlib imlib2 inkjar input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_void irda isdnlog jabber java javascript jce jikes jpeg jpeg2k kde kdexdeltas kernel_linux latex lcms ldap leim libcaca libg++ libnotify libwww lids linguas_fr live lzo lzw mad md5sum memlimit menubar mime mjpeg mmx mng modplug motif moznocompose moznoirc mozsvg mp3 mpeg mplayer musepack ncurses netcdf nls noplugin nptl nptlonly nsplugin odbc ogg ole opengl oss pam pcmcia pcre pda pdf perl pic plotutils plugin pmu png pnp pop ppds pppd qhull qt3 qt4 quicktime readline real realmedia reflection rtc samba sasl scanner sdl session slp smime sms sndfile socks5 sox speex spell spl sse sse2 ssl startup-notification svg svga sysfs tcltk tetex theora threads tiff tk truetype truetype-fonts trusted type1 type1-fonts udev unicode usb userland_GNU userlocales utf8 vcd video_cards_dummy video_cards_fbdev video_cards_radeon video_cards_vesa video_cards_vga vidix vim vim-with-x vimpager vorbis wifi win32codecs wma wmf wmp xface xgetdefault xine xinerama xml xmlrpc xorg xosd xpm xscreensaver xv xvid zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 4 Daniel Webert 2007-02-06 03:30:53 UTC
ping - is this still a problem, Patrice?
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2007-04-07 14:04:10 UTC
Please test inkscape-0.45.1 and reopen if it doesn't fix this for you.
Comment 6 Patrice Beaud 2007-04-16 19:08:53 UTC
(In reply to comment #5)
> Please test inkscape-0.45.1 and reopen if it doesn't fix this for you.
> 

Sorry, but I could not find time to answer to comment #4. I was too busy.

Well, actually my hardware has change in the meantime (AMD Turion 64 X2 based laptop) and I did not test the 0.44* versions on it. However, 0.45* do work.
I still have my old laptop, and I may try to install a 0.45 version on it; if I can boot the PC (almost totally broken power supply cable...)

Sorry for the delay :-(