inkscape crashes when closing text properties

Bug #226499 reported by sunriis
48
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
High
Unassigned
inkscape (Arch Linux)
New
Undecided
Unassigned

Bug Description

The bug is really easy to reproduce, I just open one inkscape instance (version 0.46-4) then open the Text and Font from the Text menu, then I just press close and inkscape crashes.
From console menu this is what I get:
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.

(inkscape:6002): GLib-WARNING **: g_main_context_prepare(): main loop already active in another thread
Segmentation fault

I'm using Arch Linux and have just downloaded the precompiled binary with pacman.

Tags: crash linux
Revision history for this message
Cippa Lippa (l-cademartiri) wrote :

same here, word by word.

I use the arch 64 bit version.

nightrow (jb-benoit)
Changed in inkscape:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
spktkpkt (spktkpkt-deactivatedaccount) wrote :

Same, svn on arch i686.

Revision history for this message
Luca Bruno (lucab) wrote :

I can't reproduce it on my updated debian sid and I haven't seen any other similar report coming from other distro.
So, I think this could be somehting peculiar to Arch Linux only. I have forwarded this bug to their bug tracker, I hope they
a better clue on it, http://bugs.archlinux.org/task/10765

Revision history for this message
Luca (morrik) wrote :

It's the same for me. My distro is archlinux.

This is the shell error.

(inkscape:3367): GLib-WARNING **: g_main_loop_run(): called recursively from within a source's check() or prepare() member, iteration not possible.
Segmentation fault

Revision history for this message
b4d (b4d) wrote :

Here the same archlinux, same crashpoint and error

(inkscape:20324): GLib-WARNING **: g_main_loop_run(): called recursively from within a source's check() or prepare() member, iteration not possible.
zsh: segmentation fault inkscape

Revision history for this message
sid (miste78) wrote :

Problem is that the Arch Linux package is compiled without gnome-vfs support.
If inkscape is build with gnome-vfs it does not crash.

Is it possible to change the inkscape sources to prevent inkscape from crashing if compiled without gnome-vfs?

Revision history for this message
Akshay Srinivasan (akshay.srinivasan) wrote : Re: [Bug 226499] Re: inkscape crashes when closing text properties

The bug is not present in version 0.46-6.

Revision history for this message
sid (miste78) wrote :

It's because 0.46-6 was build with gnome-vfs.
The current package version 0.46-7 was build without gnome-vfs again and the bug returned.

Revision history for this message
Akshay Srinivasan (akshay.srinivasan) wrote :

Couldn't reproduce the bug on 0.46-7 either.

Revision history for this message
sid (miste78) wrote :

are you using i686 or x86_64 ?

here 0.46-7 crashes on i686

Revision history for this message
Akshay Srinivasan (akshay.srinivasan) wrote :

I'm using i686 too.

Revision history for this message
ScislaC (scislac) wrote :

Off-topic for this report,

Would any of you Archlinux (especially 64-bit) users be willing to see if you can reproduce this: https://bugs.launchpad.net/inkscape/+bug/182047 ?

Revision history for this message
Matt Gushee (matt-gushee) wrote :

The bug was happening for me, too, with Inkscape 0.46-7. This is on i686 with a completely up-to-date Arch installation. After I rebuilt Inkscape --with-gnome-vfs, and with a patch to fix bug #238223, the segfaults stopped.

Revision history for this message
faikuygur (faik) wrote :

Here is backtrace of the crash:

$ gdb inkscape
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run
Starting program: /usr/bin/inkscape

Program received signal SIGSEGV, Segmentation fault.
0xb746499a in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
Current language: auto; currently asm
(gdb) bt
#0 0xb746499a in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#1 0xb746567d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2 0xb7465fe9 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3 0xb780f4ef in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
(gdb)

Revision history for this message
conraid (conraid) wrote :

Same, svn or stable in Slackware 12.2, but only with localized version

LANG=it_IT@euro inkscape -> bug
LANG=en_US inkscape -> not bug

compiled without-gnome-vfs

other italian slackware users have found the same bug

Revision history for this message
johnnymnemonic (g-palmiotto) wrote :

Same problem, in Slackware 12.2, as conraid said

Revision history for this message
conraid (conraid) wrote :

Last svn, open the Text and Font from the Text menu and close

./configure \
  --prefix=/usr \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --infodir=/usr/info \
  --enable-lcms \
  --enable-poppler-cairo \
  --disable-inkboard \
  --without-gnome-vfs

$ inkscape

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.

(inkscape:17951): GLib-WARNING **: g_main_loop_run(): called recursively from within a source's check() or prepare() member, iteration not possible.
Segmentation fault

