Bug 162556 - Crash in: msvcp140.dll in Spelling dialog when click Add to Dictionary drop-down arrow
Summary: Crash in: msvcp140.dll in Spelling dialog when click Add to Dictionary drop-d...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 162554 (view as bug list)
Depends on:
Blocks: Crash
  Show dependency treegraph
 
Reported: 2024-08-22 09:06 UTC by Andrew Rowland
Modified: 2025-01-07 12:59 UTC (History)
1 user (show)

See Also:
Crash report or crash signature: ["msvcp140.dll"]


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Rowland 2024-08-22 09:06:19 UTC
This bug was filed from the crash reporting server and is br-000d44f7-af92-455b-9a4a-522ef9868a8a.
=========================================
BACKGROUND
Writing a story with a lot of foreign names that I did not want in my general user dictionary, I created a new exceptions dictionary.
Added three words to it manually.
Added a couple of words by right-clicking the underlined word and pointing to Add to Dictionary > xxxx.dic

STEPS TO REPRODUCE
Spellcheck document with errors using F7
With unknown word selected, click the down arrow on Add to Dictionary button
Select xxxx.dic, move on to next word
Click the down arrow on Add to Dictionary button
Writer crashes. In my tests, this happened after the first add and then always subsequently.

The new dictionary is fine: standard text file, I can edit it in Options.
Comment 1 Andrew Rowland 2024-08-22 09:09:37 UTC
Version 24.2.5.2
Comment 2 Andrew Rowland 2024-08-22 09:10:08 UTC
*** Bug 162554 has been marked as a duplicate of this bug. ***
Comment 3 Andrew Rowland 2024-10-04 17:47:33 UTC
Continues in 24.8.2.1

To clarify: the first addition to 'Add to dictionary' succeeds. After that, simply clicking 'Add to dictionary' can crash LO entirely, though I have sometimes noted that it is only the third time that crashes.
Crash occurs whether you add to Standard.dic or custom dictionary.

Workaround:
If second Add to Dictionary is required, close the Spelling Check dialog and open it again (F7).
or only add by right-clicking the squiggly line in the main window.

Impact
I am currently writing a novel with a lot of foreign words, so this issue occurs frequently.
Comment 4 Buovjaga 2024-12-04 17:22:30 UTC
(In reply to Andrew Rowland from comment #0)
> STEPS TO REPRODUCE
> Spellcheck document with errors using F7
> With unknown word selected, click the down arrow on Add to Dictionary button
> Select xxxx.dic, move on to next word
> Click the down arrow on Add to Dictionary button

I don't see any down arrow in the button, but I added a bunch of words without issues.

Version: 25.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 94afced0195ef824e575176e33c79ca57484cd5c
CPU threads: 2; OS: Windows 11 X86_64 (10.0 build 22621); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 5 Andrew Rowland 2025-01-07 12:59:51 UTC
(In reply to Buovjaga from comment #4)
> 
> I don't see any down arrow in the button, but I added a bunch of words
> without issues.
You probably don't see an arrow because you didn't create an additional user dictionary. I don't know whether that is a necessary step to cause the crash.
I do not reproduce the problem in LO 7.6.7.2