Hi Vicente,
I can see this problem with Linux. The stack trace points to a problem in change tracking with a bad deallocation.
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=6, no_tid=0) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:89
#2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:100
#3 0x00007ffff6e45b7e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4 0x00007ffff6e288ec in __GI_abort () at ./stdlib/abort.c:77
#5 0x00007ffff6e29979 in __libc_message_impl (vma_name=vma_name@entry=0x7ffff6fdb569 "glibc: fatal", fmt=fmt@entry=0x7ffff6fdeba5 "%s\n") at ../sysdeps/posix/libc_fatal.c:138
#6 0x00007ffff6eb0b2c in __libc_message_wrapper (vmaname=0x7ffff6fdb569 "glibc: fatal", fmt=0x7ffff6fdeba5 "%s\n") at ../include/stdio.h:203
#7 malloc_printerr (str=<optimized out>) at ./malloc/malloc.c:5341
#8 0x00007ffff6eb0b44 in malloc_printerr_tail (str=<optimized out>) at ./malloc/malloc.c:5358
#9 0x00007ffff7564680 in void Scintilla::Internal::SparseVector<std::unique_ptr<std::vector<Scintilla::Internal::EditionCount, std::allocator<Scintilla::Internal::EditionCount> >, std::default_delete<std::vector<Scintilla::Internal::EditionCount, std::allocator<Scintilla::Internal::EditionCount> > > > >::SetValueAt<std::unique_ptr<std::vector<Scintilla::Internal::EditionCount, std::allocator<Scintilla::Internal::EditionCount> >, std::default_delete<std::vector<Scintilla::Internal::EditionCount, std::allocator<Scintilla::Internal::EditionCount> > > > >(long, std::unique_ptr<std::vector<Scintilla::Internal::EditionCount, std::allocator<Scintilla::Internal::EditionCount> >, std::default_delete<std::vector<Scintilla::Internal::EditionCount, std::allocator<Scintilla::Internal::EditionCount> > > >&&) () at /tmp/sct/scite/bin/libscintilla.so
#10 0x00007ffff7561815 in Scintilla::Internal::ChangeLog::PopDeletion(long, long) () at /tmp/sct/scite/bin/libscintilla.so
#11 0x00007ffff7561bcb in Scintilla::Internal::ChangeHistory::UndoDeleteStep(long, long, bool) () at /tmp/sct/scite/bin/libscintilla.so
#12 0x00007ffff754d221 in Scintilla::Internal::CellBuffer::PerformUndoStep() () at /tmp/sct/scite/bin/libscintilla.so
#13 0x00007ffff758241a in Scintilla::Internal::Document::Undo() () at /tmp/sct/scite/bin/libscintilla.so
On Windows, the problem appears to be delayed with an assertion failure when the change history is next checked.
Neil