text layout crash

Bug #264334 reported by jimmac
4
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
Unassigned

Bug Description

The attached file crashes Inkscape. It appears to be related to text layout. The referenced bitmaps should not be the cause, I will be happy to provide them if my assumption is wrong.

The problem exists in both trunk and the stable 0.46. This is openSUSE 11.0, gtk2 2.12.9-37.1

Here's the backtrace:

System: Linux 2.6.25.11-0.1-pae #1 SMP 2008-07-13 20:48:28 +0200 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10400090
Selinux: No
Accessibility: Disabled
GTK+ Theme: Darkilouche
Icon Theme: Gilouche

Memory status: size: 184233984 vsize: 184233984 resident: 83193856 share: 22261760 rss: 105455616 rss_rlim: 2711818240
CPU usage: start_time: 1220445104 rtime: 1808 utime: 1749 stime: 59 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/opt/artlibre/bin/inkscape'

[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0xb63356d0 (LWP 328)]
[New Thread 0xb377db90 (LWP 353)]
0xffffe430 in __kernel_vsyscall ()
#0 0xffffe430 in __kernel_vsyscall ()
#1 0xb691bbab in waitpid () from /lib/libpthread.so.0
#2 0xb7447af7 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#3 0xb7447e3c in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
#4 0xb62068c3 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#5 0xb6206e48 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#6 0xb6206f03 in google_breakpad::ExceptionHandler::InternalWriteMinidump ()
   from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#7 0xb62074b3 in google_breakpad::ExceptionHandler::HandleException ()
   from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#8 <signal handler called>
#9 0xffffe430 in __kernel_vsyscall ()
#10 0xb67f5900 in raise () from /lib/libc.so.6
#11 0xb67f7238 in abort () from /lib/libc.so.6
#12 0xb7436029 in g_assertion_message () from /usr/lib/libglib-2.0.so.0
#13 0xb74364bd in g_assertion_message_expr () from /usr/lib/libglib-2.0.so.0
#14 0x083fdb46 in Inkscape::Text::Layout::Calculator::calculate (
    this=0xbfd000bc) at libnrtype/Layout-TNG-Compute.cpp:1347
#15 0x083fe29d in Inkscape::Text::Layout::calculateFlow (this=0xa45ea2c)
    at libnrtype/Layout-TNG-Compute.cpp:1515
#16 0x080bd8e9 in SPFlowtext::rebuildLayout (this=0xa45e948)
    at sp-flowtext.cpp:508
#17 0x080bdc64 in sp_flowtext_update (object=0xa45e948, ctx=0xbfd002f8,
    flags=76) at sp-flowtext.cpp:176
#18 0x080d6ce6 in SPObject::updateDisplay (this=0xa45e948, ctx=0xbfd002f8,
    flags=75) at sp-object.cpp:1298
#19 0x080c5cdf in CGroup::onUpdate (this=0xd21e2d0, ctx=0xbfd00438, flags=0)
    at sp-item-group.cpp:668
#20 0x080d6ce6 in SPObject::updateDisplay (this=0xc00ea28, ctx=0xbfd00438,
    flags=2) at sp-object.cpp:1298
#21 0x080c5cdf in CGroup::onUpdate (this=0xcc1efc0, ctx=0xbfd0057c, flags=0)
    at sp-item-group.cpp:668
#22 0x080e72b3 in sp_root_update (object=0x8f487d0, ctx=0xbfd00798, flags=2)
    at sp-root.cpp:553
#23 0x080d6ce6 in SPObject::updateDisplay (this=0x8f487d0, ctx=0xbfd00798,
    flags=2) at sp-object.cpp:1298
#24 0x08089ec1 in SPDocument::_updateDocument (this=0x8b48de0)
    at document.cpp:826
#25 0x08089f72 in sp_document_idle_handler (data=0x8b48de0) at document.cpp:872
#26 0xb740d3f1 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb740f2d9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb741285b in ?? () from /usr/lib/libglib-2.0.so.0
#29 0xb7412d2a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#30 0xb78b47e5 in gtk_dialog_run () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x0809590f in inkscape_crash_handler () at inkscape.cpp:734
#32 <signal handler called>
#33 0xffffe430 in __kernel_vsyscall ()
#34 0xb67f5900 in raise () from /lib/libc.so.6
#35 0xb67f7238 in abort () from /lib/libc.so.6
#36 0xb7436029 in g_assertion_message () from /usr/lib/libglib-2.0.so.0
#37 0xb74364bd in g_assertion_message_expr () from /usr/lib/libglib-2.0.so.0
#38 0x083fdb46 in Inkscape::Text::Layout::Calculator::calculate (
    this=0xbfd015bc) at libnrtype/Layout-TNG-Compute.cpp:1347
#39 0x083fe29d in Inkscape::Text::Layout::calculateFlow (this=0xa45eba4)
    at libnrtype/Layout-TNG-Compute.cpp:1515
#40 0x080bd8e9 in SPFlowtext::rebuildLayout (this=0xa45eac0)
    at sp-flowtext.cpp:508
#41 0x080bdc64 in sp_flowtext_update (object=0xa45eac0, ctx=0xbfd017f8,
    flags=92) at sp-flowtext.cpp:176
#42 0x080d6ce6 in SPObject::updateDisplay (this=0xa45eac0, ctx=0xbfd017f8,
    flags=95) at sp-object.cpp:1298
#43 0x080fb35c in sp_use_update (object=0xbfff5c8, ctx=0xbfd01998, flags=28)
    at sp-use.cpp:609
#44 0x080d6ce6 in SPObject::updateDisplay (this=0xbfff5c8, ctx=0xbfd01998,
    flags=95) at sp-object.cpp:1298
#45 0x080c5cdf in CGroup::onUpdate (this=0xd1213c0, ctx=0xbfd01ad8, flags=92)
    at sp-item-group.cpp:668
#46 0x080d6ce6 in SPObject::updateDisplay (this=0xc00eb48, ctx=0xbfd01ad8,
    flags=95) at sp-object.cpp:1298
#47 0x080c5cdf in CGroup::onUpdate (this=0xd21e2d0, ctx=0xbfd01c18, flags=92)
    at sp-item-group.cpp:668
#48 0x080d6ce6 in SPObject::updateDisplay (this=0xc00ea28, ctx=0xbfd01c18,
    flags=95) at sp-object.cpp:1298
#49 0x080c5cdf in CGroup::onUpdate (this=0xcc1efc0, ctx=0xbfd01d5c, flags=28)
    at sp-item-group.cpp:668
#50 0x080e72b3 in sp_root_update (object=0x8f487d0, ctx=0xbfd01f78, flags=27)
    at sp-root.cpp:553
#51 0x080d6ce6 in SPObject::updateDisplay (this=0x8f487d0, ctx=0xbfd01f78,
    flags=27) at sp-object.cpp:1298
#52 0x08089ec1 in SPDocument::_updateDocument (this=0x8b48de0)
    at document.cpp:826
#53 0x08089f07 in sp_document_ensure_up_to_date (doc=0x8b48de0)
    at document.cpp:848
#54 0x0808d4ce in sp_file_open (uri=@0xbfd020b0, key=0x0, add_to_recent=true,
    replace_empty=true) at file.cpp:199
#55 0x0808e40d in sp_file_open_dialog (parentWindow=@0x951d5f8) at file.cpp:502
#56 0x083c7c5d in sp_action_perform (action=0x8b4eee0, data=0x0)
    at helper/action.cpp:181
#57 0xb76c82a4 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#58 0xb76bac3b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#59 0xb76cf1c7 in ?? () from /usr/lib/libgobject-2.0.so.0
#60 0xb76d067e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#61 0xb76d0ae6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#62 0xb784c4b5 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#63 0xb784d474 in gtk_action_activate () from /usr/lib/libgtk-x11-2.0.so.0
#64 0xb76c82a4 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#65 0xb76bac3b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#66 0xb76cf1c7 in ?? () from /usr/lib/libgobject-2.0.so.0
#67 0xb76d067e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#68 0xb76d0993 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#69 0xb7a220f7 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#70 0xb76c82a4 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#71 0xb76bac3b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#72 0xb76cf1c7 in ?? () from /usr/lib/libgobject-2.0.so.0
#73 0xb76d067e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#74 0xb76d0ae6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#75 0xb7864c8a in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#76 0xb7865e48 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#77 0xb76c82a4 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#78 0xb76b9389 in ?? () from /usr/lib/libgobject-2.0.so.0
#79 0xb76bac3b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#80 0xb76cea40 in ?? () from /usr/lib/libgobject-2.0.so.0
#81 0xb76d067e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#82 0xb76d0ae6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#83 0xb7864d2a in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#84 0xb7864d63 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#85 0xb7945df6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#86 0xb76b9389 in ?? () from /usr/lib/libgobject-2.0.so.0
#87 0xb76bac3b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#88 0xb76cee7f in ?? () from /usr/lib/libgobject-2.0.so.0
#89 0xb76d050c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#90 0xb76d0ae6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#91 0xb7a6eb6e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#92 0xb793ea5c in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#93 0xb793fd3f in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#94 0xb77aea9a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#95 0xb740f2d9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#96 0xb741285b in ?? () from /usr/lib/libglib-2.0.so.0
#97 0xb7412d2a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#98 0xb7940279 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#99 0xb7e69107 in Gtk::Main::run_impl () from /usr/lib/libgtkmm-2.4.so.1
#100 0xb7e68f02 in Gtk::Main::run () from /usr/lib/libgtkmm-2.4.so.1
#101 0x08084189 in sp_main_gui (argc=1, argv=0xbfd03bb4) at main.cpp:800
#102 0x081f1082 in Inkscape::NSApplication::Application::run (this=0xbfd03af4)
    at application/application.cpp:117
