Crash in SVG font editor on "New"

Bug #544833 reported by Susanne Wunsch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
Jon A. Cruz

Bug Description

Start Inkscape
Open SVG Font Editor
Clicking "New" button

... causes crash

several times the same output:

** (inkscape:13930): WARNING **: Called helperfns_read_number with value==null_ptr, this can lead to unexpected behaviour.

stack trace:

#0 0x2a615417 in kill () from /lib/libc.so.7
#1 0x2a51f387 in raise () from /lib/libthr.so.3
#2 0x2a613fac in abort () from /lib/libc.so.7
#3 0x28dab312 in uw_init_context_1 () from /usr/local/lib/libglibmm-2.4.so.1
#4 0x28dab4f5 in _Unwind_RaiseException ()
   from /usr/local/lib/libglibmm-2.4.so.1
#5 0x2a48341d in __cxa_throw () from /usr/lib/libstdc++.so.6
#6 0x2a4d9877 in std::__throw_runtime_error () from /usr/lib/libstdc++.so.6
#7 0x2a4d85d1 in std::locale::facet::_S_create_c_locale ()
   from /usr/lib/libstdc++.so.6
#8 0x2a45b6a5 in std::locale::_Impl::_Impl () from /usr/lib/libstdc++.so.6
#9 0x2a45d66d in std::locale::locale () from /usr/lib/libstdc++.so.6
#10 0x0855265f in Gtk::manage<Gtk::RadioButton> ()
#11 0x085531f0 in Gtk::manage<Gtk::RadioButton> ()
#12 0x085503e5 in Gtk::manage<Gtk::RadioButton> ()
#13 0x0855163a in Gtk::manage<Gtk::RadioButton> ()
#14 0x08520ee4 in Gtk::manage<Gtk::RadioButton> ()
#15 0x080971ec in std::list<sigc::slot_base, std::allocator<sigc::slot_base> >::erase ()
#16 0x080975fc in std::list<sigc::slot_base, std::allocator<sigc::slot_base> >::erase ()
#17 0x08460f01 in Glib::ListHandle<Gtk::TreePath, Gtk::TreePath_Traits>::~ListHandle ()
#18 0x28da0ea9 in Glib::SignalProxyNormal::slot0_void_callback ()
   from /usr/local/lib/libglibmm-2.4.so.1
#19 0x298f9e90 in g_cclosure_marshal_VOID__VOID ()
   from /usr/local/lib/libgobject-2.0.so.0
#20 0x298e4bed in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.0
#21 0x298f8ea6 in g_signal_has_handler_pending ()
   from /usr/local/lib/libgobject-2.0.so.0
#22 0x298f9890 in g_signal_emit_valist ()
   from /usr/local/lib/libgobject-2.0.so.0
#23 0x298f9ad4 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#24 0x2918fb5a in gtk_button_clicked () from /usr/local/lib/libgtk-x11-2.0.so.0
#25 0x29191b2e in gtk_button_set_alignment ()
   from /usr/local/lib/libgtk-x11-2.0.so.0
#26 0x28a721c4 in Gtk::Button_Class::released_callback ()
   from /usr/local/lib/libgtkmm-2.4.so.1
#27 0x298f9e90 in g_cclosure_marshal_VOID__VOID ()
   from /usr/local/lib/libgobject-2.0.so.0
#28 0x298e4e99 in g_cclosure_new_swap ()
   from /usr/local/lib/libgobject-2.0.so.0
#29 0x298e4bed in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.0
#30 0x298f8339 in g_signal_has_handler_pending ()
   from /usr/local/lib/libgobject-2.0.so.0
#31 0x298f9890 in g_signal_emit_valist ()
   from /usr/local/lib/libgobject-2.0.so.0
#32 0x298f9ad4 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#33 0x2918fbea in gtk_button_released ()
   from /usr/local/lib/libgtk-x11-2.0.so.0
#34 0x2918fc11 in gtk_button_released ()
   from /usr/local/lib/libgtk-x11-2.0.so.0
#35 0x28b44a9b in Gtk::Widget_Class::button_release_event_callback ()
   from /usr/local/lib/libgtkmm-2.4.so.1
...

Inkscape 0.47 r22583, built Mar 23 2010
operating system: FreeBSD 8.0-STABLE i386

env LC_CTYPE=de_DE.ISO8859-1

Tags: crash svgfonts

Related branches

su_v (suv-lp)
tags: added: fonts
removed: font
tags: added: crash
Changed in inkscape:
importance: Undecided → High
Revision history for this message
su_v (suv-lp) wrote :

crash not reproduced with Inkscape 0.47 r22583 and 0.47+devel r9225 on OS X 10.5.8

tested with each of these settings:
 LANG="C"
 LANG="en_US.UTF-8"
 LANG="de_DE.ISO8859-1"

I do however see the same warnings in the console:
** (inkscape-bin:40585): WARNING **: Called helperfns_read_number with value==null_ptr, this can lead to unexpected behaviour.

Changed in inkscape:
status: New → Confirmed
assignee: nobody → Jon A. Cruz (jon-joncruz)
Changed in inkscape:
status: Confirmed → In Progress
Revision history for this message
Jon A. Cruz (jon-joncruz) wrote :

There was a definite problem with how the font code was parsing number values. Now corrected in revision 9259.

Changed in inkscape:
status: In Progress → Fix Committed
milestone: none → 0.48
jazzynico (jazzynico)
Changed in inkscape:
status: Fix Committed → Fix Released
su_v (suv-lp)
tags: added: svgfonts
removed: fonts svg
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.