Bug 118677 - Calc crash when looking for macro to assign to menu
Summary: Calc crash when looking for macro to assign to menu
Status: RESOLVED DUPLICATE of bug 108619
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.0.5.2 release
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-10 18:46 UTC by roeldijkema@outlook.com
Modified: 2018-07-18 21:39 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screencast of crashing Calc. (1.69 MB, video/x-matroska)
2018-07-16 12:52 UTC, roeldijkema@outlook.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description roeldijkema@outlook.com 2018-07-10 18:46:18 UTC
Description:
I created a macro: runs good. I want to start that macro by assigning it to a menu item. Created a new Submenu: "roel". Then: Customize -> Menus, select Submenu "roel" and select Category "Macros". Calc crashes after a few seconds.
Linux 19 just installed, LO just downloaded and fresh install, 
Crash also on Ubuntu 16.04 LTS and Mint 18.3 with LibreOffice 5.2

Steps to Reproduce:
1. -- See description.
2.
3.

Actual Results:
Crash

Expected Results:
New menu-item


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Comment 1 Xisco Faulí 2018-07-11 08:27:29 UTC
Hello,
Thanks for reporting the issue.
I can't reproduce it in

Versió: 6.0.5.2
ID de la construcció: 1:6.0.5~rc2-0ubuntu0.16.04.1~lo1
Fils de CPU: 4; SO: Linux 4.13; Renderitzador de la IU: per defecte; VCL: gtk3; 
Configuració local: ca-ES (ca_ES.UTF-8); Calc: group

Could you please paste the info from Help - about LibreOffice ?
Comment 2 roeldijkema@outlook.com 2018-07-11 10:37:14 UTC
Result from HELP -> About:
Version: 6.0.5.2
Build ID: 54c8cbb85f300ac59db32fe8a675ff7683cd5a16
CPU threads: 2; OS: Linux 4.15; UI render: GL; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group

I tried to assign a macro to an in-sheet button. Calc crashes when selecting "macros" and waiting for the list with macros.

Retried: created new macro: just show a MsgBox. Then create button in sheet and tried to assign macro to event. Crash after hitting button "macro".
Comment 3 Xisco Faulí 2018-07-11 11:15:24 UTC
Does it crash with any macro? otoh, does it crash if you go to help - Restart in Safe Mode ?
Comment 4 roeldijkema@outlook.com 2018-07-11 13:28:55 UTC
Hello,

Restart in safe mode does not help. I reset to factory configuration...No Show.
Comment 5 roeldijkema@outlook.com 2018-07-13 15:04:59 UTC
Hello,
I installed a fresh download on a Win10 64bit machine. Made simple macro and button. Worked all fine, no crash. 

I created a VirtualBox VM with Mint19. Added a screencast of crashing LO.
Comment 6 raal 2018-07-15 08:13:03 UTC
(In reply to roeldijkema@outlook.com from comment #5)
> 
> I created a VirtualBox VM with Mint19. Added a screencast of crashing LO.

Please attach screencast. Thank you.
Comment 7 roeldijkema@outlook.com 2018-07-16 12:52:59 UTC
Created attachment 143572 [details]
Screencast of crashing Calc.

Added the screencast: vokoscreen-2018-07-16_14-44-32.mkv
Comment 8 raal 2018-07-16 20:29:39 UTC
No repro with Version: 6.2.0.0.alpha0+
Build ID: d11313f341d1d9a9c73c736932441a89d5292e37
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3;
Comment 9 raal 2018-07-16 20:31:56 UTC
No crash Version: 6.2.0.0.alpha0+
Build ID: d11313f341d1d9a9c73c736932441a89d5292e37
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk2;
Comment 10 roeldijkema@outlook.com 2018-07-17 08:15:01 UTC
(In reply to raal from comment #9)
> No crash Version: 6.2.0.0.alpha0+
> Build ID: d11313f341d1d9a9c73c736932441a89d5292e37
> CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk2;

Hello raal,

Which linux distro are you using for verifying my bug report?

I run Mint 19:
Build ID: 1:6.0.3-0ubuntu1
CPU threads: 2; OS: Linux 4.15; UI render: default; VCL: gtk3;

Regards, 
Roel
Comment 11 roeldijkema@outlook.com 2018-07-18 21:32:14 UTC
Hello,
I have some news.
I can switch off/on the crashing by dis/enabling using the Java runtime environment. When disabled I can assign a macro to the button. No crashing when
hitting it... macro works. No crashing when enabling Java.

I tested with LO 4.4, 5.4, 6

Doing this was triggered by the crashreport the Ubuntu 16.04 LTS 32 bit system gave me after a crash:

Title: soffice.bin crashed with SIGSEGV in JNI_CreateJavaVM()

I found on google Java gives often problems with LO on linux 32bit

After Java was diabled and wanting to select the macro, LO complained it wants to use Java, should it be enabled. I no-ed that and LO went on without a problem. Appearently it does not need Java, so that comment is useless.

Nonetheless, there is a problem with java on 32 bit linux.
But there is a work-around (in my case).
Do not believe everything you read (apart from this).
Comment 12 Xisco Faulí 2018-07-18 21:39:21 UTC
Thanks for the further information.
Yep, this is a crash of Java in Linux x86. Please see bug 108619.
Closing as RESOLVED DUPLICATED

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