Bug 154678 - Crash closing LibreOffice with caption frame on clipboard
Summary: Crash closing LibreOffice with caption frame on clipboard
Status: RESOLVED DUPLICATE of bug 154551
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Cut-Copy Crash
  Show dependency treegraph
 
Reported: 2023-04-06 12:43 UTC by Telesto
Modified: 2023-04-12 14:35 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
BT without symbols (19.33 KB, text/plain)
2023-04-06 12:46 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2023-04-06 12:43:05 UTC
Description:
Crash closing LibreOffice with caption frame on clipboard 

Steps to Reproduce:
1. Insert a shape, say rectangle
2. Select shape, right-click, choose "Insert Caption"
3. Type some caption. Say AAA & press OK
3. CTRL+X (or select the caption within the frame)
4. Press CTRL+F4 or Red Close LibreOffice button 
5. Don't save on warning -> Crash

Actual Results:
Crash

Expected Results:
No crash


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c4a58634753a84b09f20f7271d6525a6656522d3
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded
Comment 1 Telesto 2023-04-06 12:46:04 UTC
Created attachment 186512 [details]
BT without symbols
Comment 2 Stéphane Guillou (stragu) 2023-04-06 15:21:07 UTC
Marking as Windows-only for now as I can't reproduce with:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 23bd3bd10e74b0c23c2654d02d7d830e7693adac
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 3 sdc.blanco 2023-04-06 18:16:24 UTC
Repro (with simpler STR)

1. Insert Frame.
2. Right-click on selected frame, choose "Insert Caption"
3. Type some caption. Say AAA & press OK
4. CTRL+X (on frame) (or select the caption within the frame and Ctrl+X)
(sometimes need to wait a little).
Crash

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1e9f4de320f67d1218c710bcee1969a2324c6888
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: da-DK (da_DK); UI: en-US
Calc: CL threaded

But this ticket seems a duplicate of bug 154551
Comment 4 Telesto 2023-04-06 19:37:51 UTC
(In reply to sdc.blanco from comment #3)
> Repro (with simpler STR)
> 
> 1. Insert Frame.
> 2. Right-click on selected frame, choose "Insert Caption"
> 3. Type some caption. Say AAA & press OK
> 4. CTRL+X (on frame) (or select the caption within the frame and Ctrl+X)
> (sometimes need to wait a little).
> Crash

I split it to a different bug, because I'm unable to repro the steps in bug 154551
And is it possible to use WinDbg for some backtrace.. makes it easier to compare + finding the cause.
Comment 5 sdc.blanco 2023-04-06 20:02:19 UTC
(In reply to Telesto from comment #4)
> split... because unable to repro steps in bug 154551
Is the difference that you must first try to close the document before your crash, while bug 154551 reports a crash (more or less immediately) after CTRL+X (without having to close)?

Meanwhile -- please note bug 154551, comment 6, which gives another STR (using CTRL+C, instead of CTRL+X) that is consistent with the bug summary for this ticket.
Comment 6 sdc.blanco 2023-04-08 12:20:21 UTC
Even simpler STR

1. Ctrl+F2 - Variables tab.
2. Type "number range", any "Select" and "format"
3. Give a value and "Insert"
4. Select inserted number range field and CTRL+C (or CTRL+X)
(sometimes wait a little)
Crash

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 375f85f8518f49ce4381b6663f1e94fc02bacf93
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: da-DK (da_DK); UI: en-US
Calc: CL threaded

iow -- maybe the issue is with the number range variable (used in the caption) and nothing to do with frames.....
Comment 7 sdc.blanco 2023-04-12 11:42:21 UTC
@Telesto - I think we can safely conclude that this ticket is a DUP.  Of course, "undo" that conclusion if you disagree.

*** This bug has been marked as a duplicate of bug 154551 ***
Comment 8 Telesto 2023-04-12 14:34:54 UTC
(In reply to sdc.blanco from comment #7)
> @Telesto - I think we can safely conclude that this ticket is a DUP.  Of
> course, "undo" that conclusion if you disagree.
Yes, you're right