When I type a date in the YYYY-MM-DD format in LibreOffice writer, LibreOffice crashes immediately and consistently. ABRT redirects me to this bug 1690645#c18 Which is apparently not correct.
abrt seems to be useless at the moment, wrt this problem is it *calc* or writer which is crashing. For me neither crashes, but seeing as calc autodetects date formats it would seem more likely to be calc. Seeing as it doesn't happen for me, this might be locale related. What is the output (in a terminal) of locale ? And does this happen every time for you, or sporadically ?
First of all, I'm sure it is Writer. I open a blank new document and type the *current* date, and LibreOffice Writer crashed immediately when I type the last digit of the current day. Always. I tested also with other dates that the current date, that does not result in a crash. $ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME=nl_NL LC_COLLATE="en_US.UTF-8" LC_MONETARY=nl_NL LC_MESSAGES="en_US.UTF-8" LC_PAPER=nl_NL LC_NAME="en_US.UTF-8" LC_ADDRESS=nl_NL LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT=nl_NL LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=
Maybe this is somehow related to text autosuggesting in Writer. Writer prefills, the date I want to type (it is selected), when I continue typing the selection/autosuggestion appears and disappears at several stages of typing the date. The default language that I use for LibreOffice documents is Dutch. When I start LibreOffice Writer from the command line, I get this output when the crash happens: $ oowriter (soffice:23752): GLib-GObject-WARNING **: 16:20:54.450: gsignal.c:3492: signal name 'selection_changed' is invalid for instance '0x7f66740058f0' of type 'OOoAtkObjCompTxt' /usr/include/c++/8/bits/stl_vector.h:950: std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = ExtTextInputAttr; _Alloc = std::allocator<ExtTextInputAttr>; std::vector<_Tp, _Alloc>::const_reference = const ExtTextInputAttr&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed. Fatal exception: Signal 6 Stack: /usr/lib64/libreoffice/program/libuno_sal.so.3(+0x3f2b3)[0x7f66aadf12b3] /usr/lib64/libreoffice/program/libuno_sal.so.3(+0x3f4c3)[0x7f66aadf14c3] /lib64/libc.so.6(+0x38600)[0x7f66aab2c600] /lib64/libc.so.6(gsignal+0x10f)[0x7f66aab2c57f] /lib64/libc.so.6(abort+0x127)[0x7f66aab16895] /usr/lib64/libreoffice/program/../program/libswlo.so(+0x431cd8)[0x7f667a048cd8] /usr/lib64/libreoffice/program/../program/libswlo.so(+0xc506ff)[0x7f667a8676ff] /usr/lib64/libreoffice/program/../program/libswlo.so(+0xc5a512)[0x7f667a871512] /usr/lib64/libreoffice/program/libvcllo.so(+0x376eec)[0x7f66a6e7ceec] /usr/lib64/libreoffice/program/libvcllo.so(+0x37ac3e)[0x7f66a6e80c3e] /usr/lib64/libreoffice/program/libvclplug_gtk3lo.so(+0xdf74d)[0x7f669498174d] /usr/lib64/libreoffice/program/libvclplug_gtk3lo.so(+0xe0ccd)[0x7f6694982ccd] /usr/lib64/libreoffice/program/libvclplug_gtk3lo.so(+0xe1d38)[0x7f6694983d38] /lib64/libgobject-2.0.so.0(g_cclosure_marshal_VOID__STRINGv+0x8b)[0x7f66aa6bf48b] /lib64/libgobject-2.0.so.0(+0x11636)[0x7f66aa6bc636] /lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xec1)[0x7f66aa6d8b01] /lib64/libgobject-2.0.so.0(g_signal_emit_by_name+0x4c4)[0x7f66aa6d9584] /lib64/libgobject-2.0.so.0(g_cclosure_marshal_VOID__STRINGv+0x8b)[0x7f66aa6bf48b] /lib64/libgobject-2.0.so.0(+0x11636)[0x7f66aa6bc636] /lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xec1)[0x7f66aa6d8b01] /lib64/libgobject-2.0.so.0(g_signal_emit_by_name+0x4c4)[0x7f66aa6d9584] /lib64/libgtk-3.so.0(+0x229cae)[0x7f6694377cae] /lib64/libgtk-3.so.0(+0x22a9eb)[0x7f66943789eb] /lib64/libgtk-3.so.0(+0x22ce37)[0x7f669437ae37] /usr/lib64/libreoffice/program/libvclplug_gtk3lo.so(+0xe06e6)[0x7f66949826e6] /usr/lib64/libreoffice/program/libvclplug_gtk3lo.so(+0xe1f3a)[0x7f6694983f3a] /lib64/libgtk-3.so.0(+0x3e19cb)[0x7f669452f9cb] /lib64/libgobject-2.0.so.0(g_closure_invoke+0x19d)[0x7f66aa6bc3dd] /lib64/libgobject-2.0.so.0(+0x24983)[0x7f66aa6cf983] /lib64/libgobject-2.0.so.0(g_signal_emit_valist+0x4e3)[0x7f66aa6d8123] /lib64/libgobject-2.0.so.0(g_signal_emit+0x93)[0x7f66aa6d90a3] /lib64/libgtk-3.so.0(+0x38dce4)[0x7f66944dbce4] /lib64/libgtk-3.so.0(+0x24aaff)[0x7f6694398aff] /lib64/libgtk-3.so.0(gtk_main_do_event+0x853)[0x7f669439abf3] /lib64/libgdk-3.so.0(+0x3ca39)[0x7f669408ba39] /lib64/libgdk-3.so.0(+0x99356)[0x7f66940e8356] /lib64/libglib-2.0.so.0(g_main_context_dispatch+0x15d)[0x7f66aa5da06d] /lib64/libglib-2.0.so.0(+0x4f438)[0x7f66aa5da438] /lib64/libglib-2.0.so.0(g_main_context_iteration+0x30)[0x7f66aa5da4d0] /usr/lib64/libreoffice/program/libvclplug_gtk3lo.so(+0x8ff43)[0x7f6694931f43] /usr/lib64/libreoffice/program/libvcllo.so(_ZN11Application5YieldEv+0x32)[0x7f66a70c1292] /usr/lib64/libreoffice/program/libvcllo.so(_ZN11Application7ExecuteEv+0x45)[0x7f66a70c2b65] /usr/lib64/libreoffice/program/libsofficeapp.so(+0x339f6)[0x7f66aad209f6] /usr/lib64/libreoffice/program/libvcllo.so(+0x5c1f0a)[0x7f66a70c7f0a] /usr/lib64/libreoffice/program/libvcllo.so(_Z6SVMainv+0x34)[0x7f66a70c8024] /usr/lib64/libreoffice/program/libsofficeapp.so(soffice_main+0x95)[0x7f66aad48655] /usr/lib64/libreoffice/program/soffice.bin(+0x10bf)[0x5623c05800bf] /lib64/libc.so.6(__libc_start_main+0xf3)[0x7f66aab18413] /usr/lib64/libreoffice/program/soffice.bin(+0x10fe)[0x5623c05800fe]
The default setting for the autotext thing is as a tooltip style thing, if I toggle it to the non-default highlighted selection-alike thing I can reproduce this
How can you switch between these autotext styles?
in writer tools->autocorrect->autocorrect options->word completion-> and enable "show as tip" and it will probably stop crashing by getting it to go down a different code path
https://gerrit.libreoffice.org/#/c/70672/ my proposed fix upstream
Caolan, thanks for your work and help!
libreoffice-6.1.5.2-5.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-b46ef8ec29
libreoffice-6.1.5.2-5.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-b46ef8ec29
libreoffice-6.1.5.2-5.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.