Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 162237
Alias:
Product:
Component:
Status: CLOSED
Resolution: TEST-REQUEST
Assigned To: media-gfx herd <graphics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: simon <s.wagner@akbild.ac.at>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
inkscape_patch.diff --without-gtkspell does not work so USE="-spell" has no effect patch io@stefanmajewski.eu 2007-02-02 14:15 0000 712 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 162237 depends on: 171799 Show dependency tree
Bug 162237 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-01-15 17:52 0000
Hi,
I've installed Inscape-0.43 (stable) with the following USE-flags enabled:

Calculating dependencies... done!
[ebuild   R   ] media-gfx/inkscape-0.43  USE="doc effects inkjar mmx perl
python spell -bonobo -debug -gnome -plugin" 0 kB

Whenever I try to open the "Text and Font"-dialog from the "Text"-menu, the
program crashes (window not responding).

When I start inkscape from the command line and try to reproduce the bug, I get
the following:

*** glibc detected *** inkscape: free(): invalid pointer: 0x08ddea90 ***
======= Backtrace: =========
/lib/libc.so.6[0xb6f723a0]
/lib/libc.so.6(__libc_free+0x84)[0xb6f739f4]
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6(_ZdlPv+0x21)[0xb6ed3f11]
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x1d)[0xb6eafdfd]
/usr/lib/libaspell.so.15(_ZN8aspeller9find_fileERN7acommon6StringERKS1_S4_S4_PKc+0x1a7)[0xb6c24107]
======= Memory map: ========
08048000-08593000 r-xp 00000000 03:03 1443696    /usr/bin/inkscape
08593000-085be000 rw-p 0054b000 03:03 1443696    /usr/bin/inkscape
085be000-091eb000 rw-p 085be000 00:00 0          [heap]
b6a00000-b6a21000 rw-p b6a00000 00:00 0
b6a21000-b6b00000 ---p b6a21000 00:00 0
b6b47000-b6b87000 rw-p b6b47000 00:00 0
b6b87000-b6bad000 r-xp 00000000 03:03 547975    
/usr/lib/enchant/libenchant_myspell.so
b6bad000-b6bbe000 rw-p 00025000 03:03 547975    
/usr/lib/enchant/libenchant_myspell.so
b6bbe000-b6c51000 r-xp 00000000 03:03 1897673    /usr/lib/libaspell.so.15.0.3
b6c51000-b6c55000 rw-p 00092000 03:03 1897673    /usr/lib/libaspell.so.15.0.3
b6c55000-b6c56000 rw-p b6c55000 00:00 0
b6c62000-b6c6d000 r-xp 00000000 03:03 547981    
/usr/lib/enchant/libenchant_ispell.so
b6c6d000-b6c6e000 rw-p 0000b000 03:03 547981    
/usr/lib/enchant/libenchant_ispell.so
b6c6f000-b6c8f000 rw-p b6c6f000 00:00 0
b6c8f000-b6cef000 rw-s 00000000 00:07 3309574    /SYSV00000000 (deleted)
b6cef000-b6d4f000 rw-s 00000000 00:07 3276805    /SYSV00000000 (deleted)
b6d4f000-b6d5e000 r--p 00000000 03:03 491723    
/usr/share/fonts/ttf-bitstream-vera/VeraBd.ttf
b6d5e000-b6d6b000 r--p 00000000 03:03 491730    
/usr/share/fonts/ttf-bitstream-vera/VeraMono.ttf
b6d6b000-b6d7c000 r--p 00000000 03:03 491721    
/usr/share/fonts/ttf-bitstream-vera/Vera.ttf
b6d7c000-b6d84000 r-xp 00000000 03:03 1768062    /lib/libnss_files-2.4.so
b6d84000-b6d86000 rw-p 00007000 03:03 1768062    /lib/libnss_files-2.4.so
b6d86000-b6d8e000 r-xp 00000000 03:03 1769235    /lib/libnss_nis-2.4.so
b6d8e000-b6d90000 rw-p 00007000 03:03 1769235    /lib/libnss_nis-2.4.so
b6d95000-b6d9a000 r-xp 00000000 03:03 1760199    /lib/libgpm.so.1.19.0
b6d9a000-b6d9b000 rw-p 00004000 03:03 1760199    /lib/libgpm.so.1.19.0
b6d9b000-b6d9d000 r-xp 00000000 03:03 547988    
/usr/lib/enchant/libenchant_aspell.so
b6d9d000-b6d9e000 rw-p 00001000 03:03 547988    
/usr/lib/enchant/libenchant_aspell.so
b6d9e000-b6da0000 r-xp 00000000 03:03 1397379   
/usr/lib/pango/1.5.0/modules/pango-basic-fc.so
b6da0000-b6da1000 rw-p 00001000 03:03 1397379   
/usr/lib/pango/1.5.0/modules/pango-basic-fc.so
b6da1000-b6da7000 r-xp 00000000 03:03 1867668   
/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
b6da7000-b6da8000 rw-p 00005000 03:03 1867668   
/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
b6da8000-b6dab000 rw-p b6da8000 00:00 0
b6dab000-b6daf000 r-xp 00000000 03:03 1751123    /usr/lib/libXdmcp.so.6.0.0
b6daf000-b6db0000 rw-p 00003000 03:03 1751123    /usr/lib/libXdmcp.so.6.0.0
b6db0000-b6db2000 r-xp 00000000 03:03 1750873    /usr/lib/libXau.so.6.0.0
b6db2000-b6db3000 rw-p 00001000 03:03 1750873    /usr/lib/libXau.so.6.0.0
b6db3000-b6dba000 r-xp 00000000 03:03 1769289    /lib/librt-2.4.so
b6dba000-b6dbc000 rw-p 00006000 03:03 1769289    /lib/librt-2.4.so
b6dbc000-b6dbd000 rw-p b6dbc000 00:00 0
b6dbd000-b6de4000 r-xp 00000000 03:03 955922     /usr/lib/libglitz.so.1.0.0
b6de4000-b6de5000 rw-p 00027000 03:03 955922     /usr/lib/libglitz.so.1.0.0
b6de5000-b6de9000 r-xp 00000000 03:03 1853305    /usr/lib/libXfixes.so.3.1.0
b6de9000-b6dea000 rw-p 00003000 03:03 1853305    /usr/lib/libXfixes.so.3.1.0
b6dea000-b6df2000 r-xp 00000000 03:03 1853504    /usr/lib/libXcursor.so.1.0.2
b6df2000-b6df3000 rw-p 00008000 03:03 1853504    /usr/lib/libXcursor.so.1.0.2
b6df3000-b6df6000 r-xp 00000000 03:03 1854473    /usr/lib/libXrandr.so.2.0.0
b6df6000-b6df7000 rw-p 00002000 03:03 1854473    /usr/lib/libXrandr.so.2.0.0
b6df7000-b6dfe000 r-xp 00000000 03:03 1856219    /usr/lib/libXi.so.6.0.0
b6dfe000-b6dff000 rw-p 00006000 0
Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix
it.

