Bug 146029 - Calc crashes if I try to open (openSUSE Leap 15.3, non-debug builds)
Summary: Calc crashes if I try to open (openSUSE Leap 15.3, non-debug builds)
Status: RESOLVED DUPLICATE of bug 144164
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.0.0.alpha1+
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-03 12:11 UTC by Peter
Modified: 2022-01-24 15:04 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
LibreOffice-Calc_Bug (717.20 KB, image/png)
2021-12-03 12:23 UTC, Peter
Details
GDBTrace of LibreOfficeDev_7.4.0.0.alpha0_Linux_x86-64_archive (10.34 KB, text/plain)
2021-12-18 11:22 UTC, Peter
Details
#2: GDBTrace of LibreOfficeDev_7.4.0.0.alpha0_Linux_x86-64_archive (243.93 KB, text/plain)
2021-12-18 16:18 UTC, Peter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2021-12-03 12:11:17 UTC
Description:
Operating System: openSUSE Leap 15.3
KDE Plasma Version: 5.18.6
KDE Frameworks Version: 5.76.0
Qt Version: 5.12.7
Kernel Version: 5.3.18-59.34-default
OS Type: 64-bit
Processors: 2 × Intel® Celeron® CPU N2830 @ 2.16GHz
Memory: 1,8 GiB

Bug description:

LibreOffice 7.4 (daily) is breaking if I try to call CALC (over menu, or direct)

     LibreOfficeDev_7.4.0.0.alpha0_Linux_x86-64_rpm.tar.gz

The same is in LibreOffice 7.3 (beta -not daily-)


I found an old Verion on my other Computer ( master~2021-10-14_11.54.20_LibreOfficeDev_7.3.0.0.alpha0_Linux_x86-64_rpm.tar.gz ) and it works fine.

     CALC (2021-10-14_11.54.20) shows the frame and after a moment it will show me all (menu, table,...).


All Modules (writer, etc.) working fine, til of CALC (7.3 beta and higher). 

Steps to Reproduce:
1.Start Calc from KDE Icon
2.Start LibreOffice Menu and try Calc new Document
3.

Actual Results:
1.Start Calc from KDE Icon
2.Start LibreOffice Menu and try Calc new Document

Expected Results:
LibreOffice Banner is shown and then it breaks with an error:
Ausführbare Datei: soffice PID: 5847 Signal: Illegal instruction (4) Datum: 03.12.21 13:06:26


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
glxinfo | grep OpenGL
No protocol specified
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics (BYT)
OpenGL core profile version string: 4.2 (Core Profile) Mesa 20.2.4
OpenGL core profile shading language version string: 4.20
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 20.2.4
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 20.2.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
Comment 1 Peter 2021-12-03 12:23:20 UTC
Created attachment 176674 [details]
LibreOffice-Calc_Bug

It's only Calc that crashes. Hope you can fix it.
Comment 2 Julien Nabet 2021-12-03 22:34:31 UTC
rpm/deb packages are more for distrib maintainers. Indeed, you must deal with dependencies.

2 things you can try:
1) Follow https://wiki.documentfoundation.org/QA/FirstSteps

2)
- open a term/console
- export SAL_USE_VCLPLUGIN=gen
- launch Calc and try to reproduce the pb

If you don't reproduce this, it's related to KDE.
Comment 3 Peter 2021-12-04 16:48:07 UTC
Hi Julien,
I tried these 2 Steps you gave, but the Bug is still the same.

Steps I've done:

Deinstalled LO and erased all Traces of LO
Format root, swap, UEFI partitions
Installed OpenSuse 15.3 new
Installed LO 7.4 after Test (Calc failed) installed LO 7.4 some Subversions (Calc failed)
Installed master~2021-10-14_11.54.20_LibreOfficeDev_7.3.0.0.alpha0_Linux_x86-64_rpm.tar.gz (Calc works)

LibreOffice 7.3 / 7.4

Start LibreOffice = ok
Start LO Calc     = crashed
Start LO Base     = ok
Start LO Draw     = ok
Start LO Impress  = ok
Start LO Math     = ok
Start LO Writer   = ok
-------------------------------------------------

master~2021-10-14_11.54.20_LibreOfficeDev_7.3.0.0.alpha0_Linux_x86-64_rpm.tar.gz

Start LibreOffice = ok
Start LO Calc     = ok
Start LO Base     = ok
Start LO Draw     = ok
Start LO Impress  = ok
Start LO Math     = ok
Start LO Writer   = ok
--------------------------------------------------

Thanks for your help
Comment 4 Julien Nabet 2021-12-04 16:52:18 UTC
(In reply to Peter from comment #3)
> Hi Julien,
> I tried these 2 Steps you gave, but the Bug is still the same.
> 
> ...

What about the 2)
- open a term/console
- export SAL_USE_VCLPLUGIN=gen
- launch Calc and try to reproduce the pb
?
Comment 5 Peter 2021-12-04 17:38:00 UTC
I've done it and calc crashes again.
I believe it's only a bug in Calc. Where is the logic? When all parts of LO working fine, only CALC crashes at start. I started CALC from LO Menu, i started CALC direct and it crashes and crashes again. read my comments. Why CALC don't crashes on master~2021-10-14_11.54.20_LibreOfficeDev_7.3.0.0.alpha0_Linux_x86-64?
If KDE is the problem, so LO must complet or in more then one part crashing.

I've testetd it all on two different computers, and it's everytime the same.
Is there anywhere the source of calc in several versions, so i can try to find the bug.

thx
Comment 6 Julien Nabet 2021-12-04 18:03:39 UTC
Thank you for your feedback.

You can try https://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@tb87-TDF-dbg/current/ to have a backtrace with more info.
Comment 7 Peter 2021-12-04 21:13:48 UTC
There are no rpms to install. I downloaded the packages and uncompressed. If I call SCALC in terminal (from the archive directory) CALC starts without bugs.
I think it's better someone of the programmers try to reproduce the bug with the rpms under OpenSuse 15.3.

thx for your help
Comment 8 Julien Nabet 2021-12-04 21:20:13 UTC
Thank you for your feedback.
Let's put back this one to UNCONFIRMED since I don't have more questions.
+ uncc myself
Comment 9 Kevin Suo 2021-12-17 16:05:11 UTC
Peter: It is easy to get a backtrace.

1. Download the https://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@tb87-TDF-dbg/current/LibreOfficeDev_7.4.0.0.alpha0_Linux_x86-64_archive.tar.gz

2. Uncompress the download file. Then:
(1) cd <path/to/the/LibreOfficeDev_7.4.0.0.alpha0_Linux_x86-64_archive/
(2) ./program/soffice --backtrace
Now the program is running, start center is open.

3. Then, reproduce your crash.
After the crash, libreoffice will terminate and exit, and you will find a file named "gdbtrace.log" in your LibreOfficeDev_7.4.0.0.alpha0_Linux_x86-64_archive folder.

Attach that gdbtrace.log to this bug report. This way the devs may be easy to find the cause of the problem and fix this quickly. Otherwise, in case other people can not reproduce this issue then it may be difficult to be fixed.

In case you are not able to reproduce the crash using this daily debug build, then the issue may have been fixed somewhere on master branch. You may verify this with a normal (non-debug) build at:
https://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@tb87-TDF/

Or a daily build of the 7.3 branch at:
https://dev-builds.libreoffice.org/daily/libreoffice-7-3/Linux-rpm_deb-x86_64@tb87-TDF/
Comment 10 Peter 2021-12-18 11:19:07 UTC
Hi Kevin,

thanks for your help. I followed your steps two times. First try only the LO logo was shown, so i erased the package, download it again and follow your steps. I add the "gdbtrace.log" here.
Comment 11 Peter 2021-12-18 11:22:15 UTC
Created attachment 176997 [details]
GDBTrace of LibreOfficeDev_7.4.0.0.alpha0_Linux_x86-64_archive

LibreOfficeDev_7.4.0.0.alpha0_Linux_x86-64_archive downloaded at 18.12.2021.
Comment 12 Kevin Suo 2021-12-18 12:23:47 UTC
(In reply to Peter from comment #11)
It seems that you have download the non-debug build, not the debug build. I found the indication of "/opt/libreofficedev7.4/program" in your gdbtrace.log - that must be the non-debug RPM version you have installed, not the debug version you have download. Debug builds have debug symbols included, thus is useful to identify the problem. Non-debug builds are less useful.

You should use https://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@tb87-TDF-dbg/current/LibreOfficeDev_7.4.0.0.alpha0_Linux_x86-64_archive.tar.gz
where the "dbg" indicates that it is a debug build with debug symbols.


As I have stated:

2. Uncompress the download file. Then:

(1) cd <path/to/the/LibreOfficeDev_7.4.0.0.alpha0_Linux_x86-64_archive/

(2) ./program/soffice --backtrace

Note the "./", this means that after you have cd to the downloaded archive location, then run the soffice located in the sub-directory of the current location, not the executable of libreoffice installed in your system.

Now the program is running, start center is open. If at step (2) the libreoffice window did not show up, then type in "q" in the "gdb" promote, and run "./program/soffice --backtrace" again.
Comment 13 Peter 2021-12-18 16:17:13 UTC
Hi Kevin,
excuse me, my mistake.
Now i have deinstalled all versions of LO and erased all parts/directories of LO.
Downloaded the debuversion again and started from a terminal/console. after some moments i saw only gdb and no LO logo. so i typed in q and start again. it needs a while befor the menu was shown. i choose CALC, needs a moment bevor it was shown. it works!
so i installed the nondebug RPMS LO, DE-help and DE-lang, started LO and choose in the menu CALC. it crashes again.

Debug is working
NonDebug(CALC) is not working

i attached gdbtrace as #2
hope that helps

thx for your time to help
Comment 14 Peter 2021-12-18 16:18:47 UTC
Created attachment 177006 [details]
#2: GDBTrace of LibreOfficeDev_7.4.0.0.alpha0_Linux_x86-64_archive
Comment 15 Peter 2021-12-29 10:07:22 UTC
More Infos

LibreOffice_7.2.5.1_Linux_x86-64_rpm is working, no crashes

LibreOfficeDev_7.3.0.1.0_Linux_x86-64_rpm CALC is not working, crashes

Report:
Application: soffice (soffice), signal: Illegal instruction
[KCrash Handler]
#4  0x00007f15044c7d5e in  () at /opt/libreofficedev7.3/program/../program/libsclo.so
#5  0x00007f15044cae96 in  () at /opt/libreofficedev7.3/program/../program/libsclo.so
#6  0x00007f1545eb0c5a in call_init.part () at /lib64/ld-linux-x86-64.so.2
#7  0x00007f1545eb0d66 in _dl_init () at /lib64/ld-linux-x86-64.so.2
#8  0x00007f154122fade in _dl_catch_exception () at /lib64/libc.so.6
#9  0x00007f1545eb5204 in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#10 0x00007f154122fb4d in _dl_catch_exception () at /lib64/libc.so.6
#11 0x00007f1545eb45fb in _dl_open () at /lib64/ld-linux-x86-64.so.2
#12 0x00007f153f31d176 in dlopen_doit () at /lib64/libdl.so.2
#13 0x00007f154122fb4d in _dl_catch_exception () at /lib64/libc.so.6
#14 0x00007f154122fbcf in _dl_catch_error () at /lib64/libc.so.6
#15 0x00007f153f31d8a5 in _dlerror_run () at /lib64/libdl.so.2
#16 0x00007f153f31d231 in dlopen@@GLIBC_2.2.5 () at /lib64/libdl.so.2
#17 0x00007f15414f8c79 in osl_loadModuleAscii () at /opt/libreofficedev7.3/program/libuno_sal.so.3
#18 0x00007f15414fa6cb in osl_loadModule () at /opt/libreofficedev7.3/program/libuno_sal.so.3
#19 0x00007f153b4770d7 in  () at /opt/libreofficedev7.3/program/libuno_cppuhelpergcc3.so.3
#20 0x00007f153b48356a in  () at /opt/libreofficedev7.3/program/libuno_cppuhelpergcc3.so.3
#21 0x00007f153b475f32 in  () at /opt/libreofficedev7.3/program/libuno_cppuhelpergcc3.so.3
#22 0x00007f153b4829e0 in  () at /opt/libreofficedev7.3/program/libuno_cppuhelpergcc3.so.3
#23 0x00007f154335e6ef in  () at /opt/libreofficedev7.3/program/libmergedlo.so
#24 0x00007f1542d0ffea in  () at /opt/libreofficedev7.3/program/libmergedlo.so
#25 0x00007f1542d11ffc in  () at /opt/libreofficedev7.3/program/libmergedlo.so
#26 0x00007f1542d12918 in  () at /opt/libreofficedev7.3/program/libmergedlo.so
#27 0x00007f15425f82d2 in comphelper::SynchronousDispatch::dispatch(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&, rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) () at /opt/libreofficedev7.3/program/libmergedlo.so
#28 0x00007f1543329bbf in  () at /opt/libreofficedev7.3/program/libmergedlo.so
#29 0x00007f154332dcb7 in  () at /opt/libreofficedev7.3/program/libmergedlo.so
#30 0x00007f15433328c0 in  () at /opt/libreofficedev7.3/program/libmergedlo.so
#31 0x00007f1543333e03 in  () at /opt/libreofficedev7.3/program/libmergedlo.so
#32 0x00007f154464a6af in  () at /opt/libreofficedev7.3/program/libmergedlo.so
#33 0x00007f15440268a6 in SalUserEventList::DispatchUserEvents(bool) () at /opt/libreofficedev7.3/program/libmergedlo.so
#34 0x00007f152bff8fc3 in QtInstance::ImplYield(bool, bool) () at /opt/libreofficedev7.3/program/libvclplug_qt5lo.so
#35 0x00007f152bff913e in QtInstance::DoYield(bool, bool) () at /opt/libreofficedev7.3/program/libvclplug_qt5lo.so
#36 0x00007f154401d8bf in  () at /opt/libreofficedev7.3/program/libmergedlo.so
#37 0x00007f15440a7835 in Application::Execute() () at /opt/libreofficedev7.3/program/libmergedlo.so
#38 0x00007f154333d4ab in  () at /opt/libreofficedev7.3/program/libmergedlo.so
#39 0x00007f154411adba in ImplSVMain() () at /opt/libreofficedev7.3/program/libmergedlo.so
#40 0x00007f15433245a5 in soffice_main () at /opt/libreofficedev7.3/program/libmergedlo.so
#41 0x000000000040069b in  ()
#42 0x00007f154111934d in __libc_start_main () at /lib64/libc.so.6
#43 0x00000000004006cf in  ()
[Inferior 1 (process 3506) detached]

LibreOffice 7.4... CALC crashes

I wish you all a happy new year
Comment 16 Kevin Suo 2022-01-21 10:35:46 UTC
Does not crash for me with:
Version: 7.3.1.0.0+ / LibreOffice Community
Build ID: eb88b41c15f6451e06b34e2ec0ef5ec4359c200c
CPU threads: 1; OS: Linux 5.3; UI render: default; VCL: kf5 (cairo+xcb)
Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN
Calc: threaded

Downloaded from:
https://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@tb87-TDF/2022-01-16_08.16.44/

On a fresh install of:
Operating System: openSUSE Leap 15.3
KDE Plasma Version: 5.18.6
KDE Frameworks Version: 5.76.0
Qt Version: 5.12.7
Kernel Version: 5.3.18-59.10-default
OS Type: 64-bit
Processors: 1 × Intel® Core™ i5-10210U CPU @ 1.60GHz
Memory: 7.8 GiB

In virtualbox.
Comment 17 Xisco Faulí 2022-01-24 13:19:33 UTC
it looks like a duplicate of bug 146708

*** This bug has been marked as a duplicate of bug 146708 ***
Comment 18 Aron Budea 2022-01-24 14:59:22 UTC

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