$ gdb inkscape
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...
(gdb)
Starting program: /usr/bin/inkscape
[Thread debugging using libthread_db enabled]
[New Thread 0xb58d26f0 (LWP 17955)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb58d26f0 (LWP 17955)]
0xb7331966 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0 0xb7331966 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#1 0xb7331e2a in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x089c7e38 in ?? ()
#3 0xbfe3add8 in ?? ()
#4 0x0b41e370 in ?? ()
#5 0x00000003 in ?? ()
#6 0xb7332662 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#7 0xb77d6a79 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#8 0xb7e8ca14 in Gtk::Main::run_impl () from /usr/lib/libgtkmm-2.4.so.1
#9 0xb7e8c80f in Gtk::Main::run () from /usr/lib/libgtkmm-2.4.so.1
#10 0x08086274 in sp_main_gui (argc=1, argv=0xbfe3b014) at main.cpp:920
#11 0x0815aa3a in Inkscape::NSApplication::Application::run (this=0xbfe3af50) at application/application.cpp:114
#12 0x0808670d in main (argc=1, argv=0xbfe3b014) at main.cpp:679
(gdb)

$ LANG=en_US gdb inkscape
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...
(gdb) run
Starting program: /usr/bin/inkscape
[Thread debugging using libthread_db enabled]
[New Thread 0xb58d06f0 (LWP 17964)]

Program exited normally.

Revision history for this message
Zed (fabio-nsantos) wrote :

Same bug with Inkscape-0.46 in Slackware 12.2, similar to conraid. Seems to be a problem related to international languages.

LANG=pt_BR => bug
LANG=en_US => no bug

$ gdb inkscape
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...
(gdb) run
Starting program: /usr/bin/inkscape
[Thread debugging using libthread_db enabled]
[New Thread 0xb6cd98e0 (LWP 11643)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6cd98e0 (LWP 11643)]
0xb74e39bb in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0 0xb74e39bb in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#1 0xb74e41a9 in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x08807070 in ?? ()
#3 0xbfc71dd8 in ?? ()
#4 0x0ac43620 in ?? ()
#5 0x00000002 in ?? ()
#6 0x00000002 in ?? ()
#7 0xb75775f8 in ?? () from /usr/lib/libglib-2.0.so.0
#8 0xb7577620 in ?? () from /usr/lib/libglib-2.0.so.0
#9 0xbfc71dd4 in ?? ()
#10 0x00000001 in ?? ()
#11 0x00000001 in ?? ()
#12 0x08807070 in ?? ()
#13 0x0ac43620 in ?? ()
#14 0xb6e7bfb0 in ?? () from /lib/libc.so.6
#15 0xb8065729 in _dl_fixup () from /lib/ld-linux.so.2
#16 0xb74e48d7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#17 0xb785eae4 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb7ecd967 in Gtk::Main::run_impl () from /usr/lib/libgtkmm-2.4.so.1
#19 0xb7ecd752 in Gtk::Main::run () from /usr/lib/libgtkmm-2.4.so.1
#20 0x080827c1 in ?? ()
#21 0x081cc65b in ?? ()
#22 0x0808226f in ?? ()
#23 0xb6dc7390 in __libc_start_main () from /lib/libc.so.6
#24 0x080817f1 in ?? ()
(gdb) c
Continuing.

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.

(inkscape:11643): GLib-WARNING **: g_main_loop_run(): called recursively from within a source's check() or prepare() member, iteration not possible.

Program terminated with signal SIGSEGV, Segmentation fault.

$ LANG=en_US gdb inkscape
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...
(no debugging symbols found)
(gdb) r
Starting program: /usr/bin/inkscape
[Thread debugging using libthread_db enabled]
[New Thread 0xb6c128e0 (LWP 12847)]

** (inkscape:12847): WARNING **: Family name Bitstream Vera Sans does not have an entry in the font lister.

Program exited normally.

Revision history for this message
Johan Engelen (johanengelen) wrote :

Is this bug still present?

Changed in inkscape:
status: Confirmed → Incomplete
Revision history for this message
Zed (fabio-nsantos) wrote :

I don't know what's the current status of version 0.46 on Slackware because
now I'm using Inkscape 0.47 on Ubuntu 10.04 instead of Slackware. But if
your question refers to the current version, I've tested now and the bug is
not present anymore.

Fábio Novaes
Doutorado em Física
Departamento de Física
Universidade Federal de Pernambuco
Recife, PE - Brasil

2011/3/26 Johan Engelen <email address hidden>

> Is this bug still present?
>
> ** Changed in: inkscape
> Status: Confirmed => Incomplete
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/226499
>
> Title:
> inkscape crashes when closing text properties
>
> Status in Inkscape: A Vector Drawing Tool:
> Incomplete
> Status in “inkscape” package in Arch Linux:
> New
>
> Bug description:
> The bug is really easy to reproduce, I just open one inkscape instance
> (version 0.46-4) then open the Text and Font from the Text menu, then I just
> press close and inkscape crashes.
> From console menu this is what I get:
> 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.
>
> (inkscape:6002): GLib-WARNING **: g_main_context_prepare(): main loop
> already active in another thread
> Segmentation fault
>
> I'm using Arch Linux and have just downloaded the precompiled binary
> with pacman.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/inkscape/+bug/226499/+subscribe
>

Revision history for this message
su_v (suv-lp) wrote :

Closing due to lack of feedback by users of affected distros (Arch Linux, Slackware) which provided Inkscape packages compiled without gnome-vfs support.

Feel free to reopen of this crash still happens with current Inkscape binaries (>= 0.48.x) on Arch Linux or Slackware.

Changed in inkscape:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.