[LyX/master] Fix backspace deletion of selected items with change tracking

Jürgen Spitzmüller spitz at lyx.org
Mon Jan 13 11:08:18 UTC 2020


Am Montag, den 13.01.2020, 11:32 +0100 schrieb Kornel Benko:
> For instance for export/tabletemplates/Grid_with_Head_1x2_dvi
> 
> lyx: SIGSEGV signal caught!

JMarc, this looks like yours:

Thread 1 "lyx" received signal SIGSEGV, Segmentation fault.
0x00000000007ed966 in lyx::InsetText::isChanged (ic=false, this=0x0) at
insets/InsetText.h:130
130		void isChanged(bool ic) const { is_changed_ = ic; }
(gdb) bt
#0  0x00000000007ed966 in lyx::InsetText::isChanged(bool) const
(ic=false, this=0x0) at insets/InsetText.h:130
#1  0x00000000007ed966 in lyx::Buffer::updateBuffer(lyx::ParIterator&,
lyx::UpdateType) const
    (this=0x360ade0, parit=..., utype=utype at entry=lyx::InternalUpdate)
at Buffer.cpp:5351
#2  0x0000000000e6ff04 in
lyx::InsetTabular::updateBuffer(lyx::ParIterator const&,
lyx::UpdateType)
    (this=0x3329a80, it=..., utype=lyx::InternalUpdate) at
/usr/include/c++/9/bits/move.h:47
#3  0x00000000007ed0d6 in lyx::Buffer::updateBuffer(lyx::ParIterator&,
lyx::UpdateType) const
    (this=this at entry=0x360ade0, parit=..., utype=utype at entry=lyx::Inter
nalUpdate) at Buffer.cpp:5342
#4  0x000000000080e0fe in
lyx::Buffer::updateBuffer(lyx::Buffer::UpdateScope, lyx::UpdateType)
const
    (this=0x360ade0, scope=scope at entry=lyx::Buffer::UpdateMaster, 
utype=utype at entry=lyx::InternalUpdate)
    at Buffer.cpp:5026
#5  0x0000000000f1a1c5 in lyx::Buffer::updateBuffer() const
(this=<optimized out>) at ../../../src/Buffer.h:734
#6  0x0000000000f1a1c5 in
lyx::frontend::GuiView::setBuffer(lyx::Buffer*, bool)
    (this=this at entry=0x25217d0, newBuffer=newBuffer at entry=0x360ade0, 
switch_to=switch_to at entry=true)
    at GuiView.cpp:1715
#7  0x0000000000f1a2ed in
lyx::frontend::GuiView::loadDocument(lyx::support::FileName const&,
bool)
    (this=this at entry=0x25217d0, filename=..., 
tolastfiles=tolastfiles at entry=true) at GuiView.cpp:2370
#8  0x0000000000f1c964 in
lyx::frontend::GuiView::openDocument(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) (this=0x25217d0,
fname="") at GuiView.cpp:2446
#9  0x0000000000eef632 in
lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&,
lyx::DispatchResult&)
    (this=0x1c3ff00, cmd=..., dr=...) at GuiApplication.cpp:1746
#10 0x0000000000ee2f01 in
lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&)
    (this=0x1c3ff00, cmd=...) at GuiApplication.cpp:1456
#11 0x00000000009c3743 in lyx::dispatch(lyx::FuncRequest const&)
(action=...) at LyX.cpp:1462

Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200113/d1f81d81/attachment-0001.asc>


More information about the lyx-devel mailing list