uname -a gives
Linux horch 2.6.18-gentoo-r6-reiser4 #1 PREEMPT Wed Jan 3 18:36:04 CET 2007
i686 Pentium III (Coppermine) GenuineIntel GNU/Linux

Reiser4 is enabled, with /var residing on a reiser4-partition.
gcc is 4.1.1-r1 with fortran gtk nls USE-flags enabled, all others disabled.

Best,
Simon

------- Comment #1 From Jakub Moc (RETIRED) 2007-01-15 18:29:25 0000 -------
Post emerge --info and reopen then...

------- Comment #2 From simon 2007-01-20 13:57:56 0000 -------
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4,
2.6.18-gentoo-r6-reiser4 i686)
=================================================================
System uname: 2.6.18-gentoo-r6-reiser4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.6
Last Sync: Sat, 30 Dec 2006 11:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -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"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
FEATURES="autoconfig distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/var/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="/var/portage"
PORTDIR_OVERLAY="/var/portage/crossdev"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 a52 aac aalib acpi alsa alsa_cards_bt878 alsa_cards_bt87x
alsa_cards_ice1712 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw
alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix
alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty
alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks
alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa
alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter
alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null
alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route
alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol arts
artswrappersuid avi bitmap-fonts bzip2 cairo cdparanoia cdr cli cracklib crypt
cups dbus divx4linux dlloader dri dv dvd dvdr dvdread elibc_glibc encode exif
expat ffmpeg flac fortran gd gdbm gif gimp gmp gphoto2 gpm gtk gtk2 hal iconv
ieee1394 imagemagick imlib input_devices_evdev input_devices_keyboard
input_devices_mouse ipv6 isdnlog jack jack-tmpfs jpeg kde kdexdeltas
kernel_linux lcms libg++ libsamplerate linguas_de matroska mmx mng mozilla
mozsvg mp3 mpeg ncurses nls nojoystick nptl nptlonly nvidia ogg oggvorbis
opengl pam pcre pdf pdflib perl png ppds pppd python qt3 quicktime readline
real reflection scanner session sox spl sse ssl svg tcl tcpd theora tiff tk
truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l vcd
video_cards_fbdev video_cards_nv video_cards_v4l video_cards_vga vorbis
win32codecs wmf x264 xine xinerama xml xorg xscreensaver xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #3 From io@stefanmajewski.eu 2007-02-02 14:15:39 0000 -------
Created an attachment (id=108935) [details]
--without-gtkspell does not work so USE="-spell" has no effect