#103 0x080845bd in main (argc=1, argv=0xbfd03bb4) at main.cpp:610

Thread 2 (Thread 0xb377db90 (LWP 353)):
#0 0xffffe430 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb6917f42 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
No symbol table info available.
#2 0xb7495ffd in ?? () from /usr/lib/libgthread-2.0.so.0
No symbol table info available.
#3 0xb73e90c9 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#4 0xb73e91c7 in g_async_queue_timed_pop () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5 0xb743a973 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#6 0xb743939f in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#7 0xb6914175 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8 0xb6898dce in clone () from /lib/libc.so.6
No symbol table info available.

Thread 1 (Thread 0xb63356d0 (LWP 328)):
#0 0xffffe430 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb691bbab in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#2 0xb7447af7 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3 0xb7447e3c in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#4 0xb62068c3 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#5 0xb6206e48 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#6 0xb6206f03 in google_breakpad::ExceptionHandler::InternalWriteMinidump ()
   from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#7 0xb62074b3 in google_breakpad::ExceptionHandler::HandleException ()
   from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#8 <signal handler called>
No symbol table info available.
#9 0xffffe430 in __kernel_vsyscall ()
No symbol table info available.
#10 0xb67f5900 in raise () from /lib/libc.so.6
No symbol table info available.
#11 0xb67f7238 in abort () from /lib/libc.so.6
No symbol table info available.
#12 0xb7436029 in g_assertion_message () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#13 0xb74364bd in g_assertion_message_expr () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#14 0x083fdb46 in Inkscape::Text::Layout::Calculator::calculate (
    this=0xbfd000bc) at libnrtype/Layout-TNG-Compute.cpp:1347
 para = {first_input_index = 0,
  direction = Inkscape::Text::Layout::LEFT_TO_RIGHT,
  alignment = Inkscape::Text::Layout::LEFT,
  input_items = {<std::_Vector_base<Inkscape::Text::Layout::Calculator::InputItemInfo, std::allocator<Inkscape::Text::Layout::Calculator::InputItemInfo> >> = {
      _M_impl = {<std::allocator<Inkscape::Text::Layout::Calculator::InputItemInfo>> = {<__gnu_cxx::new_allocator<Inkscape::Text::Layout::Calculator::InputItemInfo>> = {<No data fields>}, <No data fields>}, _M_start = 0x0,
        _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>},
  pango_items = {<std::_Vector_base<Inkscape::Text::Layout::Calculator::PangoItemInfo, std::allocator<Inkscape::Text::Layout::Calculator::PangoItemInfo> >> = {
      _M_impl = {<std::allocator<Inkscape::Text::Layout::Calculator::PangoItemInfo>> = {<__gnu_cxx::new_allocator<Inkscape::Text::Layout::Calculator::PangoItemInfo>> = {<No data fields>}, <No data fields>}, _M_start = 0x0,
        _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>},
  char_attributes = {<std::_Vector_base<_PangoLogAttr, std::allocator<_PangoLogAttr> >> = {
      _M_impl = {<std::allocator<_PangoLogAttr>> = {<__gnu_cxx::new_allocator<_PangoLogAttr>> = {<No data fields>}, <No data fields>}, _M_start = 0x1,
        _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>},
  unbroken_spans = {<std::_Vector_base<Inkscape::Text::Layout::Calculator::UnbrokenSpan, std::allocator<Inkscape::Text::Layout::Calculator::UnbrokenSpan> >> = {_M_impl = {<std::allocator<Inkscape::Text::Layout::Calculator::UnbrokenSpan>> = {<__gnu_cxx::new_allocator<Inkscape::Text::Layout::Calculator::UnbrokenSpan>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
        _M_end_of_storage = 0x0}}, <No data fields>}}
 line_height = {ascent = 0, descent = 0,
  leading = 1.5128643767373514e-314}
 __PRETTY_FUNCTION__ = "bool Inkscape::Text::Layout::Calculator::calculate()"
#15 0x083fe29d in Inkscape::Text::Layout::calculateFlow (this=0xa45ea2c)
    at libnrtype/Layout-TNG-Compute.cpp:1515
 result = <value optimized out>
#16 0x080bd8e9 in SPFlowtext::rebuildLayout (this=0xa45e948)
    at sp-flowtext.cpp:508
 shapes = {<std::_List_base<Shape, std::allocator<Shape> >> = {
    _M_impl = {<std::allocator<std::_List_node<Shape> >> = {<__gnu_cxx::new_allocator<std::_List_node<Shape> >> = {<No data fields>}, <No data fields>},
      _M_node = {_M_next = 0xd372e38, _M_prev = 0xd372e38}}}, <No data fields>}
 exclusion_shape = (class Shape *) 0xd372318
 pending_line_break_object = (SPObject *) 0xb6a0698
#17 0x080bdc64 in sp_flowtext_update (object=0xa45e948, ctx=0xbfd002f8,
    flags=76) at sp-flowtext.cpp:176
 group = (SPFlowtext *) 0xa45e948
 cctx = {ctx = {flags = 0}, i2doc = {_c = {1, 0, 0, 1, -225.77561,
      49.301514999999995}}, vp = {x0 = 0, y0 = 0, x1 = 800, y1 = 600}, i2vp = {
    _c = {1, 0, 0, 1, -225.77561, 49.301514999999995}}}
 l = (GSList *) 0x0
 paintbox = {x0 = -2.2110410170899053e-42,
  y0 = 4.9994568036172753e-264, x1 = -1.0582699057557175e-41,
  y1 = 1.0869444208507424e-322}
#18 0x080d6ce6 in SPObject::updateDisplay (this=0xa45e948, ctx=0xbfd002f8,
    flags=75) at sp-object.cpp:1298
 __PRETTY_FUNCTION__ = "void SPObject::updateDisplay(SPCtx*, unsigned int)"
#19 0x080c5cdf in CGroup::onUpdate (this=0xd21e2d0, ctx=0xbfd00438, flags=0)
    at sp-item-group.cpp:668
 child = (SPObject *) 0xa45e948
 cctx = {ctx = {flags = 0}, i2doc = {_c = {1, 0, 0, 1, -225.77561,
      49.301514999999995}}, vp = {x0 = 0, y0 = 0, x1 = 800, y1 = 600}, i2vp = {
    _c = {1, 0, 0, 1, -225.77561, 49.301514999999995}}}
 l = <value optimized out>
#20 0x080d6ce6 in SPObject::updateDisplay (this=0xc00ea28, ctx=0xbfd00438,
    flags=2) at sp-object.cpp:1298
 __PRETTY_FUNCTION__ = "void SPObject::updateDisplay(SPCtx*, unsigned int)"
#21 0x080c5cdf in CGroup::onUpdate (this=0xcc1efc0, ctx=0xbfd0057c, flags=0)
    at sp-item-group.cpp:668
 child = (SPObject *) 0xc00ea28
 cctx = {ctx = {flags = 0}, i2doc = {_c = {1, 0, 0, 1, 0, 26}}, vp = {
    x0 = 0, y0 = 0, x1 = 800, y1 = 600}, i2vp = {_c = {1, 0, 0, 1, 0, 26}}}
 l = <value optimized out>
#22 0x080e72b3 in sp_root_update (object=0x8f487d0, ctx=0xbfd00798, flags=2)
    at sp-root.cpp:553
 v = <value optimized out>
 root = (SPRoot *) 0x8f487d0
 rctx = {ctx = {flags = 0}, i2doc = {_c = {1, 0, 0, 1, 0, 0}}, vp = {
    x0 = 0, y0 = 0, x1 = 800, y1 = 600}, i2vp = {_c = {1, 0, 0, 1, 0, 0}}}
#23 0x080d6ce6 in SPObject::updateDisplay (this=0x8f487d0, ctx=0xbfd00798,
    flags=2) at sp-object.cpp:1298
 __PRETTY_FUNCTION__ = "void SPObject::updateDisplay(SPCtx*, unsigned int)"
#24 0x08089ec1 in SPDocument::_updateDocument (this=0x8b48de0)
    at document.cpp:826
 ctx = {ctx = {flags = 0}, i2doc = {_c = {1, 0, 0, 1, 0, 0}}, vp = {
    x0 = 0, y0 = 0, x1 = 744.09448818897647, y1 = 1052.3622047244096}, i2vp = {
    _c = {1, 0, 0, 1, 0, 0}}}
 saved = false
#25 0x08089f72 in sp_document_idle_handler (data=0x8b48de0) at document.cpp:872
No locals.
#26 0xb740d3f1 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#27 0xb740f2d9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#28 0xb741285b in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#29 0xb7412d2a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#30 0xb78b47e5 in gtk_dialog_run () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#31 0x0809590f in inkscape_crash_handler () at inkscape.cpp:734
 msgbox = (GtkWidget *) 0x9482638
 tracker = {<Inkscape::Debug::EventTrackerBase> = {
    _vptr.EventTrackerBase = 0x8655ae8, _active = true}, <No data fields>}
 sptime = 1220445129
 sptm = <value optimized out>
 sptstr = "2008_09_03_14_32_09\000g©\016\bðð2\r`Ü2\rx\021пo\000\000\000\001\000\001\000\000ï\n\fp\000\000\000øå2\r é2\r@æ2\r\230\016пá\002D\b é2\r@æ2\r\004\000\000\000¨\016п\bé2\r\"\000\000\000\004\000\000\000\003\000\000\000`è2\r\004\020пh\020п\025ÏC\b`è2\r\002\000\000\000\003", '\0' <repeats 51 times>, "Xè2\r\032\000\000\000.\221\203¶0\000\000\000 \000\000\000 \000\000\000\030\017п\034±\203¶@±\220¶ \000\000\000@±\220¶h\001\000\000ô\237\220¶x±\220¶X\001\000\000+"...
 count = 0
 savednames = (GSList *) 0x0
 failednames = (GSList *) 0x0
 istr = 0x8653198 "Inkscape encountered an internal error and will close now.\n"
 sstr = 0x86531d4 "Automatic backups of unsaved documents were done to the following locations:\n"
 fstr = 0x8653224 "Automatic backup of the following documents failed:\n"
 len = <value optimized out>
 pos = 59
 recursion = 1
#32 <signal handler called>
No symbol table info available.
#33 0xffffe430 in __kernel_vsyscall ()
No symbol table info available.
#34 0xb67f5900 in raise () from /lib/libc.so.6
No symbol table info available.
#35 0xb67f7238 in abort () from /lib/libc.so.6
No symbol table info available.
#36 0xb7436029 in g_assertion_message () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#37 0xb74364bd in g_assertion_message_expr () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#38 0x083fdb46 in Inkscape::Text::Layout::Calculator::calculate (
    this=0xbfd015bc) at libnrtype/Layout-TNG-Compute.cpp:1347
 para = {first_input_index = 0,
  direction = Inkscape::Text::Layout::LEFT_TO_RIGHT,
  alignment = Inkscape::Text::Layout::LEFT,
  input_items = {<std::_Vector_base<Inkscape::Text::Layout::Calculator::InputItemInfo, std::allocator<Inkscape::Text::Layout::Calculator::InputItemInfo> >> = {
      _M_impl = {<std::allocator<Inkscape::Text::Layout::Calculator::InputItemInfo>> = {<__gnu_cxx::new_allocator<Inkscape::Text::Layout::Calculator::InputItemInfo>> = {<No data fields>}, <No data fields>}, _M_start = 0x0,
        _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>},
  pango_items = {<std::_Vector_base<Inkscape::Text::Layout::Calculator::PangoItemInfo, std::allocator<Inkscape::Text::Layout::Calculator::PangoItemInfo> >> = {
      _M_impl = {<std::allocator<Inkscape::Text::Layout::Calculator::PangoItemInfo>> = {<__gnu_cxx::new_allocator<Inkscape::Text::Layout::Calculator::PangoItemInfo>> = {<No data fields>}, <No data fields>}, _M_start = 0x0,
        _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>},
  char_attributes = {<std::_Vector_base<_PangoLogAttr, std::allocator<_PangoLogAttr> >> = {
      _M_impl = {<std::allocator<_PangoLogAttr>> = {<__gnu_cxx::new_allocator<_PangoLogAttr>> = {<No data fields>}, <No data fields>}, _M_start = 0x1,
        _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>},
  unbroken_spans = {<std::_Vector_base<Inkscape::Text::Layout::Calculator::UnbrokenSpan, std::allocator<Inkscape::Text::Layout::Calculator::UnbrokenSpan> >> = {_M_impl = {<std::allocator<Inkscape::Text::Layout::Calculator::UnbrokenSpan>> = {<__gnu_cxx::new_allocator<Inkscape::Text::Layout::Calculator::UnbrokenSpan>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
        _M_end_of_storage = 0x0}}, <No data fields>}}
 line_height = {ascent = 0, descent = 0,
  leading = 1.5128643767373514e-314}
 __PRETTY_FUNCTION__ = "bool Inkscape::Text::Layout::Calculator::calculate()"
#39 0x083fe29d in Inkscape::Text::Layout::calculateFlow (this=0xa45eba4)
    at libnrtype/Layout-TNG-Compute.cpp:1515
 result = <value optimized out>
#40 0x080bd8e9 in SPFlowtext::rebuildLayout (this=0xa45eac0)
    at sp-flowtext.cpp:508
 shapes = {<std::_List_base<Shape, std::allocator<Shape> >> = {
    _M_impl = {<std::allocator<std::_List_node<Shape> >> = {<__gnu_cxx::new_allocator<std::_List_node<Shape> >> = {<No data fields>}, <No data fields>},
      _M_node = {_M_next = 0xd32e338, _M_prev = 0xd32e338}}}, <No data fields>}
 exclusion_shape = (class Shape *) 0xd32e0b8
 pending_line_break_object = (SPObject *) 0xb6a03e0
#41 0x080bdc64 in sp_flowtext_update (object=0xa45eac0, ctx=0xbfd017f8,
    flags=92) at sp-flowtext.cpp:176
 group = (SPFlowtext *) 0xa45eac0
 cctx = {ctx = {flags = 0}, i2doc = {_c = {0.70185318079701997,
      -0.18806096534610001, 0.18806096534610001, 0.70185318079701997,
      346.84964359154418, 185.41900252210465}}, vp = {x0 = 0, y0 = 0,
    x1 = 800, y1 = 600}, i2vp = {_c = {0.70185318079701997,
      -0.18806096534610001, 0.18806096534610001, 0.70185318079701997,
      346.84964359154418, 185.41900252210465}}}
 l = (GSList *) 0x0
 paintbox = {x0 = 7.8138325909005892e-270,
  y0 = 3.9163090989542495e-245, x1 = -1.0582699339597673e-41,
  y1 = 5.3268453605751308e-315}
#42 0x080d6ce6 in SPObject::updateDisplay (this=0xa45eac0, ctx=0xbfd017f8,
    flags=95) at sp-object.cpp:1298
 __PRETTY_FUNCTION__ = "void SPObject::updateDisplay(SPCtx*, unsigned int)"
#43 0x080fb35c in sp_use_update (object=0xbfff5c8, ctx=0xbfd01998, flags=28)
    at sp-use.cpp:609
 use = (SPUse *) 0xbfff5c8
 cctx = {ctx = {flags = 0}, i2doc = {_c = {0.70185318079701997,
      -0.18806096534610001, 0.18806096534610001, 0.70185318079701997,
      346.84964359154418, 185.41900252210465}}, vp = {x0 = 0, y0 = 0,
    x1 = 800, y1 = 600}, i2vp = {_c = {0.70185318079701997,
      -0.18806096534610001, 0.18806096534610001, 0.70185318079701997,
      346.84964359154418, 185.41900252210465}}}
#44 0x080d6ce6 in SPObject::updateDisplay (this=0xbfff5c8, ctx=0xbfd01998,
    flags=95) at sp-object.cpp:1298
 __PRETTY_FUNCTION__ = "void SPObject::updateDisplay(SPCtx*, unsigned int)"
#45 0x080c5cdf in CGroup::onUpdate (this=0xd1213c0, ctx=0xbfd01ad8, flags=92)
    at sp-item-group.cpp:668
 child = (SPObject *) 0xbfff5c8
 cctx = {ctx = {flags = 0}, i2doc = {_c = {0.70185318079701997,
      -0.18806096534610001, 0.18806096534610001, 0.70185318079701997,
      500.92886821150501, 126.60518093376058}}, vp = {x0 = 0, y0 = 0,
    x1 = 800, y1 = 600}, i2vp = {_c = {0.70185318079701997,
      -0.18806096534610001, 0.18806096534610001, 0.70185318079701997,
      500.92886821150501, 126.60518093376058}}}
 l = <value optimized out>
#46 0x080d6ce6 in SPObject::updateDisplay (this=0xc00eb48, ctx=0xbfd01ad8,
    flags=95) at sp-object.cpp:1298
 __PRETTY_FUNCTION__ = "void SPObject::updateDisplay(SPCtx*, unsigned int)"
#47 0x080c5cdf in CGroup::onUpdate (this=0xd21e2d0, ctx=0xbfd01c18, flags=92)
    at sp-item-group.cpp:668
 child = (SPObject *) 0xc00eb48
 cctx = {ctx = {flags = 0}, i2doc = {_c = {0.96592579999999995,
      -0.25881900000000002, 0.25881900000000002, 0.96592579999999995,
      -54.780701000000001, 174.28653}}, vp = {x0 = 0, y0 = 0, x1 = 800,
    y1 = 600}, i2vp = {_c = {0.96592579999999995, -0.25881900000000002,
      0.25881900000000002, 0.96592579999999995, -54.780701000000001,
      174.28653}}}
 l = <value optimized out>
#48 0x080d6ce6 in SPObject::updateDisplay (this=0xc00ea28, ctx=0xbfd01c18,
    flags=95) at sp-object.cpp:1298
 __PRETTY_FUNCTION__ = "void SPObject::updateDisplay(SPCtx*, unsigned int)"
#49 0x080c5cdf in CGroup::onUpdate (this=0xcc1efc0, ctx=0xbfd01d5c, flags=28)
    at sp-item-group.cpp:668
 child = (SPObject *) 0xc00ea28
 cctx = {ctx = {flags = 0}, i2doc = {_c = {1, 0, 0, 1, 0, 26}}, vp = {
    x0 = 0, y0 = 0, x1 = 800, y1 = 600}, i2vp = {_c = {1, 0, 0, 1, 0, 26}}}
 l = <value optimized out>
#50 0x080e72b3 in sp_root_update (object=0x8f487d0, ctx=0xbfd01f78, flags=27)
    at sp-root.cpp:553
 v = <value optimized out>
 root = (SPRoot *) 0x8f487d0
 rctx = {ctx = {flags = 0}, i2doc = {_c = {1, 0, 0, 1, 0, 0}}, vp = {
    x0 = 0, y0 = 0, x1 = 800, y1 = 600}, i2vp = {_c = {1, 0, 0, 1, 0, 0}}}
#51 0x080d6ce6 in SPObject::updateDisplay (this=0x8f487d0, ctx=0xbfd01f78,
    flags=27) at sp-object.cpp:1298
 __PRETTY_FUNCTION__ = "void SPObject::updateDisplay(SPCtx*, unsigned int)"
#52 0x08089ec1 in SPDocument::_updateDocument (this=0x8b48de0)
    at document.cpp:826
 ctx = {ctx = {flags = 0}, i2doc = {_c = {1, 0, 0, 1, 0, 0}}, vp = {
    x0 = 0, y0 = 0, x1 = 744.09448818897647, y1 = 1052.3622047244096}, i2vp = {
    _c = {1, 0, 0, 1, 0, 0}}}
 saved = true
#53 0x08089f07 in sp_document_ensure_up_to_date (doc=0x8b48de0)
    at document.cpp:848
 counter = 32
#54 0x0808d4ce in sp_file_open (uri=@0xbfd020b0, key=0x0, add_to_recent=true,
    replace_empty=true) at file.cpp:199
 desktop = (class SPDesktop *) 0x8b67e00
 existing = <value optimized out>
 doc = (class SPDocument *) 0x8b48de0
#55 0x0808e40d in sp_file_open_dialog (parentWindow=@0x951d5f8) at file.cpp:502
 newFileName = {static npos = 4294967295, string_ = {
    static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
      _M_p = 0xd1004b4 "/home/jimmac/Desktop/tmp.svg"}}}
 openDialogInstance = (Inkscape::UI::Dialog::FileOpenDialog *) 0xb48e258
 success = <value optimized out>
 fileName = {static npos = 4294967295, string_ = {
    static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
      _M_p = 0xd1004b4 "/home/jimmac/Desktop/tmp.svg"}}}
 selection = (class Inkscape::Extension::Extension *) 0x0
 flist = {<std::_Vector_base<Glib::ustring, std::allocator<Glib::ustring> >> = {
    _M_impl = {<std::allocator<Glib::ustring>> = {<__gnu_cxx::new_allocator<Glib::ustring>> = {<No data fields>}, <No data fields>}, _M_start = 0xd0e34f0,
      _M_finish = 0xd0e34f4, _M_end_of_storage = 0xd0e34f4}}, <No data fields>}
 open_path = {static npos = 4294967295, string_ = {
    static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
      _M_p = 0xd2ddffc "/home/jimmac/Desktop/"}}}
