Bug 133235 - LibreOffice 7.0.0-alpha1 crashes on startup when using OpenCL
Summary: LibreOffice 7.0.0-alpha1 crashes on startup when using OpenCL
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.0.0.0.beta1+
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-21 15:47 UTC by Bernhard Rosenkraenzer
Modified: 2020-06-13 22:13 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
gdb backtrace (15.19 MB, text/x-log)
2020-05-21 15:55 UTC, Bernhard Rosenkraenzer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Rosenkraenzer 2020-05-21 15:47:05 UTC
Description:
Trying to start LO 7.0.0-alpha1 with OpenCL enabled results in a crash on startup.

Steps to Reproduce:
1. Build LO 7.0.0-alpha1
2. Try to launch it on a box with OpenCL enabled (drivers and versions see below)


Actual Results:
Crash on startup, looks like an infinite recursion in clGetDeviceIDs

Expected Results:
Works


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Radeon 540 GPU using open drivers
Mesa 20.1.0-rc4
ocl-icd 2.2.12
libglvnd 1.3.1
kernel 5.7-rc5
clang 10.0
gcc 10.1

LO 6.4.4 works fine on the same box.
Comment 1 Bernhard Rosenkraenzer 2020-05-21 15:55:40 UTC
Created attachment 161087 [details]
gdb backtrace
Comment 2 b. 2020-05-26 12:01:52 UTC
[ot] i'd generally advise to avoid openCL, as well as threaded calculation!, both of which produce - rarely - errors because autocalculate does not work reliably, these errors go often unnoticed... :-( [/ot]
Comment 3 Bernhard Rosenkraenzer 2020-06-12 22:43:06 UTC
Confirmed to still happen in 7.0.0-beta1
Comment 4 Bernhard Rosenkraenzer 2020-06-13 22:13:47 UTC
Finally got around to debugging it, it's caused by a Mesa bug, LO triggers it, but the fix is elsewhere.