Bug 144306 - Crash Ctrl+dragging a row
Summary: Crash Ctrl+dragging a row
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, regression
Depends on:
Blocks: Crash-Assert Drag-and-Drop
  Show dependency treegraph
 
Reported: 2021-09-05 07:50 UTC by Mike Kaganski
Modified: 2024-02-24 01:42 UTC (History)
9 users (show)

See Also:
Crash report or crash signature:


Attachments
Screencast of the problem (297.74 KB, image/gif)
2021-09-05 07:50 UTC, Mike Kaganski
Details
bt with debug symbols (42.45 KB, text/plain)
2021-09-11 17:16 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2021-09-05 07:50:25 UTC
Created attachment 174789 [details]
Screencast of the problem

Ctrl+dragging a row (in the row numbers area) crashes Calc in master (at least using a dbgutil build).

It sometimes needs a couple of attempts (the screencast shows it on the second attempt).
Comment 1 Julien Nabet 2021-09-05 09:15:49 UTC
Just for the record, on pc Debian x86-64 with master sources updated today + enable-dbgutil, I don't reproduce this.
I tested with gen, kf5 and gtk3 renderings.
I tried several times to be sure and considering it doesn't happen each time.
Comment 2 Roman Kuznetsov 2021-09-05 10:57:40 UTC
Confirm in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 23f17b7ea6fbd2f422c7e40192ae60e4df25224c
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: default; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded

but not in

Version: 7.2.0.1.0+ (x64) / LibreOffice Community
Build ID: c3dd27d24dec0c581ed731acf8ff3504a4068b03
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: default; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded

=> regression
Comment 3 Henrik Palomäki 2021-09-11 10:04:03 UTC
I would say I got a partial confirmation. I repeated the "Ctrl+dragging a row" about 100 times and got one crash during the first 20 tries.

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: b573ce5683ee648ed391ea3223208e584cf2f868
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: CL
Build Time: 2021-09-11 05:22:56
Comment 4 Julien Nabet 2021-09-11 17:16:01 UTC
Created attachment 174974 [details]
bt with debug symbols

On Win10 with master sources updated today, I could reproduce this.
(it seems a Windows only bug then).
Comment 5 Kevin Suo 2021-11-24 14:59:09 UTC
@Xisco Faulí

This also needs bibisecting on Windows.
Comment 6 Roman Kuznetsov 2021-11-24 18:14:32 UTC
Today I can't repor it in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 7ec1ef958855ba7ebff4d3bc623f454015ec5a5c
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL
Comment 7 Roman Kuznetsov 2021-11-24 18:15:09 UTC
(In reply to Roman Kuznetsov from comment #6)
> Today I can't repor it in
> 
> Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
> Build ID: 7ec1ef958855ba7ebff4d3bc623f454015ec5a5c
> CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render:
> Skia/Raster; VCL: win
> Locale: ru-RU (ru_RU); UI: en-US
> Calc: CL

Win 10 only?
Comment 8 Tom 2021-11-25 08:06:14 UTC
(In reply to Roman Kuznetsov from comment #7)
> (In reply to Roman Kuznetsov from comment #6)
> > Today I can't repor it in
> > 
> > Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
> > Build ID: 7ec1ef958855ba7ebff4d3bc623f454015ec5a5c
> > CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render:
> > Skia/Raster; VCL: win
> > Locale: ru-RU (ru_RU); UI: en-US
> > Calc: CL
> 
> Win 10 only?

Wasn't able to reproduce on Linux with any of the following:
LibreOfficeDev 7.3.0.0.alpha1 515682539623c9d61921c4f89302ffa0a4cb8d24
LibreOfficeDev 7.2.4.0.0 9c0b3697084cdda149705789365f63e8293e0092
Comment 9 Xisco Faulí 2021-11-25 09:52:32 UTC
(In reply to Roman Kuznetsov from comment #6)
> Today I can't repor it in
> 
> Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
> Build ID: 7ec1ef958855ba7ebff4d3bc623f454015ec5a5c
> CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render:
> Skia/Raster; VCL: win
> Locale: ru-RU (ru_RU); UI: en-US
> Calc: CL

@Mike, do you still reproduce it on your side ?
Comment 10 Mike Kaganski 2021-11-25 10:02:01 UTC
(In reply to Xisco Faulí from comment #9)
> @Mike, do you still reproduce it on your side ?

Yes, still repro using Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: b7a46259eba35257291fe00851252c18ffb4fc90
CPU threads: 12; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: fr-FR (ru_RU); UI: en-US
Calc: CL
Comment 11 Telesto 2021-11-25 13:34:22 UTC
FWIW: also crashing for me
Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 214fa233338c09156c67f85818b6a2ea6b3235bd
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
Comment 12 Xisco Faulí 2021-11-25 16:39:44 UTC
This is hard to bisect, it crashes sporadically, so you have to try many times.
So far, I've been able to reproduce it back to https://cgit.freedesktop.org/libreoffice/core/commit/?id=c060ec59866ced50ded6c19a39119292548f844c
Comment 13 Julien Nabet 2021-11-25 17:43:19 UTC
I gave a new try on Win10 with master sources updated today to update the bt.
It doesn't crash/assert but clicking the cut-paste doesn't work. It seems typing Ctrl cancels the row selection (I put some values in cells to be sure).
Comment 14 Steven Casey 2023-11-06 05:30:52 UTC
Unreproducible for me on Windows in:

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 32; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded


Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2b84c860b591457da4c995435f9ca7ce5c7b3d23
CPU threads: 32; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 15 Mike Kaganski 2023-11-06 07:09:52 UTC
I can't repro now, too.