Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1699347 - Crash in LibreOffice writer when I type a data in the YYYY-MM-DD format
Summary: Crash in LibreOffice writer when I type a data in the YYYY-MM-DD format
Alias: None
Product: Fedora
Classification: Fedora
Component: libreoffice
Version: 29
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2019-04-12 13:43 UTC by Jan Vlug
Modified: 2019-04-15 17:43 UTC (History)
4 users (show)

Fixed In Version: libreoffice-
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-04-15 17:43:55 UTC
Type: Bug

Attachments (Terms of Use)

Description Jan Vlug 2019-04-12 13:43:50 UTC
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.

Comment 1 Caolan McNamara 2019-04-12 13:57:03 UTC
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


? And does this happen every time for you, or sporadically ?

Comment 2 Jan Vlug 2019-04-12 14:19:36 UTC
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

Comment 3 Jan Vlug 2019-04-12 14:27:59 UTC
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

Comment 4 Caolan McNamara 2019-04-12 14:41:48 UTC
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

Comment 5 Jan Vlug 2019-04-12 15:28:18 UTC
How can you switch between these autotext styles?

Comment 6 Caolan McNamara 2019-04-12 15:33:36 UTC
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

Comment 7 Caolan McNamara 2019-04-12 15:52:20 UTC my proposed fix upstream

Comment 8 Jan Vlug 2019-04-12 17:57:31 UTC
Caolan, thanks for your work and help!

Comment 9 Fedora Update System 2019-04-13 13:04:39 UTC
libreoffice- has been submitted as an update to Fedora 29.

Comment 10 Fedora Update System 2019-04-14 04:45:56 UTC
libreoffice- has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See for
instructions on how to install test updates.
You can provide feedback for this update here:

Comment 11 Fedora Update System 2019-04-15 17:43:55 UTC
libreoffice- has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.