Bug 164532 - Crash with libreoffice-script-provider-python installed when attempting to run or organize macros
Summary: Crash with libreoffice-script-provider-python installed when attempting to ru...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.2.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Crash
  Show dependency treegraph
 
Reported: 2024-12-31 16:35 UTC by John Sias
Modified: 2025-01-07 11:28 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Sias 2024-12-31 16:35:21 UTC
Description:
On Ubuntu, installed libreoffice-script-provider-python (4:24.2.7-0ubuntu0.24.04.1). With package installed, Writer's run / organize menu item crashes soffice with "terminate after throwing an instance of 'std::bad_alloc'". Without package installed, basic macro functionality is as expected.

Steps to Reproduce:
1. On Ubuntu 24.04.1, install libreoffice-script-provider-python
2. In Writer, attempt to run / organize macros
3.

Actual Results:
$ soffice
Warning: failed to launch javaldx - java may not function correctly
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc


Expected Results:
Allow to run/organize basic and python macros


Reproducible: Always


User Profile Reset: Yes

Additional Info:
tried with "SAL_USE_VCLPLUGIN=gen" as suggested in bug report elsewhere on older version. Same effect.
Comment 1 Roman Kuznetsov 2025-01-02 21:17:05 UTC
What about LibreOffice installed by using DEB packages from our official site?

https://www.libreoffice.org/donate/dl/deb-x86_64/24.8.4/en-US/LibreOffice_24.8.4_Linux_x86-64_deb.tar.gz

Unzip the archive and run a command:

sudo dpkg -i *

in DEBS catalog inside
Comment 2 John Sias 2025-01-03 02:07:49 UTC
Python script features appear to work as expected with 24.8.4 debs downloaded from the LibreOffice site.

Thanks for suggestion. Must be a problem with 24.2.7 build included with Ubuntu 24.04.1.