Bug 155528 - crash with SIGSEGV in SalInstance::GetYieldMutex() on exit after inserting image (GTK3)
Summary: crash with SIGSEGV in SalInstance::GetYieldMutex() on exit after inserting im...
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha1+
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.6.0
Keywords: haveBacktrace
Depends on:
Blocks: GTK3 Crash Exit
  Show dependency treegraph
 
Reported: 2023-05-27 22:10 UTC by Stéphane Guillou (stragu)
Modified: 2023-05-30 19:36 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Backtrace unpacked from Apport crash file (2.79 KB, text/plain)
2023-05-27 22:10 UTC, Stéphane Guillou (stragu)
Details
gdbtrace with symbols (90.47 KB, text/x-log)
2023-05-28 22:29 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Guillou (stragu) 2023-05-27 22:10:04 UTC
Created attachment 187551 [details]
Backtrace unpacked from Apport crash file

Steps to reproduce:
1. Open Calc
2. Insert an image
3. Close Calc without saving
4. Open Calc

Result: Crash reporter shows.

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 2b3b4026a5c6a1b92c0b29b94dd62a4c3c7b9fad
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 1 Roman Kuznetsov 2023-05-28 18:07:52 UTC
No repro in Windows

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 2b3b4026a5c6a1b92c0b29b94dd62a4c3c7b9fad
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL threaded
Comment 2 BogdanB 2023-05-28 18:10:24 UTC
Don't repro in
Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 3070091c9eafc964ebb3f53d3b44124b40571fd8
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

I reset to factory settings.
Comment 3 Stéphane Guillou (stragu) 2023-05-28 22:29:09 UTC
Created attachment 187566 [details]
gdbtrace with symbols

gdbtrace with symbols on Ubuntu 20.04 with GNOME 3.36.8 with a recent debug build:

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 7e3ddf1e5aae5e4e956495e3d86a8cbf6e251b5e
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 4 Xisco Faulí 2023-05-29 07:49:39 UTC
I can't reproduce it with

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 578758835e700b38b167753ccda9527f3a8cc43b
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 5 Xisco Faulí 2023-05-29 07:51:13 UTC
I can't reproduce it with a debug build either
Comment 6 Xisco Faulí 2023-05-29 07:51:45 UTC
@Stéphane, do you reproduce it with GEN environment ?
Comment 7 Commit Notification 2023-05-29 10:54:12 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":

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

tdf#155515 tdf#155528 crash on exit

It will be available in 7.6.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 Stéphane Guillou (stragu) 2023-05-30 08:50:27 UTC
(In reply to Xisco Faulí from comment #6)
> @Stéphane, do you reproduce it with GEN environment ?

No crash with kf5 nor gen.
Will test Noel's patch.
Comment 9 Stéphane Guillou (stragu) 2023-05-30 19:36:19 UTC
Fix verified in:

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: fc4f7db59152f606b6aa88cf32197700959d0f8b
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Thanks Noel et al.!