#56 0x083c7c5d in sp_action_perform (action=0x8b4eee0, data=0x0)
    at helper/action.cpp:181
 avector = <value optimized out>
 i = 0
 aobject = (NRActiveObject *) 0x8b4eee0
 tracker = {<Inkscape::Debug::EventTrackerBase> = {
    _vptr.EventTrackerBase = 0x86ec0e0, _active = true}, <No data fields>}
#57 0xb76c82a4 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#58 0xb76bac3b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#59 0xb76cf1c7 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#60 0xb76d067e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#61 0xb76d0ae6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#62 0xb784c4b5 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#63 0xb784d474 in gtk_action_activate () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#64 0xb76c82a4 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#65 0xb76bac3b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#66 0xb76cf1c7 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#67 0xb76d067e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#68 0xb76d0993 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#69 0xb7a220f7 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#70 0xb76c82a4 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#71 0xb76bac3b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#72 0xb76cf1c7 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#73 0xb76d067e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#74 0xb76d0ae6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#75 0xb7864c8a in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#76 0xb7865e48 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#77 0xb76c82a4 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#78 0xb76b9389 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#79 0xb76bac3b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#80 0xb76cea40 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#81 0xb76d067e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#82 0xb76d0ae6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#83 0xb7864d2a in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#84 0xb7864d63 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#85 0xb7945df6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#86 0xb76b9389 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#87 0xb76bac3b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#88 0xb76cee7f in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#89 0xb76d050c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#90 0xb76d0ae6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#91 0xb7a6eb6e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#92 0xb793ea5c in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#93 0xb793fd3f in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#94 0xb77aea9a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#95 0xb740f2d9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#96 0xb741285b in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#97 0xb7412d2a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#98 0xb7940279 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#99 0xb7e69107 in Gtk::Main::run_impl () from /usr/lib/libgtkmm-2.4.so.1
No symbol table info available.
#100 0xb7e68f02 in Gtk::Main::run () from /usr/lib/libgtkmm-2.4.so.1
No symbol table info available.
#101 0x08084189 in sp_main_gui (argc=1, argv=0xbfd03bb4) at main.cpp:800
 main_instance = <incomplete type>
 fl = (GSList *) 0x0
 retVal = <value optimized out>
 filename = <value optimized out>
 create_new = <value optimized out>
 __PRETTY_FUNCTION__ = "int sp_main_gui(int, const char**)"
