tags 487623 + confirmed thanks Bug reproducible even on recent svn (0.46+devel, actually svn r19753). I think the bug hasn't changed since 0.46, so I'm providing backtrace from svn version. Below a clean backtrace, attached a full backtrace.
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb6203700 (LWP 4030)] font_instance::InitTheFace (this=0x0) at libnrtype/FontInstance.cpp:349 349 theFace=pango_ft2_font_get_face(pFont); (gdb) bt #0 font_instance::InitTheFace (this=0x0) at libnrtype/FontInstance.cpp:349 #1 0x083e9ed0 in font_factory::Face (this=0xa0370b0, descr=0xc3ca100, canFail=false) at libnrtype/FontFactory.cpp:824 #2 0x083ea132 in font_factory::Face (this=0xa0370b0, descr=0xc3ca100, canFail=true) at libnrtype/FontFactory.cpp:801 #3 0x083f806b in Inkscape::Text::Layout::Calculator::_buildPangoItemizationForPara (this=0xbf88affc, para=0xbf88af44) at libnrtype/Layout-TNG-Compute.cpp:879 #4 0x083f990a in Inkscape::Text::Layout::Calculator::calculate (this=0xbf88affc) at libnrtype/Layout-TNG-Compute.cpp:1377 #5 0x083f9f2d in Inkscape::Text::Layout::calculateFlow (this=0xb1bd2d8) at libnrtype/Layout-TNG-Compute.cpp:1515 #6 0x080f5657 in SPText::rebuildLayout (this=0xb1bd1b8) at sp-text.cpp:573 #7 0x080f5936 in sp_text_update (object=0xb1bd1b8, ctx=0xbf88b1a8, flags=<value optimized out>) at sp-text.cpp:248 #8 0x080d8856 in SPObject::updateDisplay (this=0xb1bd1b8, ctx=0xbf88b1a8, flags=127) at sp-object.cpp:1298 #9 0x080c79df in CGroup::onUpdate (this=0xc414800, ctx=0xbf88b2e8, flags=92) at sp-item-group.cpp:668 #10 0x080d8856 in SPObject::updateDisplay (this=0xb1a0da0, ctx=0xbf88b2e8, flags=95) at sp-object.cpp:1298 #11 0x080c79df in CGroup::onUpdate (this=0xc414da8, ctx=0xbf88b42c, flags=28) at sp-item-group.cpp:668 #12 0x080e8ce1 in sp_root_update (object=0x9ac4410, ctx=0xbf88b648, flags=27) at sp-root.cpp:553 #13 0x080d8856 in SPObject::updateDisplay (this=0x9ac4410, ctx=0xbf88b648, flags=27) at sp-object.cpp:1298 #14 0x0808c038 in SPDocument::_updateDocument (this=0x965bea0) at document.cpp:826 #15 0x0808c132 in sp_document_idle_handler (data=0x965bea0) at document.cpp:872 #16 0xb73b9381 in ?? () from /usr/lib/libglib-2.0.so.0 #17 0x0965bea0 in ?? () #18 0x0c410bf0 in ?? () #19 0xbf88b718 in ?? () #20 0xb74364a8 in ?? () from /usr/lib/libglib-2.0.so.0 #21 0xb686a3f0 in ?? () from /lib/i686/cmov/libpthread.so.0 #22 0xb74364a8 in ?? () from /usr/lib/libglib-2.0.so.0 #23 0xbf88b768 in ?? () #24 0xb73bb2e1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 Backtrace stopped: frame did not save the PC -- .''`. ** Debian GNU/Linux ** | Luca Bruno (kaeso) : :' : The Universal O.S. | lucab (AT) debian.org `. `'` | GPG Key ID: 3BFB9FB3 `- http://www.debian.org | Debian GNU/Linux Developer
GNU gdb 6.8-debian 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-linux-gnu"... (gdb) run Starting program: /usr/local/bin/inkscape [Thread debugging using libthread_db enabled] [New Thread 0xb6204700 (LWP 4001)] [New Thread 0xb5455b90 (LWP 4014)] [New Thread 0xb4c54b90 (LWP 4015)] [Thread 0xb5455b90 (LWP 4014) exited] [Thread 0xb4c54b90 (LWP 4015) exited] [New Thread 0xb4c54b90 (LWP 4016)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb6204700 (LWP 4001)] font_instance::InitTheFace (this=0x0) at libnrtype/FontInstance.cpp:349 349 theFace=pango_ft2_font_get_face(pFont); (gdb) bt full #0 font_instance::InitTheFace (this=0x0) at libnrtype/FontInstance.cpp:349 No locals. #1 0x083e9ed0 in font_factory::Face (this=0x9a860b0, descr=0xbe518c0, canFail=false) at libnrtype/FontFactory.cpp:824 res = (class font_instance *) 0x0 #2 0x083ea132 in font_factory::Face (this=0x9a860b0, descr=0xbe518c0, canFail=true) at libnrtype/FontFactory.cpp:801 tc = <value optimized out> nFace = <value optimized out> res = (class font_instance *) 0xbe5c208 #3 0x083f806b in Inkscape::Text::Layout::Calculator::_buildPangoItemizationForPara (this=0xbfb8aafc, para=0xbfb8aa44) at libnrtype/Layout-TNG-Compute.cpp:879 new_item = {item = 0xbe41a28, font = 0x0} font_description = (PangoFontDescription *) 0xbe518c0 current_pango_item = (GList *) 0xbdf9bd0 para_text = {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 = 0xb9f8bc4 "æ\227 é¢\204è§\210"}}} attributes_list = (PangoAttrList *) 0xbdf9830 input_index = <value optimized out> pango_items_glist = (GList *) 0xbdf9bd0 #4 0x083f990a in Inkscape::Text::Layout::Calculator::calculate (this=0xbfb8aafc) at libnrtype/Layout-TNG-Compute.cpp:1377 para_end_input_index = 3061275972 new_paragraph = {base_direction = 199636392, alignment = 180404952} span_pos = {iter_span = {_M_current = 0x0}, char_byte = 3, char_index = 0} para = {first_input_index = 0, direction = Inkscape::Text::Layout::LEFT_TO_RIGHT, alignment = 3061278454, 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 = 0xbe6aab0, _M_finish = 0xbe6aab0, _M_end_of_storage = 0xbe6aab8}}, <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 = 0x0, _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 = 1.8821870003817457e-251, descent = 1.88200718069758e-251, leading = 1.5891871574750994e-314} __PRETTY_FUNCTION__ = "bool Inkscape::Text::Layout::Calculator::calculate()" #5 0x083f9f2d in Inkscape::Text::Layout::calculateFlow (this=0xac0c2d8) at libnrtype/Layout-TNG-Compute.cpp:1515 result = <value optimized out> #6 0x080f5657 in SPText::rebuildLayout (this=0xac0c1b8) at sp-text.cpp:573 optional_attrs = {x = {<std::_Vector_base<SVGLength, std::allocator<SVGLength> >> = { _M_impl = {<std::allocator<SVGLength>> = {<__gnu_cxx::new_allocator<SVGLength>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, y = {<std::_Vector_base<SVGLength, std::allocator<SVGLength> >> = { _M_impl = {<std::allocator<SVGLength>> = {<__gnu_cxx::new_allocator<SVGLength>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, dx = {<std::_Vector_base<SVGLength, std::allocator<SVGLength> >> = { _M_impl = {<std::allocator<SVGLength>> = {<__gnu_cxx::new_allocator<SVGLength>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, dy = {<std::_Vector_base<SVGLength, std::allocator<SVGLength> >> = { _M_impl = {<std::allocator<SVGLength>> = {<__gnu_cxx::new_allocator<SVGLength>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, rotate = {<std::_Vector_base<SVGLength, std::allocator<SVGLength> >> = { _M_impl = {<std::allocator<SVGLength>> = {<__gnu_cxx::new_allocator<SVGLength>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}} #7 0x080f5936 in sp_text_update (object=0xac0c1b8, ctx=0xbfb8aca8, flags=<value optimized out>) at sp-text.cpp:248 paintbox = {x0 = 7.8572366818935494e-270, y0 = 2.4236842107614735e-251, x1 = 9.8633145005994509e-316, y1 = 8.3991159793011913e-323} cflags = 124 l = (GSList *) 0x0 #8 0x080d8856 in SPObject::updateDisplay (this=0xac0c1b8, ctx=0xbfb8aca8, flags=127) at sp-object.cpp:1298 __PRETTY_FUNCTION__ = "void SPObject::updateDisplay(SPCtx*, unsigned int)" #9 0x080c79df in CGroup::onUpdate (this=0xbe721c0, ctx=0xbfb8ade8, flags=92) at sp-item-group.cpp:668 child = (SPObject *) 0xac0c1b8 cctx = {ctx = {flags = 0}, i2doc = {_c = {1, 0, 0, 1, -20, 0}}, vp = {x0 = 0, y0 = 0, x1 = 300, y1 = 600}, i2vp = {_c = {1, 0, 0, 1, -20, 0}}} l = <value optimized out> #10 0x080d8856 in SPObject::updateDisplay (this=0xabefda0, ctx=0xbfb8ade8, flags=95) at sp-object.cpp:1298 __PRETTY_FUNCTION__ = "void SPObject::updateDisplay(SPCtx*, unsigned int)" #11 0x080c79df in CGroup::onUpdate (this=0xbe6fea0, ctx=0xbfb8af2c, flags=28) at sp-item-group.cpp:668 child = (SPObject *) 0xabefda0 cctx = {ctx = {flags = 0}, i2doc = {_c = {1, 0, 0, 1, -20, 0}}, vp = {x0 = 0, y0 = 0, x1 = 300, y1 = 600}, i2vp = {_c = {1, 0, 0, 1, -20, 0}}} l = <value optimized out> #12 0x080e8ce1 in sp_root_update (object=0x9513410, ctx=0xbfb8b148, flags=27) at sp-root.cpp:553 v = <value optimized out> root = (SPRoot *) 0x9513410 rctx = {ctx = {flags = 0}, i2doc = {_c = {1, 0, 0, 1, 0, 0}}, vp = {x0 = 0, y0 = 0, x1 = 300, y1 = 600}, i2vp = {_c = {1, 0, 0, 1, 0, 0}}} #13 0x080d8856 in SPObject::updateDisplay (this=0x9513410, ctx=0xbfb8b148, flags=27) at sp-object.cpp:1298 __PRETTY_FUNCTION__ = "void SPObject::updateDisplay(SPCtx*, unsigned int)" #14 0x0808c038 in SPDocument::_updateDocument (this=0x90aaea0) 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 #15 0x0808c132 in sp_document_idle_handler (data=0x90aaea0) at document.cpp:872 No locals. #16 0xb73ba381 in ?? () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #17 0x090aaea0 in ?? () No symbol table info available. #18 0x0be6c638 in ?? () No symbol table info available. #19 0xbfb8b218 in ?? () No symbol table info available. #20 0xb74374a8 in ?? () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #21 0xb686b3f0 in ?? () from /lib/i686/cmov/libpthread.so.0 No symbol table info available. #22 0xb74374a8 in ?? () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #23 0xbfb8b268 in ?? () No symbol table info available. #24 0xb73bc2e1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 No symbol table info available. Backtrace stopped: frame did not save the PC (gdb) q The program is running. Exit anyway? (y or n)
pgpXcpzUiG7uI.pgp
Description: PGP signature