Steps to Reproduce: 1. Generate the following data in a new Calc document: a b 1 2 3 4 2. Highlight "3" to yellow. 3. Set autofilter, dropdown in "a", go to "Backgroud Color", and select the yellow color. Now the filter flow window is closed and one record is shown. 4. Dropdown in "a", in Background Color deselect the yellow color. -> Crash. Version: 7.2.0.0.alpha1+ / LibreOffice Community Build ID: 4a9eef7849a75ba91806886ea9c96d114c8d56f9 CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3 Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN Calc: threaded Fedora 33 X64.
At the time of crash the terminal outputs: malloc(): unaligned fastbin chunk detected
I should mention that, with the same autogen.input configuration, this bug appears in a non-debug build, but does NOT appear in an "--enable-debug" build.
By the way, I am using a self-build in Fedora 33.
Created attachment 172407 [details] Example file per instructions I can't reproduce a crash in a fresh nightly: Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community Build ID: 187136265d26c014e842550c2f1fc5997736e4fa CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL
We do see several bugs which do exists on self-build on Fedora but do not reproduce on other builds. Also as I mentioned, this one is only reproducible with a non-debug self-build on Fedora 33. Caolan if you have time could you please take a look to see if you can reproduce.
This is the new color dropdown list right ?, i.e. the same menu as in bug #142393 ? Under wayland I can't even launch the menu. I have it on my todo to rework that menu/dropdown to work for me.
*** This bug has been marked as a duplicate of bug 142393 ***
This is not a duplicate of bug 142393. The crash still exists with the fix to bug 142393. Tested on lasted 7.2 branch with commit 3d311c6d63eafbe2f76d6f1768dc3f675970a55 Mon Jun 14 12:09:01 2021 +0200. I also updated the title to mention that the crash only occurs in a non-debug build, but not in a dbgutil build.
Created attachment 172938 [details] gdbtrace.log without debug symbol
Yep, reproduced in Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: c6695a4aabeaae99174b7658f2b813788ecff7f0 CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: x11 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
in my case, it hangs, and it also happens with a debug build
Created attachment 173726 [details] gdb backtrace
BTW, this is a regression, unfortunately the bisect repository points to a3a203b7c697a38d4f79877d6b5c1423fa52f2d8 which doesn't seem to be related
Not reproducible in Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: ceb32f59d96a17c3007ed883fb44bc880673c8e0 CPU threads: 16; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: ja-JP (en_GB); UI: en-US Calc: threaded
Created attachment 173733 [details] another gdbtrace.log Here is another gdbtrace.log generated in a debug symbol only build.
(In reply to Xisco Faulí from comment #14) > Not reproducible in > Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community > Build ID: ceb32f59d96a17c3007ed883fb44bc880673c8e0 > CPU threads: 16; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Meaning this is Linux only bug. Xisco, you marked regression, why? I don't see how this ever worked, previously there was a crash on first autofilter select the yellow color. Looks like implementationError.
(In reply to Timur from comment #16) > (In reply to Xisco Faulí from comment #14) > > Not reproducible in > > Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community > > Build ID: ceb32f59d96a17c3007ed883fb44bc880673c8e0 > > CPU threads: 16; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win > > Meaning this is Linux only bug. > > Xisco, you marked regression, why? I don't see how this ever worked, > previously there was a crash on first autofilter select the yellow color. > Looks like implementationError. See comment 13. In some builds in the bisect repository, it doesn't crash/hang
*** Bug 144320 has been marked as a duplicate of this bug. ***
*** Bug 144872 has been marked as a duplicate of this bug. ***
*** Bug 145246 has been marked as a duplicate of this bug. ***
Behaviour has changed on current master - now if I click on the filter-by-color auto filter item I have the following warning in terminal, and the color popup flow dialog does not show up: (soffice:240036): Gdk-WARNING **: 16:06:37.421: Tried to map a popup with a non-top most parent
*** Bug 145329 has been marked as a duplicate of this bug. ***
I see that my wayland problems are because the menu is executed as a sibling of the autofilter dropdown and not as a child
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/2b3cc82b88d0c6508e9c0c6ccc53e0f9bfb4069e tdf#142420 color menu should be a child of the autofilter, not a sibling It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
works for me in trunk now, backport to 7-2 in gerrit
Verified fixed on master.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-7-2": https://git.libreoffice.org/core/commit/f0e816412c386de976228b2232c23c31fd7f2d2c tdf#142420 color menu should be a child of the autofilter, not a sibling It will be available in 7.2.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-7-2-3": https://git.libreoffice.org/core/commit/6bd1cb73480d2b20926f964b8db8c31a522c5ec3 tdf#142420 color menu should be a child of the autofilter, not a sibling It will be available in 7.2.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.