Bug 152995 - After running LibreOffice it complains about Java then it yields an C++ error
Summary: After running LibreOffice it complains about Java then it yields an C++ error
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.4.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-12 17:07 UTC by funtoomen
Modified: 2023-01-14 16:14 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description funtoomen 2023-01-12 17:07:24 UTC
Description:
LibreOffice (fresh and still) doesn't want to work on Arch Linux (CachyOS and KDE), after I run it from terminal to debug what's wrong, I get this output:

javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
/usr/include/c++/12.2.0/bits/unique_ptr.h:445: typename std::add_lvalue_reference<_Tp>::type std::unique_ptr<_Tp, _Dp>::operator*() const [with _Tp = llvm::SmallPtrSet<llvm::Argument*, 2>; _Dp = std::default_delete<llvm::SmallPtrSet<llvm::Argument*, 2> >; typename std::add_lvalue_reference<_Tp>::type = llvm::SmallPtrSet<llvm::Argument*, 2>&]: Assertion 'get() != pointer()' failed.
Unspecified Application Error

It might be a packaging or dependency error.

Steps to Reproduce:
Run these commands on you Arch Linux system:
1. pacman -S libreoffice-fresh or pacman -S libreoffice-still
2. libreoffice

Actual Results:
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
/usr/include/c++/12.2.0/bits/unique_ptr.h:445: typename std::add_lvalue_reference<_Tp>::type std::unique_ptr<_Tp, _Dp>::operator*() const [with _Tp = llvm::SmallPtrSet<llvm::Argument*, 2>; _Dp = std::default_delete<llvm::SmallPtrSet<llvm::Argument*, 2> >; typename std::add_lvalue_reference<_Tp>::type = llvm::SmallPtrSet<llvm::Argument*, 2>&]: Assertion 'get() != pointer()' failed.
Unspecified Application Error

Expected Results:
LibreOffice GUI should open.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
CachyOS isn't just pure Arch Linux with desktop environment, it changes a couple of things but from what I understand these things MUSTN'T affect how LibreOffice works.
Comment 1 funtoomen 2023-01-14 16:14:52 UTC
Works perfectly fine on Artix Linux (basically Arch Linux), so it seems like it's not a LibreOffice bug but rather a CachyOS bug.