LyX closes when searching and replacing within an equation.

Jürgen Spitzmüller jspitzm at gmail.com
Sun Jul 14 12:32:08 UTC 2024


Am Samstag, dem 13.07.2024 um 17:18 +0100 schrieb José Matos:
> On Fri, 2024-07-12 at 23:14 -0500, T Rex wrote:
> > The file and the backtrace:
> > 
> > 
> > /usr/include/c++/13.2.0/bits/stl_vector.h:1232: std::vector<_Tp,
> > _Alloc>::reference std::vector<_Tp, _Alloc>::back() [with _Tp =
> > lyx::CursorSlice; _Alloc = std::allocator<lyx::CursorSlice>;
> > reference = lyx::CursorSlice&]: Assertion '!this->empty()' failed.
> 
> I can reproduce this problem following the recipe.
> 
> The full backtrace follows attached.

I think the attached patch fixes it.

-- 
Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: f.diff
Type: text/x-patch
Size: 832 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240714/95fdb9c8/attachment-0001.bin>


More information about the lyx-devel mailing list