I have tracked down the problem with an strace run to gtkspell and tried to
compile inkscape without gtkspell. According to the USE flags of the ebuild,
that should work fine. But it doesn't, as the configure script only checks for
the presence of the library and _not_ the flags. That solves the problem for
me, as I can now ebuild it without gtkspell, but still I have no clue why
loading the aspell dictionaries causes a SIGSEGV.

best,

Stefan

------- Comment #4 From Frederic Grosshans 2007-02-12 18:05:47 0000 -------
Which version of gtk-spale, aspell and aspell dictionnaries ? (I've had similar
problems with other apps)

------- Comment #5 From simon 2007-02-12 19:49:28 0000 -------
 $ emerge -pv gtk+ gtkspell aspell aspell-de aspell-en
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild   R   ] x11-libs/gtk+-2.10.6  USE="X jpeg tiff xinerama -debug -doc"
0kB
[ebuild   R   ] app-text/gtkspell-2.0.11-r1  USE="-doc" 0 kB
[ebuild   R   ] app-text/aspell-0.50.5-r4  USE="gpm" 0 kB
[ebuild   R   ] app-dicts/aspell-de-0.50.2  0 kB
[ebuild   R   ] app-dicts/aspell-en-0.51.1  0 kB

Total size of downloads: 0 kB

------- Comment #6 From Frederic Grosshans 2007-03-12 12:59:51 0000 -------
Sorry for the late answer.

It's not the problem I've seen long ago (.50 dictionary with .60 aspell version
made gtk-spell using apps crash). Have you re-emerged your aspell dictionnaries
after the last aspell upgrade ?

------- Comment #7 From simon 2007-03-13 12:19:15 0000 -------
I did!

------- Comment #8 From Petteri Räty 2007-04-07 14:02:56 0000 -------
Not seeing this with 0.45.1 in ~x86. I just committed that version so wait a
couple of hours for it to hit mirrors, but the automatic dependency on gtkspell
should still be fixed.

------- Comment #9 From Markus Meier 2008-01-10 13:46:24 0000 -------
(In reply to comment #8)
> Not seeing this with 0.45.1 in ~x86. I just committed that version so wait a
> couple of hours for it to hit mirrors, but the automatic dependency on gtkspell
> should still be fixed.

Please test with the mentioned version.

------- Comment #10 From simon 2008-01-10 19:47:13 0000 -------
Works fine with 0.45 now.

I remember that during a system upgrade quite a while ago I added USE flag "X"
to some library. This changed the behaviour both in 0.43 and in 0.45. A check
in the inkscape-ebuild if that package was installed w/ useflag X enabled would
certainly be useful. Unfortunately, however, I do not remember which library it
was.

Apart from that check, I think the bug can be closed. Sorry for the
inconvenience.

------- Comment #11 From Markus Meier 2008-01-10 20:22:56 0000 -------
(In reply to comment #10)
> Works fine with 0.45 now.
> 
> I remember that during a system upgrade quite a while ago I added USE flag "X"
> to some library. This changed the behaviour both in 0.43 and in 0.45. A check
> in the inkscape-ebuild if that package was installed w/ useflag X enabled would
> certainly be useful. Unfortunately, however, I do not remember which library it
> was.
> 
> Apart from that check, I think the bug can be closed. Sorry for the
> inconvenience.

Anyway, thanks for the report.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug