Bug 160959

Summary: Crash when trying to update orphan extension
Product: LibreOffice Reporter: Mihai Vasiliu <mihai.vasiliu.93>
Component: ExtensionsAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: stephane.guillou
Priority: medium    
Version: 24.2.2.2 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=160957
Whiteboard:
Crash report or crash signature: ["static `dp_manager::ExtensionManager::getExtensionsWithSameIdentifier'::`1'::catch$12()"] Regression By:
Bug Depends on:    
Bug Blocks: 104113, 133092    
Attachments: Crash dump 1
Crash dump 2
Extensions window showing the dict-hu and dict-ru missing extensions

Description Mihai Vasiliu 2024-05-06 11:51:23 UTC
Description:
When right-clicking an orphan extension (please see Bug 160957) and selecting Update, LibreOffice crashes.

Steps to Reproduce:
1. Reproduce Bug 160957
2. Open the extensions manager
3. Right click dict-hu or dict-ru and select Update

Actual Results:
LibreOffice crashes. See attachment.

Expected Results:
LibreOffice shoud not crash, rather it should show an error that the extensions is not installed or something.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: ro-RO (ro_RO); UI: en-US
Calc: threaded
Comment 1 Mihai Vasiliu 2024-05-06 11:51:49 UTC
Created attachment 193994 [details]
Crash dump 1
Comment 2 Mihai Vasiliu 2024-05-06 11:52:12 UTC
Created attachment 193995 [details]
Crash dump 2
Comment 3 Mihai Vasiliu 2024-05-06 11:52:42 UTC
Created attachment 193996 [details]
Extensions window showing the dict-hu and dict-ru missing extensions
Comment 4 Stéphane Guillou (stragu) 2024-05-21 13:14:15 UTC
Yes, after following the steps in bug , and doing right-click > Update on the "extension placeholder", I get a crash with signature "static `dp_manager::ExtensionManager::getExtensionsWithSameIdentifier'::`1'::catch$12()": https://crashreport.libreoffice.org/stats/crash_details/1203eb75-c7d0-4fa2-a446-f2600302d01b

Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba
CPU threads: 4; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded