#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007f1e55c34537 in __GI_abort () at abort.c:79 #2 0x00007f1e55c3440f in __assert_fail_base (fmt=0x7f1e3fe4773c "%s%s%s :%u : %s%s l'assertion « %s » a échoué.\n%n", assertion=0x7f1e54588d14 "index >= 0 && static_cast(index) < static_cast(getLength())", file=0x7f1e54585742 "/home/julien/lo/libreoffice/include/rtl/ustring.hxx", line=791, function=) at assert.c:92 #3 0x00007f1e55c43662 in __GI___assert_fail (assertion=0x7f1e54588d14 "index >= 0 && static_cast(index) < static_cast(getLength())", file=0x7f1e54585742 "/home/julien/lo/libreoffice/include/rtl/ustring.hxx", line=791, function=0x7f1e54588d68 "sal_Unicode rtl::OUString::operator[](sal_Int32) const") at assert.c:101 #4 0x00007f1e541c2084 in rtl::OUString::operator[](int) const (this=0x6f2c928, index=1) at include/rtl/ustring.hxx:791 #5 0x00007f1e54426a11 in SvxAutoCorrect::FnAddNonBrkSpace(SvxAutoCorrDoc&, rtl::OUString const&, int, o3tl::strong_int, bool&) (this=0x6ece990, rDoc= ..., rTxt="a", nEndPos=1, eLang=..., io_bNbspRunNext=@0x7ffce2a292c7: false) at editeng/source/misc/svxacorr.cxx:670 #6 0x00007f1e38df4fef in SwAutoFormat::AutoCorrect(o3tl::strong_int) (this=0x7ffce2a29960, nPos=...) at sw/source/core/edit/autofmt.cxx:2191 #7 0x00007f1e38df5e0b in SwAutoFormat::BuildText() (this=0x7ffce2a29960) at sw/source/core/edit/autofmt.cxx:1469 #8 0x00007f1e38dfae71 in SwAutoFormat::SwAutoFormat(SwEditShell*, SvxSwAutoFormatFlags const&, SwNodeIndex const*, SwNodeIndex const*) (this=0x7ffce2a29960, pEdShell= 0x714abd0, rFlags=..., pSttNd=0x0, pEndNd=0x0) at sw/source/core/edit/autofmt.cxx:2649 #9 0x00007f1e38dfb690 in SwEditShell::AutoFormat(SvxSwAutoFormatFlags const*) (this=0x714abd0, pAFlags=0x7ffce2a2b7a0) at sw/source/core/edit/autofmt.cxx:2740 #10 0x00007f1e39e00b0f in SwTextShell::Execute(SfxRequest&) (this=0x799d250, rReq=...) at sw/source/uibase/shells/textsh1.cxx:719 #11 0x00007f1e39df5b15 in SfxStubSwTextShellExecute(SfxShell*, SfxRequest&) (pShell=0x799d250, rReq=...) at workdir/SdiTarget/sw/sdi/swslots.hxx:3111 #12 0x00007f1e528ddd52 in SfxShell::CallExec(void (*)(SfxShell*, SfxRequest&), SfxRequest&) (this=0x799d250, pFunc=0x7f1e39df5af0 , rReq=...) at include/sfx2/shell.hxx:197 #13 0x00007f1e528c61f9 in SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, bool) (this=0x713c9b0, rShell=..., rSlot=..., rReq=..., bRecord=true) at sfx2/source/control/dispatch.cxx:253 #14 0x00007f1e528c6a88 in SfxDispatcher::PostMsgHandler(std::unique_ptr >) (this=0x713c9b0, pReq=std::unique_ptr = {...}) at sfx2/source/control/dispatch.cxx:990 #15 0x00007f1e528eb8a0 in std::__invoke_impl >), SfxDispatcher*&, std::unique_ptr > >(std::__invoke_memfun_deref, void (SfxDispatcher::*&)(std::unique_ptr >), SfxDispatcher*&, std::unique_ptr >&&) (__f= @0x3cd1ce0: (void (SfxDispatcher::*)(class SfxDispatcher * const, class std::unique_ptr >)) 0x7f1e528c6860 >)>, __t=@0x3cd1cf0: 0x713c9b0, __args=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:73 #16 0x00007f1e528eb747 in std::__invoke >), SfxDispatcher*&, std::unique_ptr > >(void (SfxDispatcher::*&)(std::unique_ptr >), SfxDispatcher*&, std::unique_ptr >&&) (__fn= @0x3cd1ce0: (void (SfxDispatcher::*)(class SfxDispatcher * const, class std::unique_ptr >)) 0x7f1e528c6860 >)>, __args=@0x3cd1cf0: 0x713c9b0, __args=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:95 #17 0x00007f1e528eb695 in std::_Bind))(std::unique_ptr >)>::__call >&&, 0ul, 1ul>(std::tuple >&&>&&, std::_Index_tuple<0ul, 1ul>) (this=0x3cd1ce0, __args=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/functional:416 #18 0x00007f1e528eb5f1 in std::_Bind))(std::unique_ptr >)>::operator() >, void>(std::unique_ptr >&&) (this=0x3cd1ce0, __args=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/functional:499 #19 0x00007f1e528eb582 in std::__invoke_impl))(std::unique_ptr >)>&, std::unique_ptr > >(std::__invoke_other, std::_Bind))(std::unique_ptr >)>&, std::unique_ptr >&&) (__f=..., __args=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:60 #20 0x00007f1e528eb512 in std::__invoke_r))(std::unique_ptr >)>&, std::unique_ptr > >(std::_Bind))(std::unique_ptr >)>&, std::unique_ptr >&&) (__fn=..., __args=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:110 #21 0x00007f1e528eb1f2 in std::_Function_handler >), std::_Bind))(std::unique_ptr >)> >::_M_invoke(std::_Any_data const&, std::unique_ptr >&&) (__functor=..., __args=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/std_function.h:291 #22 0x00007f1e52da959b in std::function >)>::operator()(std::unique_ptr >) const (this=0x7138150, __args=std::unique_ptr = {...}) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/std_function.h:622 #23 0x00007f1e52da93a1 in SfxHintPoster::DoEvent_Impl(void*) (this=0x7138140, pPostedHint=0x9783710) at sfx2/source/notify/hintpost.cxx:41 #24 0x00007f1e52da9320 in SfxHintPoster::LinkStubDoEvent_Impl(void*, void*) (instance=0x7138140, data=0x9783710) at sfx2/source/notify/hintpost.cxx:38 #25 0x00007f1e4d4da698 in Link::Call(void*) const (this=0x8d8cf38, data=0x9783710) at include/tools/link.hxx:111 --Type for more, q to quit, c to continue without paging--q Quit (gdb) frame 4 #4 0x00007f1e541c2084 in rtl::OUString::operator[] (this=0x6f2c928, index=1) at include/rtl/ustring.hxx:791 791 assert(index >= 0 && static_cast(index) < static_cast(getLength())); (gdb) p index $1 = 1 (gdb) p getLength() [Thread 0x7f1e3d0bc700 (LWP 14482) exited] $2 = 1 (gdb) frame 5 #5 0x00007f1e54426a11 in SvxAutoCorrect::FnAddNonBrkSpace (this=0x6ece990, rDoc=..., rTxt="a", nEndPos=1, eLang=..., io_bNbspRunNext=@0x7ffce2a292c7: false) at editeng/source/misc/svxacorr.cxx:670 670 sal_Unicode cChar = rTxt[ nEndPos ]; (gdb) p rTxt $3 = "a" (gdb) p nEndPos $4 = 1