Description: I have doc file, when I try to open it and just scrolling down writer crash !! The file attached. Actual Results: Writer crashes Expected Results: should be open the file without crash. Reproducible: Always User Profile Reset: Yes Additional Info: User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Created attachment 137799 [details] the problematic file
Not reproducible for me with Windows 10. Perhaps it's only a Linux problem. Version: 5.4.3.2 (x64) Build-ID: 92a7159f7e4af62137622921e809f8546db437e5 CPU-Threads: 4; Betriebssystem:Windows 6.19; UI-Render: Standard; Gebietsschema: de-DE (de_DE); Calc: group
Can not reproduce! it works fine! Windows 10 Version: 5.4.3.2 (x64) Build ID: 92a7159f7e4af62137622921e809f8546db437e5 CPU threads: 8; OS: Windows 6.19; UI render: default; Locale: en-US (en_US); Calc: group
please make sure to scroll down till the end of the doc.
Yep, it crashes for me when I scroll down from page 1 to page 10 Version: 6.0.0.0.alpha1+ Build ID: a5550289a37950195b7a7e5b22cba79ce5b5a673 CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; Locale: th-TH (ca_ES.UTF-8); Calc: group
Also reproduced in Versión: 5.4.3.2 Id. de compilación: 92a7159f7e4af62137622921e809f8546db437e5 Subprocs. CPU: 1; SO: Windows 6.1; Repres. IU: predet.; Configuración regional: es-ES (es_ES); Calc: group
Surprisingly, I can't reproduce it with any bibisect repository...
Created attachment 137806 [details] gdb backtrace Using a debug build, I can reproduce the crash if I scroll the document using the scrollbar
@Caolán, Michael, one for you?
I have a plausible fix at https://gerrit.libreoffice.org/#/c/44831/ based on the same logic the code following the crash uses to restrict the kashida index to a valid range
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=6e686439291b4047a8c522ebf78d25632d349f62 Resolves: tdf#113871 bounds check kashida pos It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
@Caolán can you backport it to 5.4?