Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121399 - inkscape-0.43 (Segmentation fault)
Summary: inkscape-0.43 (Segmentation fault)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Marc Hildebrand (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-02 22:58 UTC by Aben Siatris
Modified: 2006-11-21 20:38 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aben Siatris 2006-02-02 22:58:29 UTC
After installing, inkscape segfaults during starting.

open("/usr/share/pixmaps", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 12
fstat64(12, {st_mode=S_IFDIR|0755, st_size=2216, ...}) = 0
fcntl64(12, F_SETFD, FD_CLOEXEC)        = 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6372000
getdents64(12, /* 69 entries */, 131072) = 2480
getdents64(12, /* 0 entries */, 131072) = 0
munmap(0xb6372000, 135168)              = 0
close(12)                               = 0
gettimeofday({1138949563, 215512}, NULL) = 0
gettimeofday({1138949563, 215670}, NULL) = 0
gettimeofday({1138949563, 215751}, NULL) = 0
gettimeofday({1138949563, 215831}, NULL) = 0
gettimeofday({1138949563, 216196}, NULL) = 0
gettimeofday({1138949563, 216525}, NULL) = 0
gettimeofday({1138949563, 219248}, NULL) = 0
brk(0x88e2000)                          = 0x88e2000
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 12
fstat64(12, {st_mode=S_IFCHR|0444, st_rdev=makedev(1, 9), ...}) = 0
ioctl(12, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfc4926c) = -1 EINVAL (Invalid argument)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f12000
read(12, "\350\245\204/\2253\305%\10\245\24\237\203aMU\221\304\317"..., 4096) = 4096
close(12)                               = 0
munmap(0xb7f12000, 4096)                = 0
brk(0x8900000)                          = 0x8900000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigaction(SIGABRT, {SIG_DFL}, {0xb6fc362c, [ABRT], SA_RESTART}, 8) = 0
write(2, "\nEmergency save activated!\n", 27
Emergency save activated!
) = 27
time(NULL)                              = 1138949563
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=806, ...}) = 0
open("/home/fordinal/.inkscape/preferences.xml", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 12
fstat64(12, {st_mode=S_IFREG|0660, st_size=0, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6373000
open("/dev/tty", O_RDWR|O_NONBLOCK|O_NOCTTY) = 13
writev(13, [{"*** glibc detected *** ", 23}, {"free(): invalid pointer", 23}, {": 0x", 4}, {"088c3b78", 8}, {" ***\n", 5}], 5*** glibc detected *** free(): invalid pointer: 0x088c3b78 ***
) = 63
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
write(12, "<?xml version=\"1.0\" encoding=\"UT"..., 55) = 55
kill(28860, SIGABRT)                    = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++


Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig digest distlocks prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="sk_SK.utf8"
LINGUAS="en sk cs de ru"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acl apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr cjk crypt cups curl dvd dvd-read dvdr eds emboss encode esd ethereal examples exif expat fam ffmpeg flac font-server foomaticdb fortran gcj gd gdbm gif glut gmp gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imap imlib ipv6 java jpeg junit kde kdeenablefinal kdexdeltas lcms ldap libg++ libwww lua mad mbox mhash mikmod mmx mmx2 mng motif mozilla mp3 mpeg mysql ncurses nls odbc ogg oggvorbis openal pam pcre pdflib perl pic png povray pthreads python qt quicktime readline recode samba sasl scanner sdl slang snmp spell sqlite sse sse2 ssl svg svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb vhosts vorbis xine xinerama xml xml2 xmms xv xvid zlib elibc_glibc kernel_linux linguas_en linguas_sk linguas_cs linguas_de linguas_ru userland_GNU"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Comment 1 Greg Watson (linuxkrn) 2006-03-06 15:35:51 UTC
Here is a gdb backtrace on it, it crashes for me as well.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1229936960 (LWP 16334)]
0xb6d9f373 in std::_List_node_base::hook () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libstdc++.so.6

#0  0xb6d9f373 in std::_List_node_base::hook () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libstdc++.so.6
#1  0x08130bd4 in std::list<sigc::slot_base, std::allocator<sigc::slot_base> >::insert ()
#2  0x081308ac in sp_document_add_resource ()
#3  0x08157da0 in SPGroup::setLayerMode ()
#4  0x08166086 in sp_object_read_attr ()
#5  0x081561aa in sp_group_get_type ()
#6  0x0816738f in sp_object_invoke_build ()
#7  0x081685f4 in sp_object_attach ()
#8  0x08174ec3 in sp_root_get_type ()
#9  0x0816738f in sp_object_invoke_build ()
#10 0x08164f84 in sp_object_repr_build_tree ()
#11 0x0812f7d5 in sp_document_new_dummy ()
#12 0x0812fe40 in sp_document_new ()
#13 0x0813142b in sp_file_new ()
#14 0x081314f3 in sp_file_new_default ()
#15 0x0812acf1 in sp_main_gui ()
#16 0x0820dbd2 in Inkscape::NSApplication::Application::run ()
#17 0x0812a6b8 in main ()
Comment 2 Hamid Ohadi 2006-03-28 16:40:42 UTC
Same issue in here. It perfectly works fine when compiled the original source though.

Portage 2.1_pre7-r2 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-suspend2-r8 i686)
=================================================================
System uname: 2.6.15-suspend2-r8 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi bash-completion berkdb bitmap-fonts crypt cups dri eds emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg libg++ libwww mad mikmod mmx mmxext motif mp3 mpeg ncurses nls nvidia ogg oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl spell sse sse2 ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib elibc_glibc initng_plugins_doc initng_plugins_also initng_plugins_bash_launcher initng_plugins_chdir initng_plugins_chroot initng_plugins_conflict initng_plugins_cpout initng_plugins_critical initng_plugins_cron initng_plugins_daemon initng_plugins_dev initng_plugins_dllaunch initng_plugins_envparser initng_plugins_find initng_plugins_fstat initng_plugins_history initng_plugins_idleprobe initng_plugins_initctl initng_plugins_interactive initng_plugins_iparser initng_plugins_last initng_plugins_limit initng_plugins_logfile initng_plugins_netprobe initng_plugins_ngc2 initng_plugins_pause initng_plugins_pidfile initng_plugins_reload initng_plugins_renice initng_plugins_rlparser initng_plugins_simple_launcher initng_plugins_stcmd initng_plugins_stdout initng_plugins_suid initng_plugins_syncron initng_plugins_syslog initng_plugins_unneeded input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 3 R Stephan 2006-07-20 11:36:32 UTC
you haven't compiled libstdc++ with the same compiler that you used for the other C++ libraries. usually, the following helps here:

$ emerge gtkmm glibmm libsigc++
Comment 4 Hanno Böck gentoo-dev 2006-10-11 13:25:25 UTC
Does this still occur after recompiling c++-libs listed in #3 and with latest version (0.44.1)?
Comment 5 Aben Siatris 2006-11-21 20:38:19 UTC
nope. the latest version works.