1.) Open lib/doc/Customization.lyx
2.) Save as CustomizationMin.lyx in different directory --> crash
The file CustomizationMin.lyx looks OK though.

Backtrace:
Thread 1 "lyx2.4" received signal SIGSEGV, Segmentation fault.
0x0000000000d9c4b8 in lyx::CursorSlice::text() const (this=0x2c44160)
    at /usr2/src/lyx/lyx-git/src/CursorSlice.h:119
119             Text * text() const { return inset_->getText(idx_); }
(gdb) p inset_
No symbol "inset_" in current context.
(gdb) bt
#0  0x0000000000d9c4b8 in lyx::CursorSlice::text() const (this=0x2c44160) at 
/usr2/src/lyx/lyx-git/src/CursorSlice.h:119
#1  0x0000000000cf8050 in lyx::DocIterator::innerTextSlice() const 
(this=0x2f57400)
    at /usr2/src/lyx/lyx-git/src/DocIterator.cpp:233

Here: if (slices_[i].text())
but
(gdb) p *this
$2 = {
  boundary_ = false, 
  slices_ = {<No data fields>}, 
  inset_ = 0x0, 
  buffer_ = 0x0
}

So, no wonder for the crash

#2  0x0000000000cf8131 in lyx::DocIterator::paragraphGotoArgument[abi:cxx11]() 
const (this=0x2f57400)
    at /usr2/src/lyx/lyx-git/src/DocIterator.cpp:247
#3  0x0000000000bee95e in lyx::TocItem::action (this=0x2f57400) at 
/usr2/src/lyx/lyx-git/src/TocBackend.cpp:75
Python Exception <class 'RuntimeError'> Type is not a template.: 
#4  0x000000000088fa2f in lyx::frontend::(anonymous 
namespace)::MenuDefinition::expandToc2 (this=0x7fffffff6730, toc_list=..., 
    from=0, to=2, depth=0, toc_type=<unvollständiger Typ>) at 
/usr2/src/lyx/lyx-git/src/frontends/qt4/Menus.cpp:1285
Python Exception <class 'gdb.error'> Es gibt kein Mitglied mit dem Namen 
_M_dataplus.: 
Python Exception <class 'RuntimeError'> Type is not a template.: 
#5  0x00000000008910c9 in lyx::frontend::(anonymous 
namespace)::MenuDefinition::expandTocSubmenu (this=0x7fffffff6730, type=, 
    toc=...) at /usr2/src/lyx/lyx-git/src/frontends/qt4/Menus.cpp:1394
#6  0x000000000089074c in lyx::frontend::(anonymous 
namespace)::MenuDefinition::expandToc (this=0x3600b00, buf=0x306e720)
    at /usr2/src/lyx/lyx-git/src/frontends/qt4/Menus.cpp:1357
#7  0x000000000089bbe7 in lyx::frontend::Menus::Impl::expand (this=0x1c557a0, 
frommenu=..., tomenu=..., bv=0x386c0b0)
    at /usr2/src/lyx/lyx-git/src/frontends/qt4/Menus.cpp:2376
#8  0x000000000089bdf9 in lyx::frontend::Menus::Impl::expand (this=0x1c557a0, 
frommenu=..., tomenu=..., bv=0x386c0b0)
    at /usr2/src/lyx/lyx-git/src/frontends/qt4/Menus.cpp:2422
#9  0x000000000089cba0 in lyx::frontend::Menus::searchMenu (this=0x1c346b0, 
func=..., names=..., bv=0x386c0b0)
    at /usr2/src/lyx/lyx-git/src/frontends/qt4/Menus.cpp:2557
#10 0x00000000008b7510 in 
lyx::frontend::GuiApplication::searchMenu(lyx::FuncRequest const&, 
lyx::docstring_list&) const (
    this=0x19baf20, func=..., names=...) at 
/usr2/src/lyx/lyx-git/src/frontends/qt4/GuiApplication.cpp:2948
#11 0x00000000009d02f5 in lyx::InsetInfo::updateBuffer(lyx::ParIterator const&, 
lyx::UpdateType) (this=0x2b1f060, it=..., 
    utype=InternalUpdate) at /usr2/src/lyx/lyx-git/src/insets/InsetInfo.cpp:984
#12 0x0000000000e510fd in lyx::Buffer::updateBuffer(lyx::ParIterator&, 
lyx::UpdateType) const (this=0x306e720, parit=..., 
    utype=InternalUpdate) at /usr2/src/lyx/lyx-git/src/Buffer.cpp:5305
#13 0x0000000000e4f99a in lyx::Buffer::updateBuffer(lyx::Buffer::UpdateScope, 
lyx::UpdateType) const (this=0x306e720, 
    scope=UpdateMaster, utype=InternalUpdate) at 
/usr2/src/lyx/lyx-git/src/Buffer.cpp:4986
#14 0x0000000000e29786 in lyx::Buffer::updateBuffer() const (this=0x306e720) at 
/usr2/src/lyx/lyx-git/src/Buffer.h:730
#15 0x0000000000e519c5 in lyx::Buffer::reload() (this=0x306e720) at 
/usr2/src/lyx/lyx-git/src/Buffer.cpp:5433
#16 0x00000000008f6b32 in lyx::frontend::GuiView::renameBuffer(lyx::Buffer&, 
std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > const&, lyx::frontend::GuiView::RenameKind) 
(this=0x236a260, b=..., newname=..., 
    kind=LV_WRITE_AS) at 
/usr2/src/lyx/lyx-git/src/frontends/qt4/GuiView.cpp:2858
#17 0x0000000000900b79 in lyx::frontend::GuiView::dispatch(lyx::FuncRequest 
const&, lyx::DispatchResult&) (this=0x236a260, 
    cmd=..., dr=...) at /usr2/src/lyx/lyx-git/src/frontends/qt4/GuiView.cpp:4132
#18 0x00000000008b24ad in 
lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&, 
lyx::DispatchResult&) (this=0x19baf20, 
    cmd=..., dr=...) at 
/usr2/src/lyx/lyx-git/src/frontends/qt4/GuiApplication.cpp:2094
#19 0x000000000095b268 in 
lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&) 
(this=0x19baf20, cmd=...)
    at /usr2/src/lyx/lyx-git/src/frontends/qt4/GuiApplication.cpp:1418
...

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to