[Libreoffice-bugs] [Bug 116586] New: Crash with Hungarian spell checker in 6.0 debug build
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Mar 23 13:38:40 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=116586
Bug ID: 116586
Summary: Crash with Hungarian spell checker in 6.0 debug build
Product: LibreOffice
Version: 6.0.3.1 rc
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: haveBacktrace
Severity: major
Priority: medium
Component: Linguistic
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: baron at caesar.elte.hu
CC: nemeth at numbertext.org
Blocks: 96000, 105537
Created attachment 140828
--> https://bugs.documentfoundation.org/attachment.cgi?id=140828&action=edit
Backtrace
Prerequisite:
With a debug build of libreoffice-6-0 branch (I was at
90fb652ebbc4b16ae5001140076f52209e913345), have Hungarian spell checker
installed (ie. hunspell-hu in Ubuntu), or copy the content of 'hu_HU' from
dictionaries repo into 'instdir/share/extensions/dict-hu'.
I assume debug libstdc++ packages are also needed.
Repro:
Open a Hungarian document eg. 'sw/qa/extras/uiwriter/data/commented-word.odt',
or set document language to Hungarian, and start typing.
=> Crash.
(the menioned document is for a unit test, so if Hungarian spell checker is
installed, the respective unit test will fail)
The crash is in Hunspell (or rather in C++ STD library), this is the relevant
part of the backtrace (attaching the whole thing):
#2 0x00007ffff6a564e3 in __gnu_debug::_Error_formatter::_M_error() const () at
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007fffbf28f9a4 in std::binary_search<unsigned short*, unsigned
short>(unsigned short*, unsigned short*, unsigned short const&)
(__first=0x555557420e00, __last=0x555557420e2c, __val=@0x55555741a9dc: 119) at
/usr/include/c++/7/bits/stl_algo.h:2254
#4 0x00007fffbf2e92c2 in
HashMgr::remove_forbidden_flag(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) (this=0x55555741a9c0,
word="élethalálharc") at hashmgr.cxx:509
There's also this message on the console:
/usr/include/c++/7/bits/stl_algo.h:2254:
Error: elements in iterator range [__first, __last) are not partitioned by
the value __val.
There is no crash in a debug master build, so I have to close this as
WORKSFORME right away.
László, is there a chance you could investigate what is wrong here?
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=96000
[Bug 96000] [META] Spelling and grammar checking bugs and enhancements
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/20180323/4d46f52d/attachment.html>
More information about the Libreoffice-bugs
mailing list