Bug 133165 - Calc crashes when I try move item from Row fields area to another area in Pivot table layout dialog
Summary: Calc crashes when I try move item from Row fields area to another area in Piv...
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Pivot-Table
  Show dependency treegraph
 
Reported: 2020-05-19 11:13 UTC by Roman Kuznetsov
Modified: 2020-06-01 09:04 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Example with pivot table (33.57 KB, application/vnd.oasis.opendocument.spreadsheet)
2020-05-19 11:14 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kuznetsov 2020-05-19 11:13:57 UTC
Description:
Calc crashes when I try move item from Row fields area to another area in Pivot table layout dialog

crashreport.libreoffice.org/stats/crash_details/c3b538e4-5c1d-449c-b02c-63308163aea0

Steps to Reproduce:
1. Open file from attach
2. Open Pivot table layout dialog
3. Try move item Цена to another area => LO crashes

Actual Results:
LO crashes

Expected Results:
LO works fine


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha1+ (x64)
Build ID: 4804d969bacd25ad586b3bf70d3dc8c27adb48ef
Потоков ЦП: 4; ОС: Windows 10.0 Build 18362; Отрисовка ИП: Skia/растр; VCL: win; 
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded

don't repro it in 6.3 => regression
Comment 1 Roman Kuznetsov 2020-05-19 11:14:30 UTC
Created attachment 161001 [details]
Example with pivot table
Comment 2 Roman Kuznetsov 2020-05-19 11:21:27 UTC
>User Profile Reset: No

Yes
Comment 3 m_a_riosv 2020-05-19 13:05:30 UTC
No issue here
Version: 7.0.0.0.alpha1+ (x64)
Build ID: 4804d969bacd25ad586b3bf70d3dc8c27adb48ef
CPU threads: 4; OS: Windows 10.0 Build 19608; UI render: Skia/Raster; VCL: win; 
Locale: es-ES (es_ES); UI: en-US Calc: CL

Could be fine retest with a clean profile.
Comment 4 Xisco Faulí 2020-05-20 13:33:24 UTC
I can't reproduce it in

Version: 7.0.0.0.alpha1+
Build ID: 8209c2569f5726f9ed29f75d30efdccb94f98fe5
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: x11; 
Locale: en-US (en_US.UTF-8); UI: en-US
Calc:
Comment 5 Xisco Faulí 2020-05-20 13:35:22 UTC
Not in

Version: 7.0.0.0.alpha1+ (x64)
Build ID: ec8dc357e68e20fa00a7d37f8c3195f571fb1fa6
Processos do CPU: 1; SO: Windows 6.1 Service Pack 1 Build 7601; Gestão da interface: Skia/Raster; VCL: win; 
Locale: es-ES (es_ES); UI: pt-PT
Calc: threaded
Comment 6 Xisco Faulí 2020-05-22 10:47:11 UTC
@Roman, do you reproduce it with english locale ?
Comment 7 b. 2020-05-26 10:34:45 UTC
repro with 7.0, 

open document, right click in table area on last sheet, properties, drag Цена to data fields: adds "sum - Цена", drag to available fields: crash, drag to column fields: crash

locale: german

did send two crash reports 5 and 10 minutes ago, but didn't get a number or handle to attach to this report ... 

Version: 7.0.0.0.alpha1+ (x64)
Build ID: b587de60d4e6aa96238766272d94f1499b22f696
CPU threads: 8; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI: en-ZA
Calc:
Comment 8 Xisco Faulí 2020-05-29 08:22:22 UTC
(In reply to b. from comment #7)
> repro with 7.0, 
> 
> open document, right click in table area on last sheet, properties, drag
> Цена to data fields: adds "sum - Цена", drag to available fields: crash,
> drag to column fields: crash
> 
> locale: german
> 
> did send two crash reports 5 and 10 minutes ago, but didn't get a number or
> handle to attach to this report ... 
> 
> Version: 7.0.0.0.alpha1+ (x64)
> Build ID: b587de60d4e6aa96238766272d94f1499b22f696
> CPU threads: 8; OS: Windows 6.1 Service Pack 1 Build 7601; UI render:
> default; VCL: win; 
> Locale: de-DE (de_DE); UI: en-ZA
> Calc:

I can't reproduce it in

Version: 7.0.0.0.alpha1+
Build ID: 82894d85147840f1f587e9530b12f0058f2ef2c3
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 9 Xisco Faulí 2020-05-29 08:26:34 UTC
Ok I found the way it crashes for me on linux and on win:
1. Open attached document
2. Pivot Table's properties
3. Drag Sum - Сумма to Available Fields

-> Crash
Comment 10 Xisco Faulí 2020-05-29 08:36:05 UTC
Regression introduced by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=43be88ed49122a966cd0108e5679cada88751117

author	Caolán McNamara <caolanm@redhat.com>	2020-03-20 20:47:19 +0000
committer	Caolán McNamara <caolanm@redhat.com>	2020-03-21 11:20:39 +0100
commit 43be88ed49122a966cd0108e5679cada88751117 (patch)
tree 68685085d0b6d7e0f284f79e48f65de6e1d8e398
parent ad38105f45b517e09bf65a76e66517ece41fb62e (diff)
ensure droptarget is highlighted

Bisected with: bibisect-linux64-6.5

Adding Cc: to Caolán McNamara
Comment 11 Caolán McNamara 2020-05-29 12:36:21 UTC
Its likely this is fixed since...

commit c0851e6306ed1117130d8667e22cfae8d0ee7e53
Author: Caolán McNamara <caolanm@redhat.com>
Date:   Wed May 27 12:55:25 2020 +0100

    Resolves: tdf#133385 dangling pTargetEntry after remove or clear

?
Comment 12 Roman Kuznetsov 2020-05-29 20:49:50 UTC
no crash in

Version: 7.1.0.0.alpha0+ (x64)
Build ID: 651844c9b122fd8463ad1dde4f9a0200efc345a3
Потоков ЦП: 4; ОС: Windows 10.0 Build 18363; Отрисовка ИП: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); ИП: ru-RU
Calc: threaded

so let's close it as resolved
Comment 13 Xisco Faulí 2020-06-01 09:04:27 UTC
(In reply to Caolán McNamara from comment #11)
> Its likely this is fixed since...
> 
> commit c0851e6306ed1117130d8667e22cfae8d0ee7e53
> Author: Caolán McNamara <caolanm@redhat.com>
> Date:   Wed May 27 12:55:25 2020 +0100
> 
>     Resolves: tdf#133385 dangling pTargetEntry after remove or clear
> 
> ?

Yes, I do confirm the issue was fixed by the mentioned commit

Verified in

Version: 7.0.0.0.beta1+
Build ID: 2506d8221dd940dfd93d3d7c183430ba6ba3089d
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded