Bug 1432468 - LibreOffice crashes on startup
Summary: LibreOffice crashes on startup
Keywords:
Status: CLOSED DUPLICATE of bug 1489731
Alias: None
Product: Fedora
Classification: Fedora
Component: pocl
Version: 26
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Fabian Deutsch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1433666 1436011 1476716 1477670 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-15 12:55 UTC by Heiko Adams
Modified: 2017-10-11 08:50 UTC (History)
14 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-10-11 08:50:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Heiko Adams 2017-03-15 12:55:46 UTC
Description of problem:
After fresh installing Fedora 26 LibreOffice crashes on startup. Running from terminal shows the following:

$ libreoffice 
missing hardware logical context support
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
cl_get_gt_device(): error, unknown device: 46
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
cl_get_gt_device(): error, unknown device: 46
X server found. dri2 connection failed! 
cl_get_gt_device(): error, unknown device: 46
X server found. dri2 connection failed! 
cl_get_gt_device(): error, unknown device: 46
X server found. dri2 connection failed! 
cl_get_gt_device(): error, unknown device: 46
sh: /usr/bin/clang++: No such file or directory
soffice.bin: /builddir/build/BUILD/pocl-3fef5b58014c40e3e746a7ada281498582d8d569/lib/CL/devices/common.c:127: llvm_codegen: Assertion `error == 0' failed.

Version-Release number of selected component (if applicable):
$ rpm -q libreoffice
libreoffice-5.3.1.1-1.fc26.x86_64

How reproducible:
allways

Steps to Reproduce:
1. Start LibreOffice
2.
3.

Actual results:
Libreoffice doesn't start

Expected results:


Additional info:
A temporary workaround is starting LO with parameter --safe-mode

Comment 1 Caolan McNamara 2017-03-15 14:54:37 UTC
opencl failure of some kind, don't know if its pocl, or more likely something further down the stack

Comment 2 M. Edward (Ed) Borasky 2017-03-19 08:28:52 UTC
I ran into this as well ... just installing 'pocl' doesn't bring in everything needed to run. You need to install both pocl and pocl-devel to get all the dependencies. Then libreoffice-calc should work.

Comment 3 M. Edward (Ed) Borasky 2017-03-19 08:30:22 UTC
*** Bug 1433666 has been marked as a duplicate of this bug. ***

Comment 4 Caolan McNamara 2017-03-27 08:19:13 UTC
*** Bug 1436011 has been marked as a duplicate of this bug. ***

Comment 5 Caolan McNamara 2017-07-31 19:59:27 UTC
*** Bug 1476716 has been marked as a duplicate of this bug. ***

Comment 6 Tadeu Longo 2017-08-02 21:49:51 UTC
I confirm that LibreOffice5.3 runs on Fedora 26 after installation of both pocl and pocl-devel.

Comment 7 Tadeu Longo 2017-08-02 21:51:44 UTC
In time: this happens only on the KDE flavor. For the Gnome installation LibreOffice comes pre-installed.

Comment 8 David Tardon 2017-08-03 08:21:20 UTC
*** Bug 1477670 has been marked as a duplicate of this bug. ***

Comment 9 antonio montagnani 2017-08-09 11:10:33 UTC
in my case both pocl and pocl are installed but Libreoffice crashes. Running on Gnome

Comment 10 Kevin Suo 2017-09-07 06:12:38 UTC
I encounter this issue too and have filed a bug report in TDF bugzilla:
https://bugs.documentfoundation.org/show_bug.cgi?id=112252

$ libreoffice5.4 --writer
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
sh: /usr/bin/clang++: No such file or directory
soffice.bin: /builddir/build/BUILD/pocl-0.14/lib/CL/devices/common.c:127: llvm_codegen: Assertion `error == 0' failed.

$ uname -a
Linux x230i-kevin-gslaw 4.12.9-300.fc26.x86_64 #1 SMP Fri Aug 25 13:09:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/fedora-release 
Fedora release 26 (Twenty Six)

LibreOffice_5.4.1.1_Linux_x86-64_rpm.tar.gz was downloaded from LibreOffice offical website.

Bug is also reproducible with version 5.4.1.2 release.

The "built-in" libreoffice shipped with Fedora 26 works OK.

Comment 11 Kevin Suo 2017-10-11 01:15:21 UTC
As suggested in bug 1489731, installing clang solves the problem.
This should be marked as a duplicate of bug 1489731.

Comment 12 Caolan McNamara 2017-10-11 08:50:53 UTC
Its super frustrating because this is all fedora-side that blows up

*** This bug has been marked as a duplicate of bug 1489731 ***


Note You need to log in before you can comment on or make changes to this bug.