Bug 152995

Summary: After running LibreOffice it complains about Java then it yields an C++ error
Product: LibreOffice Reporter: funtoomen
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTOURBUG    
Severity: normal    
Priority: medium    
Version: 7.4.3.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:

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.