[Libreoffice-bugs] [Bug 126071] New: Assertion failure in offline help viewer when searching for string starting or ending in non-alphanumeric character
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 24 20:14:37 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=126071
Bug ID: 126071
Summary: Assertion failure in offline help viewer when
searching for string starting or ending in
non-alphanumeric character
Product: LibreOffice
Version: 6.4.0.0.alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: haveBacktrace
Severity: normal
Priority: low
Component: framework
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: kelemeng at ubuntu.com
Blocks: 105537
Created attachment 152373
--> https://bugs.documentfoundation.org/attachment.cgi?id=152373&action=edit
Backtrace of the assertion error
If I try to search for a string that ends with a dot the offline help viewer
crashes with an assertion error.
In the non debug build I get a "There is no such topic" dialog when doing the
same.
To reproduce:
1. Open the offline help browser.
2. Go to the Search tab.
3. Enter "foo." and press the Find button.
The console shows this output:
soffice.bin: /home/gabor/src/core/sal/rtl/strtmpl.cxx:1378: void
rtl_uString_newFromSubString(rtl_uString**, const rtl_uString*, sal_Int32,
sal_Int32): Assertion `false' failed.
Happens in:
Version: 6.4.0.0.alpha0+
Build ID: ab5f341efd144adb6b7d0e00fece76a2153acd10
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Locale: hu-HU (hu_HU.UTF-8); UI-Language: en-US
Calc: threaded
There is no assertion error when searching for "foo" or "foo.a" but there is
one if searching for ".foo".
Also this happens with basically any non alphanumeric characters at the
beginning or end of the string: .,"+-%=?! all can reproduce the problematic
behavior.
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=105537
[Bug 105537] [META] Assertion failed crashes
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190624/1150d954/attachment.html>
More information about the Libreoffice-bugs
mailing list