Bug 122758 - Crash if Font Changed for Multi-Line Text Box
Summary: Crash if Font Changed for Multi-Line Text Box
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-16 14:57 UTC by rex
Modified: 2019-09-21 11:56 UTC (History)
1 user (show)

See Also:
Crash report or crash signature: ["frm::RichTextControlImpl::executeAttribute(SfxItemSet const &,SfxItemSet &,long,SfxPoolItem const *,SvtScriptType)"]
Regression By:


Attachments
Sample file (9.18 KB, application/vnd.oasis.opendocument.text)
2019-01-16 15:09 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rex 2019-01-16 14:57:17 UTC
Description:
Hi all!

Creating a multi-line text box and changing the font consistently results in a crash for me.

key words:
EDITING FORMCONTROLS

Go Libre!

Steps to Reproduce:
    1. New Writer document
    2. View -> Toolbars -> Form Controls
    3. Form Controls Toolbar -> Design Mode should be active
    4. Form Controls Toolbar -> Text Box
    5. Place text box
    6. Right click text box -> Control
    7. Change Text type property from Multi-line to Multi-line with formatting
    8. Close properties box
    9. Form Controls Toolbar -> Design Mode to disable design mode
    10. Right click the area within the text box
    11. Font Name -> any font

Actual Results:
Crash

Expected Results:
Changed the font property without crashing.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
I am using Linux Mint 18.3 and have a crash report here:
http://crashreport.libreoffice.org/stats/crash_details/97457392-c402-4cc9-ae37-7bc266b9ab06
Comment 1 Telesto 2019-01-16 15:08:26 UTC
No repro on Windows with
Version: 6.3.0.0.alpha0+
Build ID: 61778fd20395794d2de3b52d60dcc65083aecd93
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 2 Telesto 2019-01-16 15:09:32 UTC
Created attachment 148359 [details]
Sample file
Comment 3 Dieter 2019-01-16 15:45:21 UTC
(In reply to rex from comment #0)
> Description:
> Hi all!
> 
> Creating a multi-line text box and changing the font consistently results in
> a crash for me.

Thank you for reporting the bug. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version. Change to RESOLVED WORKSFORME, if the problem went away.
Comment 4 rex 2019-01-16 16:26:34 UTC
Issue persists in 6.1.4.2 with profile reset.
Comment 5 Xisco Faulí 2019-01-16 16:51:51 UTC
I can reproduce it in

Version: 6.1.4.2
Build ID: 1:6.1.4-0ubuntu0.16.04.1~lo2
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group threaded

but not in

Version: 6.3.0.0.alpha0+
Build ID: 1bf68dbf53f4b5308e295058226abd6d6fb49c3d
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 6 Xisco Faulí 2019-01-16 17:04:07 UTC
This is fixed by https://cgit.freedesktop.org/libreoffice/core/commit/?id=c5d0d424bd7e78455cb6f9578cf2425ac0787004
it will be fixed in LibreOffice 6.1.5 or 6.2.0