Bug 136971 - Crash in: swlo.dll while using Basic macro to delete a character while cursor is in a textbox
Summary: Crash in: swlo.dll while using Basic macro to delete a character while cursor...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Macro
  Show dependency treegraph
 
Reported: 2020-09-23 09:34 UTC by sdc.blanco
Modified: 2022-10-03 08:03 UTC (History)
5 users (show)

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


Attachments
Test document with steps to reproduce crash (11.94 KB, application/vnd.oasis.opendocument.text)
2020-09-23 09:34 UTC, sdc.blanco
Details
bt with debug symbols (13.07 KB, text/plain)
2020-09-23 19:21 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sdc.blanco 2020-09-23 09:34:59 UTC
Created attachment 165790 [details]
Test document with steps to reproduce crash

This bug was filed from the crash reporting server and is br-4cec9caf-8105-4ebc-9388-e0980519b5c3.
=========================================

1.  Use Basic macro (in test document).

2.  Assign that macro to a key  (I used Ctrl-K)

3.  Use assigned key in text document, no problem.

4.  Use assigned key in a textbox  (example given in text document), reproducible crash.


This crash report was produced with:
Version: 7.0.0.0.beta2 (x64)
Build ID: 1c213561a365b5666167321de68c9977500c9612
CPU threads: 8; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: da-DK (en_DK); UI: en-US
Calc: threaded
Comment 1 Julien Nabet 2020-09-23 19:21:40 UTC
Created attachment 165801 [details]
bt with debug symbols

On pc Debian x86-64 with master sources updated today, I could reproduce this.
Comment 2 Xisco Faulí 2020-09-25 14:38:51 UTC
For the record, the cursor must be inside the textbox
Comment 3 Xisco Faulí 2020-09-25 14:45:32 UTC
Also reproduced in

Version: 5.2.0.0.alpha0+
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 5.7; Render: default; 

Locale: en-US (en_US.UTF-8)
Comment 4 Xisco Faulí 2020-09-25 16:51:03 UTC
Also reproduced in

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 5 QA Administrators 2022-09-26 03:30:13 UTC Comment hidden (obsolete)
Comment 6 Roman Kuznetsov 2022-10-02 17:58:00 UTC
Still repro in

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 48b9cbc742de3f6120986cb6cafc92eb5009da82
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded

Andreas, Mike, possibly you will be interesting with it
Comment 7 Andreas Heinisch 2022-10-03 07:26:25 UTC
LO does not crash if the macro will be executed directly in the basic editor.
Comment 8 Roman Kuznetsov 2022-10-03 07:38:52 UTC
(In reply to Andreas Heinisch from comment #7)
> LO does not crash if the macro will be executed directly in the basic editor.

I tried to start macro from main menu, crash still repro
Comment 9 Andreas Heinisch 2022-10-03 08:03:43 UTC
In the main menu it indeed crashes too.