Bug 158159 - Crash on Deepl Translate
Summary: Crash on Deepl Translate
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: DeepL
  Show dependency treegraph
 
Reported: 2023-11-10 10:10 UTC by Timur
Modified: 2024-02-20 13:52 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample ODT (18.56 KB, application/vnd.oasis.opendocument.text)
2023-11-10 10:10 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timur 2023-11-10 10:10:42 UTC
Created attachment 190779 [details]
Sample ODT

Open sample ODT
Select from the beginning to the end of text - not all with Ctrl+A
Tools - Translate (provided you have Experimental and set Deepl before)

Crash in 24.2. No crash for me with 7.5. I mark regression so far. 

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c32bf48b7446808ffc47472021ec32cb7c70eea7
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Timur 2023-11-10 10:37:31 UTC
Crash is in my local build.
No crash in bibi repo before curl change. Repo still not updated to check now when curl changed.
Comment 2 Stéphane Guillou (stragu) 2023-11-10 13:39:39 UTC Comment hidden (obsolete)
Comment 3 Timur 2023-11-10 13:40:54 UTC
Stéphane, that is different. You do not have the Translate working. 
It needs to work for thish ticket.
Comment 4 Stéphane Guillou (stragu) 2023-11-10 13:52:13 UTC
(In reply to Stéphane Guillou (stragu) from comment #2)
> Using the free DeepL API with domain https://www.deepl.com/docs-api
Ugh, sorry, obviously copied the wrong API domain.
Now I don't get 152706, but:
- I still can't reproduce your crash
- I can still reproduce my comment 2 double-click crash
Comment 5 Stéphane Guillou (stragu) 2023-11-10 14:04:30 UTC
Hm actually I take that back, I have reproduced the crash _once_ but it's inconsistent.
I get garbage in last list element of the type:

Math (Gleichungseditor)1 Base (Datenbank)1殐ڹ㎀ۄA澐ڹ뙰ͨ鱠ͩ୑⾴붺쀙
-@Q�ں�ں�ںﱠͪں뀸돳缗ٕ俸ڽ㓠ۄ돎缗-?Q�ں!�ںMath (equation editor)

I always get random garbage, but once after that I waited a few seconds, it froze, then crashed.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3aca2d9776a871f15009a1aa70628ba3a03ee147
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 6 Stéphane Guillou (stragu) 2023-11-10 17:43:25 UTC
(In reply to Stéphane Guillou (stragu) from comment #2)
Reported as bug 158171.