#102 0x081f1082 in Inkscape::NSApplication::Application::run (this=0xbfd03af4)
    at application/application.cpp:117
 result = <value optimized out>
 __PRETTY_FUNCTION__ = "gint Inkscape::NSApplication::Application::run()"
#103 0x080845bd in main (argc=1, argv=0xbfd03bb4) at main.cpp:610
 inkscape_localedir = <value optimized out>
 use_gui = 1
 app = {_vptr.Application = 0x8685820, _argc = 1, _argv = 0xbfd03bb4,
  _app_impl = 0x0, _path_home = 0x0}
#0 0xffffe430 in __kernel_vsyscall ()
The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]

Tags: crash
Revision history for this message
jimmac (jimmac) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

confirmed on Windows XP, Inkscape 0.46 stable from April 1

C:\Program Files\Inkscape>inkcl.py
return code: 3

(inkscape.exe:428): Gtk-CRITICAL **: gtk_file_system_win32_get_info: assertion `
g_path_is_absolute (filename)' failed

** (inkscape.exe:428): WARNING **: xlink:href did not resolve to a valid image file, now trying sodipodi:absref="/media/aeneashome/src/cvs/novell/builder/mockups/cd-art/template/./theme/bcg2.jpg"

** (inkscape.exe:428): WARNING **: Unable to open linked file: /media/aeneashome/src/cvs/novell/builder/mockups/cd-art/template/./theme/bcg2.jpg
**
** ERROR:(src/libnrtype/Layout-TNG-Compute.cpp:1347):bool Inkscape::Text::Layout
::Calculator::calculate(): assertion failed: (_flow._input_stream.front()->Type() == TEXT_SOURCE)

Emergency save activated!

Changed in inkscape:
status: New → Confirmed
Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on Ubuntu 9.04, Inkscape 0.46, but not with SVN rev. 22004.
Could you please test a recent build and confirm the bug is fixed.
Thanks!

Changed in inkscape:
importance: Undecided → High
tags: added: crash
Revision history for this message
jimmac (jimmac) wrote :

Indeed, works in SVN trunk. If I'm allowed to close my own bugs on launchpad, I haven't figured out how to do so :) Please close.

Revision history for this message
jazzynico (jazzynico) wrote :

Closed. Thanks!

Changed in inkscape:
milestone: none → 0.47
status: Confirmed → Fix Committed
ScislaC (scislac)
Changed in inkscape:
status: Fix Committed → Fix Released
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.