Bugzilla – Attachment 149773 Details for
Bug 121686
Assert on text + space + dash + enter
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
gdb bt
gdb_bt.txt (text/plain), 7.39 KB, created by
Julien Nabet
on 2019-03-06 20:59:33 UTC
(
hide
)
Description:
gdb bt
Filename:
MIME Type:
Creator:
Julien Nabet
Created:
2019-03-06 20:59:33 UTC
Size:
7.39 KB
patch
obsolete
>soffice.bin: /home/julien/lo/libreoffice/include/rtl/ustring.hxx:689: sal_Unicode rtl::OUString::operator[](sal_Int32) const: Assertion `index >= 0 && static_cast<sal_uInt32>(index) < static_cast<sal_uInt32>(getLength())' failed. > >Thread 1 "soffice.bin" received signal SIGABRT, Aborted. >__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 >50 ../sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type. >(gdb) bt >#0 0x00007ffff7b418bb in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 >#1 0x00007ffff7b2c535 in __GI_abort () at abort.c:79 >#2 0x00007ffff7b2c40f in __assert_fail_base > (fmt=0x7ffff7c8eee0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7ffff66c6f20 "index >= 0 && static_cast<sal_uInt32>(index) < static_cast<sal_uInt32>(getLength())", file=0x7ffff66c6ee8 "/home/julien/lo/libreoffice/include/rtl/ustring.hxx", line=689, function=<optimized out>) at assert.c:92 >#3 0x00007ffff7b3a0f2 in __GI___assert_fail > (assertion=0x7ffff66c6f20 "index >= 0 && static_cast<sal_uInt32>(index) < static_cast<sal_uInt32>(getLength())", file=0x7ffff66c6ee8 "/home/julien/lo/libreoffice/include/rtl/ustring.hxx", line=689, function=0x7ffff66cf0a0 <rtl::OUString::operator[](int) const::__PRETTY_FUNCTION__> "sal_Unicode rtl::OUString::operator[](sal_Int32) const") at assert.c:101 >#4 0x00007ffff642c94f in rtl::OUString::operator[](int) const (this=0x55555cb46b80, index=6) at /home/julien/lo/libreoffice/include/rtl/ustring.hxx:689 >#5 0x00007ffff65e84aa in SvxAutoCorrect::FnChgToEnEmDash(SvxAutoCorrDoc&, rtl::OUString const&, int, int, o3tl::strong_int<unsigned short, LanguageTypeTag>) (this=0x55555ab1a070, rDoc= > ..., rTxt="Test -", nSttPos=5, nEndPos=6, eLang=...) at /home/julien/lo/libreoffice/editeng/source/misc/svxacorr.cxx:548 >#6 0x00007ffff65eb8b7 in SvxAutoCorrect::DoAutoCorrect(SvxAutoCorrDoc&, rtl::OUString const&, int, char16_t, bool, bool&, vcl::Window const*) > (this=0x55555ab1a070, rDoc=..., rTxt="Test -", nInsPos=6, cChar=0 u'\000', bInsert=false, io_bNbspRunNext=@0x55555ac22698: false, pFrameWin=0x55555abf1400) > at /home/julien/lo/libreoffice/editeng/source/misc/svxacorr.cxx:1448 >#7 0x00007fffdde2ada4 in SwEditShell::AutoCorrect(SvxAutoCorrect&, bool, char16_t) (this=0x55555ac223d0, rACorr=..., bInsert=false, cChar=0 u'\000') > at /home/julien/lo/libreoffice/sw/source/core/edit/edws.cxx:269 >#8 0x00007fffdddbebe8 in SwEditShell::AutoFormatBySplitNode() (this=0x55555ac223d0) at /home/julien/lo/libreoffice/sw/source/core/edit/autofmt.cxx:2771 >#9 0x00007fffdde023e5 in SwEditShell::SplitNode(bool, bool) (this=0x55555ac223d0, bAutoFormat=true, bCheckTableStart=true) at /home/julien/lo/libreoffice/sw/source/core/edit/editsh.cxx:203 >#10 0x00007fffdeaf342b in SwWrtShell::SplitNode(bool) (this=0x55555ac223d0, bAutoFormat=true) at /home/julien/lo/libreoffice/sw/source/uibase/wrtsh/wrtsh1.cxx:949 >#11 0x00007fffde851e9a in SwEditWin::KeyInput(KeyEvent const&) (this=0x55555abf1400, rKEvt=...) at /home/julien/lo/libreoffice/sw/source/uibase/docvw/edtwin.cxx:2540 >#12 0x00007ffff093e8c6 in ImplHandleKey(vcl::Window*, MouseNotifyEvent, sal_uInt16, sal_uInt16, sal_uInt16, bool) > (pWindow=0x555557aecfc0, nSVEvent=MouseNotifyEvent::KEYINPUT, nKeyCode=1280, nCharCode=0, nRepeat=0, bForward=true) at /home/julien/lo/libreoffice/vcl/source/window/winproc.cxx:994 >#13 0x00007ffff0943723 in ImplWindowFrameProc(vcl::Window*, SalEvent, void const*) (_pWindow=0x555557aecfc0, nEvent=SalEvent::KeyInput, pEvent=0x7fffffff15e2) > at /home/julien/lo/libreoffice/vcl/source/window/winproc.cxx:2359 >#14 0x00007fffe89a2712 in SalFrame::CallCallback(SalEvent, void const*) const (this=0x555557afdce0, nEvent=SalEvent::KeyInput, pEvent=0x7fffffff15e2) at /home/julien/lo/libreoffice/vcl/inc/salframe.hxx:285 >#15 0x00007fffe89a1ee6 in GtkSalFrame::CallCallbackExc(SalEvent, void const*) const (this=0x555557afdce0, nEvent=SalEvent::KeyInput, pEvent=0x7fffffff15e2) > at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtk3gtkframe.cxx:4492 >#16 0x00007fffe89930b4 in GtkSalFrame::doKeyCallback(unsigned int, unsigned int, unsigned short, unsigned char, char16_t, bool, bool) > (this=0x555557afdce0, state=16, keyval=65421, hardware_keycode=104, group=0 '\000', aOrigCode=0 u'\000', bDown=true, bSendRelease=false) at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtk3gtkframe.cxx:455 >#17 0x00007fffe899e567 in GtkSalFrame::signalKey(_GtkWidget*, _GdkEventKey*, void*) (pWidget=0x555557afe320, pEvent=0x55555c2a7b10, frame=0x555557afdce0) > at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtk3gtkframe.cxx:3298 >#18 0x00007fffe84a717b in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >#19 0x00007fffeafa8c7d in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#20 0x00007fffeafbc345 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#21 0x00007fffeafc494b in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#22 0x00007fffeafc591f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 >#23 0x00007fffe8455324 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >#24 0x00007fffe8315a3f in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >#25 0x00007fffe8317a83 in gtk_main_do_event () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 >#26 0x00007fffe8019465 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 >#27 0x00007fffe80745b2 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 >#28 0x00007fffeaec6f2e in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 >#29 0x00007fffeaec71c8 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 >#30 0x00007fffeaec725c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 >#31 0x00007fffe88c1e8a in GtkSalData::Yield(bool, bool) (this=0x555555645160, bWait=true, bHandleAllCurrentEvents=false) at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtk3gtkdata.cxx:528 >#32 0x00007fffe88c6012 in GtkInstance::DoYield(bool, bool) (this=0x555555653550, bWait=true, bHandleAllCurrentEvents=false) at /home/julien/lo/libreoffice/vcl/unx/gtk3/../gtk/gtkinst.cxx:406 >#33 0x00007ffff0ed844f in ImplYield(bool, bool) (i_bWait=true, i_bAllEvents=false) at /home/julien/lo/libreoffice/vcl/source/app/svapp.cxx:441 >#34 0x00007ffff0ed8971 in Application::Yield() () at /home/julien/lo/libreoffice/vcl/source/app/svapp.cxx:505 >#35 0x00007ffff0ed8247 in Application::Execute() () at /home/julien/lo/libreoffice/vcl/source/app/svapp.cxx:422 >#36 0x00007ffff7d44266 in desktop::Desktop::Main() (this=0x7fffffff2510) at /home/julien/lo/libreoffice/desktop/source/app/app.cxx:1621 >#37 0x00007ffff0eefda7 in ImplSVMain() () at /home/julien/lo/libreoffice/vcl/source/app/svmain.cxx:203 >--Type <RET> for more, q to quit, c to continue without paging--q >Quit >(gdb) frame 5 >#5 0x00007ffff65e84aa in SvxAutoCorrect::FnChgToEnEmDash (this=0x55555ab1a070, rDoc=..., rTxt="Test -", nSttPos=5, nEndPos=6, eLang=...) at /home/julien/lo/libreoffice/editeng/source/misc/svxacorr.cxx:548 >548 '-' == rTxt[ nSttPos+1 ]) >(gdb) list >543 { >544 sal_Unicode cCh = rTxt[ nSttPos ]; >545 if( '-' == cCh ) >546 { >547 if( ' ' == rTxt[ nSttPos-1 ] && >548 '-' == rTxt[ nSttPos+1 ]) >549 { >550 sal_Int32 n; >551 for( n = nSttPos+2; n < nEndPos && lcl_IsInAsciiArr( >552 sImplSttSkipChars,(cCh = rTxt[ n ])); >(gdb) p n >No symbol "n" in current context. >(gdb) p nSttPos >$1 = 5 >(gdb) p rTxt >$2 = "Test -" >(gdb) p nEndPos >$3 = 6 >(gdb) p nEndPos - nSttPos >$4 = 1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 121686
:
146997
| 149773