inkscape bzr crash at start with Inkscape::FontLister::selection_update

Bug #1388637 reported by Popolon
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Inkscape (but not inkview) crash at start.

Backtrace from GDB indicate a problem with Inkscape::FontLister::selection_update

<pre>
(gdb) run
Starting program: /usr/bin/inkscape
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0xb29fe2b0 (LWP 31191)]

Program received signal SIGSEGV, Segmentation fault.
0x002f7758 in Inkscape::FontLister::selection_update() ()
(gdb) bt
#0 0x002f7758 in Inkscape::FontLister::selection_update() ()
#1 0x00414908 in sp_text_toolbox_selection_changed(Inkscape::Selection*, _GObject*, bool) ()
#2 0x0041863c in sp_text_toolbox_prep(SPDesktop*, _GtkActionGroup*, _GObject*) ()
#3 0x0041dbdc in setup_aux_toolbox(_GtkWidget*, SPDesktop*) ()
#4 0x0041a5ec in Inkscape::UI::ToolboxFactory::setToolboxDesktop(_GtkWidget*, SPDesktop*) ()
#5 0x004515d0 in Inkscape::UI::UXManagerImpl::connectToDesktop(std::vector<_GtkWidget*, std::allocator<_GtkWidget*> > const&, SPDesktop*) ()
#6 0x003b0274 in SPDesktopWidget::createInstance(SPNamedView*) ()
#7 0x003b0358 in sp_desktop_widget_new(SPNamedView*) ()
#8 0x000b83b4 in sp_file_new(std::string const&) ()
#9 0x000b87c0 in sp_file_new_default() ()
#10 0x000722f8 in sp_main_gui(int, char const**) ()
#11 0xb556327c in __libc_start_main () from /usr/lib/libc.so.6
#12 0x00070cb4 in _start ()
</pre>

Some precision, that(s on Archlinux ARM. I encounter the problem on a inkscape bzr version I compiled myself. It worked really fine on an allwinner A20 SoC, but crashed this week, probably after some packages update or added. I tried to build more recent bzr version of inkscape, I encounter the same crash. Works fine with stable version.

3 Packages I made are available here with PKGBUILD file :

http://popolon.org/depots/ArchlinuxARM/

It should work on any Archlinux ARM version for ARMv7h

Could it be linked to installed fonts ? How to debug further, as plateform is still uncommon and not easy to install from everyone.

Here the list of packages containing the word font:
<pre>
font-misc-ethiopic 1.0.3-1
fontconfig 2.11.1-1
fontsproto 2.1.3-1
gsfonts 20130917-1
libfontenc 1.1.2-1
libxfont 1.5.0-1
ttf-freefont 20120503-3
xorg-font-util 1.3.0-2
xorg-font-utils 7.6-4
xorg-fonts-100dpi 1.0.1-5
xorg-fonts-75dpi 1.0.3-1
xorg-fonts-alias 1.0.3-1
xorg-fonts-encodings 1.0.4-4
xorg-fonts-misc 1.0.1-3
xorg-mkfontdir 1.0.7-2
xorg-mkfontscale 1.1.1-1
</pre>

glib/gtk/popler version installed:
<pre>
gtk2 2.24.25-1
gtk3 3.14.4-2
gtkmm 2.24.4-1
pygtk 2.24.0-5
glib2 2.42.0-1
glibmm 2.42.0-1
poppler-glib 0.26.5-1
poppler 0.26.5-1
</pre>

Tags: crash fonts ui
su_v (suv-lp)
tags: added: crash fonts ui
removed: arm fontlister
Revision history for this message
jazzynico (jazzynico) wrote :

Not reproduced on Crunchbang Waldorf, Inkscape trunk revision 13671. Almost the same font packages here (except font-misc-ethiopic, xorg-fonts-misc and a couple of others, not available -or not with the same name- on Debian stable), but older versions.

Unfortunately I have no ARM or Archlinux computer that I could use to reproduce the crash. It would be interesting to see exactly which packages changed recently on your system (unfortunately http://archlinuxarm.org/packages doesn't accept date sorting).

Revision history for this message
Rady (peter-morawetz) wrote :

I have the exact same behaviour. Inscape crashes when scrolling through the font list

Revision history for this message
jazzynico (jazzynico) wrote :

@Rady - It seems your bug is not the one encountered by Popolon. Please see Bug #1077078 "Inkscape crash on font change" (https://bugs.launchpad.net/inkscape/+bug/1077078) instead.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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