Bug 150452 - Crash in: libc.so.6
Summary: Crash in: libc.so.6
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.5.2 release
Hardware: All All
: high major
Assignee: Not Assigned
URL:
Whiteboard: target:7.5.0 target:7.3.6 target:7.4.1
Keywords: bibisected, bisected, regression
: 150535 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-08-16 20:08 UTC by wcruppel
Modified: 2022-09-07 18:53 UTC (History)
5 users (show)

See Also:
Crash report or crash signature: ["libc.so.6"]


Attachments
The CSV file I was attempting to open. (131.93 KB, application/x-zip-compressed)
2022-08-16 20:08 UTC, wcruppel
Details
backtrace (10.23 KB, text/x-log)
2022-08-17 00:29 UTC, Eike Rathke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wcruppel 2022-08-16 20:08:56 UTC
Created attachment 181818 [details]
The CSV file I was attempting to open.

This bug was filed from the crash reporting server and is br-3581264b-abff-42ea-a273-0c7cb795ac2a.
=========================================

Was trying to open the attached CSV file, largish at 100,001 rows.
Comment 1 wcruppel 2022-08-16 20:10:36 UTC
Also crashes on Windows x64.
Comment 2 Eike Rathke 2022-08-17 00:29:18 UTC
Created attachment 181820 [details]
backtrace

That's apparently in the bundled libcuckoo.
Fwiw, I can reproduce in a 7.5 debug build, additional console message shown:

terminate called after throwing an instance of 'libcuckoo::load_factor_too_low'
  what():  Automatic expansion triggered when load factor was below minimum threshold

Attaching backtrace.
Comment 3 Xisco Faulí 2022-08-17 10:33:19 UTC
Regression introduced by:

author	Noel Grandin <noel@peralex.com>	2021-09-06 12:46:51 +0200
committer	Noel Grandin <noel.grandin@collabora.co.uk>	2021-09-09 09:06:45 +0200
commit 3749d9af3745c0eaff7239e379578e4e2af89e9d (patch)
tree b769195ba13d277ce1d9d6f2a97ecfe95a6f13b9
parent 4bf266233daa7d9ed030a20fa4f487f9f5a82379 (diff)
tdf#130795 use concurrent hashmap in SharedStringPool

Bisected with: bibisect-linux64-7.3

Adding Cc: to Noel Grandin
Comment 4 Xisco Faulí 2022-08-17 10:34:52 UTC
also reproduced on windows
Comment 5 Xisco Faulí 2022-08-17 10:41:23 UTC
Hi Noel,
I was wondering, after reading https://bugs.documentfoundation.org/show_bug.cgi?id=130795#c31, if we should just revert 3749d9af3745c0eaff7239e379578e4e2af89e9d and remove the cuckoo dependency
Comment 6 Xisco Faulí 2022-08-17 11:09:26 UTC
(In reply to Xisco Faulí from comment #5)
> Hi Noel,
> I was wondering, after reading
> https://bugs.documentfoundation.org/show_bug.cgi?id=130795#c31, if we should
> just revert 3749d9af3745c0eaff7239e379578e4e2af89e9d and remove the cuckoo
> dependency

I created a patch in gerrit in case we want to revert it: https://gerrit.libreoffice.org/c/core/+/138435
Comment 7 Commit Notification 2022-08-17 15:00:20 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/938c899831bd5b165b2b7db3945867a1ce155483

tdf#150452: Revert "tdf#130795 use concurrent hashmap in SharedStringPool"

It will be available in 7.5.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.
Comment 8 Commit Notification 2022-08-17 20:06:16 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/8475b367298de73aec6abc60a159cc015baf9734

tdf#150452: sc_subsequent_filters: Add unittest

It will be available in 7.5.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.
Comment 9 Commit Notification 2022-08-18 08:11:20 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":

https://git.libreoffice.org/core/commit/dbfa68a56f087f06ac325a442c6cb0e99f3ecd53

tdf#150452: Revert "tdf#130795 use concurrent hashmap in SharedStringPool"

It will be available in 7.3.6.

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.
Comment 10 Commit Notification 2022-08-18 08:11:44 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "libreoffice-7-4":

https://git.libreoffice.org/core/commit/3d415a3d1ccd89d29a58a52a1d569f6ccff28416

tdf#150452: Revert "tdf#130795 use concurrent hashmap in SharedStringPool"

It will be available in 7.4.1.

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.
Comment 11 Julien Nabet 2022-08-21 18:31:54 UTC
*** Bug 150535 has been marked as a duplicate of this bug. ***