Bug 144322 - Libreoffice Calc crashes with illegal instruction on launch, invalid opcode logged in dmesg
Summary: Libreoffice Calc crashes with illegal instruction on launch, invalid opcode l...
Status: RESOLVED DUPLICATE of bug 147135
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-06 07:42 UTC by etna
Modified: 2022-03-01 09:19 UTC (History)
3 users (show)

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 etna 2021-09-06 07:42:54 UTC
I build Libreoffice from Git every week and the last known working build I have was on 21 Aug. 

The subsequent builds (28 Aug, 4 Sept) all have issues with Calc where the application will crash with an illegal instruction immediately on launch.

Launching Calc via soffice.bin --calc simply returns an Illegal Instruction output on the terminal, and dmesg will record a new entry like so:

traps: soffice.bin[14895] trap invalid opcode ip:7eff0a1b835d sp:7ffc00e4ce40 error:0 in libsclo.so[7eff0a1b7000+1474000]

Machine is on Debian 11 and a custom-built LLVM 13 + clang (git), which is used to compile Libreoffice.

Let me know if you need any extra information to determine the cause of the crash.

Thanks much.
Comment 1 Xisco Faulí 2021-09-29 15:45:39 UTC
Does it work after using 'make clean && make' ?
Comment 2 Camaleón 2022-02-25 14:56:21 UTC
System: Debian 9

Same issue here, but running the latest packed official released version:

Version: 7.3.0.3 / LibreOffice Community
Build ID: 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3
CPU threads: 4; OS: Linux 4.9; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.utf8); UI: es-ES
Calc: threaded


When lunching Calc it does not start and dmesg shows up:

[29505.853190] traps: soffice.bin[12001] trap invalid opcode ip:7fe1de5958de sp:7ffdea1494b0 error:0
[29505.853195]  in libsclo.so[7fe1de2be000+e06000]

The crash does not happen when running Writer/Math/Impress/Base, just Calc, which renders the application unusable.

Should I install the business/stable branch edition instead (7.2.5)?
Comment 3 Camaleón 2022-02-26 09:10:10 UTC
I see the same problem on a Debian testing (kernel 5.16), Calc cannot be started:

testing@netbook:~$ libreoffice7.3 --calc
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx

An nothing happens.

Dmesg message remains the same:

[ 4133.833072] traps: soffice.bin[3701] trap invalid opcode ip:7f16b25388de sp:7fff3b0aab80 error:0 in libsclo.so[7f16b2261000+e06000]
Comment 4 Camaleón 2022-03-01 09:03:00 UTC
Looks like a duplicate of #147135
Comment 5 Buovjaga 2022-03-01 09:19:14 UTC

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