#0 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 #1 0x00007f24e36a9d2f in __pthread_kill_internal (signo=6, threadid=) at ./nptl/pthread_kill.c:78 #2 0x00007f24e365aef2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007f24e3645472 in __GI_abort () at ./stdlib/abort.c:79 #4 0x00007f24e3645395 in __assert_fail_base (fmt=0x7f24e37b9a70 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f24e3cfc49e "false", file=file@entry=0x7f24e3cf9489 "/home/julien/lo/libreoffice/sal/rtl/strtmpl.hxx", line=line@entry=952, function=function@entry=0x7f24e3cfdcca "void rtl::str::newFromSubString(IMPL_RTL_STRINGDATA **, const IMPL_RTL_STRINGDATA *, sal_Int32, sal_Int32) [IMPL_RTL_STRINGDATA = _rtl_uString]") at ./assert/assert.c:92 #5 0x00007f24e3653df2 in __GI___assert_fail (assertion=0x7f24e3cfc49e "false", file=0x7f24e3cf9489 "/home/julien/lo/libreoffice/sal/rtl/strtmpl.hxx", line=952, function=0x7f24e3cfdcca "void rtl::str::newFromSubString(IMPL_RTL_STRINGDATA **, const IMPL_RTL_STRINGDATA *, sal_Int32, sal_Int32) [IMPL_RTL_STRINGDATA = _rtl_uString]") at ./assert/assert.c:101 #6 0x00007f24e3da8467 in rtl::str::newFromSubString<_rtl_uString>(_rtl_uString**, _rtl_uString const*, int, int) (ppThis=0x7fff2e486890, pFrom=0x7f24e3e19fe0 ::data>, beginIndex=0, count=1) at sal/rtl/strtmpl.hxx:952 #7 0x00007f24e3da2789 in rtl_uString_newFromSubString(rtl_uString**, rtl_uString const*, sal_Int32, sal_Int32) (ppThis=0x7fff2e486890, pFrom=0x7f24e3e19fe0 ::data>, beginIndex=0, count=1) at /home/julien/lo/libreoffice/sal/rtl/ustring.cxx:1245 #8 0x00007f24ae099a0c in rtl::OUString::copy(int, int) const (this=0x55bd94cddab8, beginIndex=0, count=1) at include/rtl/ustring.hxx:2215 #9 0x00007f24ae363265 in SwDoc::GetPaMDescr(SwPaM const&) (rPam=SwPaM = {...}) at /home/julien/lo/libreoffice/sw/source/core/doc/doc.cxx:1777 #10 0x00007f24ae253abb in SwCursorShell::GetCursorDescr() const (this=0x55bd92e52890) at /home/julien/lo/libreoffice/sw/source/core/crsr/crsrsh.cxx:3708 #11 0x00007f24afd42d0d in SwWrtShell::Insert(rtl::OUString const&) (this=0x55bd92e52890, rStr="y") at /home/julien/lo/libreoffice/sw/source/uibase/wrtsh/wrtsh1.cxx:244 #12 0x00007f24af80129c in SwEditWin::FlushInBuffer() (this=0x55bd8fe554a0) at /home/julien/lo/libreoffice/sw/source/uibase/docvw/edtwin.cxx:1013 #13 0x00007f24af80b494 in SwEditWin::KeyInput(KeyEvent const&) (this=0x55bd8fe554a0, rKEvt=...) at /home/julien/lo/libreoffice/sw/source/uibase/docvw/edtwin.cxx:2806 #14 0x00007f24daa47969 in ImplHandleKey(vcl::Window*, NotifyEventType, unsigned short, unsigned short, unsigned short, bool) (pWindow=0x55bd8ff9f150, nSVEvent=NotifyEventType::KEYINPUT, nKeyCode=536, nCharCode=121, nRepeat=0, bForward=true) at /home/julien/lo/libreoffice/vcl/source/window/winproc.cxx:1211 #15 0x00007f24daa45bab in ImplWindowFrameProc(vcl::Window*, SalEvent, void const*) (_pWindow=0x55bd8ff9f150, nEvent=SalEvent::KeyInput, pEvent=0x7fff2e489090) at /home/julien/lo/libreoffice/vcl/source/window/winproc.cxx:2730 #16 0x00007f24d1c20230 in SalFrame::CallCallback(SalEvent, void const*) const (this=0x55bd8fdca4c0, nEvent=SalEvent::KeyInput, pEvent=0x7fff2e489090) at vcl/inc/salframe.hxx:309 #17 0x00007f24d1c08125 in GtkSalFrame::CallCallbackExc(SalEvent, void const*) const (this=0x55bd8fdca4c0, nEvent=SalEvent::KeyInput, pEvent=0x7fff2e489090) at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtkframe.cxx:6185 #18 0x00007f24d1c07a81 in GtkSalFrame::doKeyCallback(unsigned int, unsigned int, unsigned short, unsigned char, char16_t, bool, bool) (this=0x55bd8fdca4c0, state=33554448, keyval=121, hardware_keycode=29, group=0 '\000', aOrigCode=121 u'y', bDown=true, bSendRelease=true) at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtkframe.cxx:466 #19 0x00007f24d1c19081 in GtkSalFrame::IMHandler::signalIMCommit(_GtkIMContext*, char*, void*) (pText=0x55bd9479cf80 "y", im_handler=0x55bd93cd6b10) at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtkframe.cxx:5597 #20 0x00007f24dc1ba03b in g_cclosure_marshal_VOID__STRINGv () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0 #21 0x00007f24dc1b75a9 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0 #22 0x00007f24dc1d0bbf in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0 #23 0x00007f24dc1d0fd8 in g_signal_emit_by_name () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0 #24 0x00007f24dc1ba03b in g_cclosure_marshal_VOID__STRINGv () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0 #25 0x00007f24dc1b75a9 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0 #26 0x00007f24dc1d0bbf in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0 #27 0x00007f24dc1d0dbf in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0 #28 0x00007f24cc33b191 in () at /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so #29 0x00007f24d1c174c9 in GtkSalFrame::IMHandler::handleKeyEvent(_GdkEventKey*) (this=0x55bd93cd6b10, pEvent=0x55bd9478d9d0) at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtkframe.cxx:5473 #30 0x00007f24d1c0e29a in GtkSalFrame::signalKey(_GtkWidget*, _GdkEventKey*, void*) (pWidget=0x55bd8fdd9ca0, pEvent=0x55bd9478d9d0, frame=0x55bd8fdca4c0) at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtkframe.cxx:4121 #31 0x00007f24d0e90bc7 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0 #32 0x00007f24dc1b73b0 in g_closure_invoke () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0 #33 0x00007f24dc1ca076 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0 #34 0x00007f24dc1d042d in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0 #35 0x00007f24dc1d0dbf in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0 #36 0x00007f24d11697d4 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0 #37 0x00007f24d100788f in () at /lib/x86_64-linux-gnu/libgtk-3.so.0 #38 0x00007f24d1009296 in gtk_main_do_event () at /lib/x86_64-linux-gnu/libgtk-3.so.0 #39 0x00007f24d2193815 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0 --Type for more, q to quit, c to continue without paging-- #40 0x00007f24d21ed702 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0 #41 0x00007f24d631c7a9 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #42 0x00007f24d631ca38 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #43 0x00007f24d631cacc in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #44 0x00007f24d1aa30af in GtkSalData::Yield(bool, bool) (this=0x55bd8ddbe690, bWait=true, bHandleAllCurrentEvents=false) at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtkdata.cxx:405 #45 0x00007f24d1aa8783 in GtkInstance::DoYield(bool, bool) (this=0x55bd8ddbe540, bWait=true, bHandleAllCurrentEvents=false) at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtkinst.cxx:433 #46 0x00007f24db2d025f in ImplYield(bool, bool) (i_bWait=true, i_bAllEvents=false) at /home/julien/lo/libreoffice/vcl/source/app/svapp.cxx:385 #47 0x00007f24db2cfbcb in Application::Yield() () at /home/julien/lo/libreoffice/vcl/source/app/svapp.cxx:469 #48 0x00007f24db2cf9d7 in Application::Execute() () at /home/julien/lo/libreoffice/vcl/source/app/svapp.cxx:363 #49 0x00007f24e392fa48 in desktop::Desktop::Main() (this=0x7fff2e48c0b8) at /home/julien/lo/libreoffice/desktop/source/app/app.cxx:1591 #50 0x00007f24db2f3a74 in ImplSVMain() () at /home/julien/lo/libreoffice/vcl/source/app/svmain.cxx:203 #51 0x00007f24db2f5829 in SVMain() () at /home/julien/lo/libreoffice/vcl/source/app/svmain.cxx:235 #52 0x00007f24e39b0473 in soffice_main() () at /home/julien/lo/libreoffice/desktop/source/app/sofficemain.cxx:94 #53 0x000055bd8c883a6d in sal_main () at /home/julien/lo/libreoffice/desktop/source/app/main.c:51 #54 0x000055bd8c883a47 in main (argc=3, argv=0x7fff2e48c2c8) at /home/julien/lo/libreoffice/desktop/source/app/main.c:49 (gdb) frame 9 #9 0x00007f24ae363265 in SwDoc::GetPaMDescr (rPam=SwPaM = {...}) at /home/julien/lo/libreoffice/sw/source/core/doc/doc.cxx:1777 1777 + ShortenString(pTextNode->GetText().copy(nStart, nEnd - nStart), (gdb) p pTextNode->GetText() $1 = ""