You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2019/04/23 08:40:50 UTC

[Issue 128097] New: crash when select menu item Tools/Macros/Run Macro

https://bz.apache.org/ooo/show_bug.cgi?id=128097

          Issue ID: 128097
        Issue Type: DEFECT
           Summary: crash when select menu item Tools/Macros/Run Macro
           Product: Calc
           Version: 4.1.6
          Hardware: Mac
                OS: All
            Status: CONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: ui
          Assignee: issues@openoffice.apache.org
          Reporter: sebb@apache.org
  Target Milestone: ---

Created attachment 86666
  --> https://bz.apache.org/ooo/attachment.cgi?id=86666&action=edit
Partial crash dump

Open Calc with empty worksheet.

Click Tools/Macros/Run Macro...

This pops up dialog box saying:

To open "soffice" you need to install the
legacy Java SE 6 runtime.

Click OK, and get "OpenOffice quit unexpectedly".
(partial crash dump attached)

This happens every time.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128097] crash when select menu item Tools/Macros/Run Macro

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128097

--- Comment #2 from sebb@apache.org ---
It should be in the crash dump

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128097] crash when select menu item Tools/Macros/Run Macro

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128097

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|All                         |Mac OS X, all
                 CC|                            |mseidel@apache.org

--- Comment #3 from Matthias Seidel <ms...@apache.org> ---
(In reply to sebb from comment #0)
> Created attachment 86666 [details]
> Partial crash dump
> 
> Open Calc with empty worksheet.
> 
> Click Tools/Macros/Run Macro...
> 
> This pops up dialog box saying:
> 
> To open "soffice" you need to install the
> legacy Java SE 6 runtime.
> 
> Click OK, and get "OpenOffice quit unexpectedly".
> (partial crash dump attached)
> 
> This happens every time.

Did you try to install Java 6 as described in the Release Notes:
https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.6+Release+Notes#AOO4.1.6ReleaseNotes-FormacOSusers

(Don't ask me why this is necessary ;-) )

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128097] crash when select menu item Tools/Macros/Run Macro

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128097

--- Comment #16 from sebb@apache.org ---
In fact I don't get a crash if I select Java 9.0.1.

If I deselect Java, I then get a prompt asking If I wish to enable a JRE now.
If I select NO, I can still invoke macros successfully.

The problem appears to be how the code handles the case where Java is selected,
but no specific JRE is selected. This is what seems to cause the crash.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128097] crash when select menu item Tools/Macros/Run Macro

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128097

--- Comment #14 from oooforum (fr) <oo...@free.fr> ---
See issue 128074
Downgrade the JRE to 1.8.x

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128097] crash when select menu item Tools/Macros/Run Macro

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128097

oooforum (fr) <oo...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |OBSOLETE

--- Comment #6 from oooforum (fr) <oo...@free.fr> ---
(In reply to sebb from comment #2)
> It should be in the crash dump
Well, provide this information directly here avoid us to download a file

This Mac OS X 10.13.6 is not longer supported
See: https://www.openoffice.org/dev_docs/source/sys_reqs_aoo41.html

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128097] crash when select menu item Tools/Macros/Run Macro

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128097

--- Comment #4 from sebb@apache.org ---
No, I did not.

Note that I can run macros from the organiser, so I don't understand why this
menu item should require Java 6, and even if it is required, the program should
not crash - it should report an error and continue as if the option had not
been selected.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128097] crash when select menu item Tools/Macros/Run Macro

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128097

--- Comment #15 from sebb@apache.org ---
That should not be necessary.

My point is that a crash is a bug, regardless of the setting of the JRE.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128097] crash when select menu item Tools/Macros/Run Macro

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128097

--- Comment #10 from sebb@apache.org ---
Created attachment 86689
  --> https://bz.apache.org/ooo/attachment.cgi?id=86689&action=edit
Quit message (a few seconds later)

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128097] crash when select menu item Tools/Macros/Run Macro

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128097

oooforum (fr) <oo...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Mac OS X, all               |macOS 10.13

--- Comment #8 from oooforum (fr) <oo...@free.fr> ---
(In reply to sebb from comment #7)
> I am running High Sierra currently
Note that I set this version instead of "MacOS all"

Could you provide screenshots:
1) when error occurs
2) dialog box in Tools > Options > OpenOffice > Java

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128097] crash when select menu item Tools/Macros/Run Macro

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128097

--- Comment #9 from sebb@apache.org ---
Created attachment 86688
  --> https://bz.apache.org/ooo/attachment.cgi?id=86688&action=edit
Legacy Java 6 message

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128097] crash when select menu item Tools/Macros/Run Macro

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128097

sebb@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|OBSOLETE                    |---

--- Comment #7 from sebb@apache.org ---
I see you got 10.13.6 from the (partial, small) crash dump.

Note that this is later than OS X 10.7 (Lion) or higher.
I am running High Sierra currently, which is supported according to
https://www.openoffice.org/dev_docs/source/sys_reqs_aoo41.html
so I am re-opening the bug.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128097] crash when select menu item Tools/Macros/Run Macro

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128097

--- Comment #13 from sebb@apache.org ---
Created attachment 86690
  --> https://bz.apache.org/ooo/attachment.cgi?id=86690&action=edit
Java settings

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128097] crash when select menu item Tools/Macros/Run Macro

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128097

--- Comment #12 from oooforum (fr) <oo...@free.fr> ---
(In reply to sebb from comment #11)
> I don't have the following menu item:
> 
> Tools > Options

https://forum.openoffice.org/en/forum/viewtopic.php?f=74&t=89283&hilit=tools+options+macos

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128097] crash when select menu item Tools/Macros/Run Macro

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128097

--- Comment #11 from sebb@apache.org ---
I don't have the following menu item:

Tools > Options

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128097] crash when select menu item Tools/Macros/Run Macro

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128097

oooforum (fr) <oo...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oooforum@free.fr

--- Comment #1 from oooforum (fr) <oo...@free.fr> ---
Could you be more precise and provide which MacOS version is used?

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128097] crash when select menu item Tools/Macros/Run Macro

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=128097

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |crash

--- Comment #5 from Matthias Seidel <ms...@apache.org> ---
(In reply to sebb from comment #4)
> No, I did not.

Then you should just try it. ;-)

> 
> Note that I can run macros from the organiser, so I don't understand why
> this menu item should require Java 6, and even if it is required, the
> program should not crash - it should report an error and continue as if the
> option had not been selected.

Acknowledged!

-- 
You are receiving this mail because:
You are the assignee for the issue.