Bug 151469 - Basic script execution linked to ODB form crashes LibreOffice (macOS)
Summary: Basic script execution linked to ODB form crashes LibreOffice (macOS)
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
7.4.1.2 release
Hardware: ARM macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-11 10:40 UTC by Alex Thurgood
Modified: 2022-12-14 10:52 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Test ODB file from bug 151455 (25.38 KB, application/vnd.oasis.opendocument.database)
2022-10-11 10:43 UTC, Alex Thurgood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Thurgood 2022-10-11 10:40:36 UTC
Description:
Cloned from bug 151455
Use the example ODB file provided there.

1) Open the ODB file.
2) Accept macro execution
3) Open the form called TBL_Basic
4) Ignore the migration wizard if it appears (click on "Later")
5) Click in the ID column on the form and change the value of "2" to "1"
6) Click on another row of the table
6) Error message (Basic MsgBox) is displayed:
"You tried to enter a duplicate ID number"
7) Click on "OK"
8) Crash & recovery dialog launched.




Steps to Reproduce:
See above

Actual Results:
Crashes when clicking on "OK" button of MsgBox

Expected Results:
Should not crash, should return to open form.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Tested with

Version: 7.4.1.2 / LibreOffice Community (aarch64)
Build ID: 3c58a8f3a960df8bc8fd77b461821e42c061c5f0
CPU threads: 8; OS: Mac OS X 12.6; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

and

Version: 7.5.0.0.alpha0+ / LibreOffice Community (x86_64)
Build ID: f0a36babf2ef1384666705697f91e7ff4166f4e4
CPU threads: 8; OS: Mac OS X 12.6; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded
Comment 1 Alex Thurgood 2022-10-11 10:43:13 UTC
If I run LODev in a lldb session, the crash does not occur.
Comment 2 Alex Thurgood 2022-10-11 10:43:37 UTC
Created attachment 182971 [details]
Test ODB file from bug 151455
Comment 3 Alex Thurgood 2022-12-14 10:50:21 UTC
No longer crashes with 

Version: 7.5.0.0.beta1 (AARCH64) / LibreOffice Community
Build ID: 3aca23eec42e9d6fbe57071d7633ae1fc4bc5fcc
CPU threads: 8; OS: Mac OS X 13.0.1; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

I suspect that this bug was fixed by the fix to bug 148435.
Comment 4 Alex Thurgood 2022-12-14 10:52:35 UTC
(In reply to Alex Thurgood from comment #3)
> No longer crashes with 
> 

 
> I suspect that this bug was fixed by the fix to bug 148435.

Or alternatively, the fix to bug 151894