Bug 39605 - Click on Options->Security->Macro security will crash LibO all times
Summary: Click on Options->Security->Macro security will crash LibO all times
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
3.4.1 release
Hardware: x86-64 (AMD64) Windows (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-27 12:54 UTC by Patrick Hildenbrand
Modified: 2012-07-08 04:23 UTC (History)
5 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 Patrick Hildenbrand 2011-07-27 12:54:11 UTC
Hi, 

after an upgrade from LibO 3.3 to LibO 3.4.1, clicking Options->Security->Macro security will crash LibO immediatly. Document recovery will be shown and the document window will be closed. The option window remains open (and active). 
Choosing document recovery, the document will be loaded again and the option window will be closed. Clicking Macro Security again without clicking something in the document recovery window will lead to a windows dialog about LibO having stopped working.

The above happens for all apps, independant whether you open them via double click for a document or directly without a document.

A second system where LibO was not installed before does not show this behaviour. Due to the nature of this bug, I have stopped updateing my other systems, as I sometimes need to downgrade Makro security for some old documents. One major difference is, that there is Openoffice 3.2 installed on the failing system, as I have some files that behave different on the different releases and I need to be able to execute OO 3.2 to adapt the files for OO 3.4

If you need any further info, please tell me. 

Regards, 

Patrick
Comment 1 noname 2011-07-27 13:43:41 UTC
Unconfirmed with [Win2K LibreOffice 3.4.2 OOO340m1 (Build:202)].

Clicking 'Options->Security->Macro' works like it should, no crash.
Maybe you could upgrade your system to LO 3.4.2 rc2 and try again.
I have go-oo 3.2.1 and LO installed side by side on my system without a problem.
Comment 2 Jeffrey 2011-07-28 19:18:51 UTC
Failed to reproduce on LibreOffice 3.4  340m1(Build:103) for OpenSuse Linux. I did not upgrade from 3.3 and there seems to be no problem when opening the dialogue box.
Comment 3 Patrick Hildenbrand 2011-07-29 09:19:58 UTC
I only have this issue on one of the systems. All other work fine. I have not checked rc2, as I could not find it on the testpages anymore. However upgrading to rc3 did not work.
Any option in application to create some trace on what it's doing to be able to provide more info?

Regards, 

Patrick
Comment 4 Patrick Hildenbrand 2011-07-29 09:20:58 UTC
just updated the release to say 3.4.2rc3 now, as this still shows the issue.
Comment 5 Patrick Hildenbrand 2011-09-02 10:00:25 UTC
deinstalled Libreoffice completly, installed 3.4.2, still the same issue.
Comment 6 Caolán McNamara 2011-09-07 16:16:32 UTC
Might be something in personal AppData/LibreOffice|OpenOffice.org which triggers this.
Comment 7 Caolán McNamara 2011-09-07 16:27:11 UTC
http://cgit.freedesktop.org/libreoffice/core/commit/?id=e90fc798e86316baa0acab831d88a8d00b518cb6 is a fix for a similar issue which *might* improve this not-reproducible bug to turn it from a crash to a "macro security button doesn't do anything"
Comment 8 Lionel Elie Mamane 2011-11-23 06:12:57 UTC
(In reply to comment #7)
> http://cgit.freedesktop.org/libreoffice/core/commit/?id=e90fc798e86316baa0acab831d88a8d00b518cb6
> is a fix for a similar issue which *might* improve this not-reproducible bug to
> turn it from a crash to a "macro security button doesn't do anything"

Your link says "bad commit reference". Do you have a way to find back which commit you meant?
Comment 9 Lionel Elie Mamane 2011-11-23 06:22:10 UTC
With sal/osl/unx/module at OSL_DEBUGLEVEL 2:



Trace 23071/1: "Error osl_getAsciiFunctionSymbol: /home/master/src/libreoffice/core/solver/unxlngx6/installation/opt/program/../program/libxmlsecurity.so: undefined symbol: xmlsecurity_component_getImplementationEnvironmentExt"
Trace 23071/1: "Error osl_getAsciiFunctionSymbol: /home/master/src/libreoffice/core/solver/unxlngx6/installation/opt/program/../program/libxmlsecurity.so: undefined symbol: xmlsecurity_component_getImplementationEnvironment"
Trace 23071/1: "Error osl_getAsciiFunctionSymbol: /home/master/src/libreoffice/core/solver/unxlngx6/installation/opt/program/../program/libxmlsecurity.so: undefined symbol: component_canUnload"
Trace 23071/1: "Error osl_loadModule: /home/master/src/libreoffice/core/solver/unxlngx6/installation/opt/program/../program/libnssutil3.so: version `NSSUTIL_3.12.5' not found (required by /home/master/src/libreoffice/core/solver/unxlngx6/installation/opt/program/../program/libnss3.so)"
Error: loading component library failed: file:///home/master/src/libreoffice/core/solver/unxlngx6/installation/opt/program/../program/libxsec_xmlsec.so From File /home/master/src/libreoffice/core/cui/source/options/optinet2.cxx at Line 874
Comment 10 Lionel Elie Mamane 2011-11-23 06:27:50 UTC
Sorry, last comment was on wrong bug
Comment 11 Rainer Bielefeld Retired 2011-12-14 00:08:29 UTC
@Patrick Hildenbrand
Still a problem for you with a clean new user profile?
Comment 12 Rainer Bielefeld Retired 2012-07-08 04:23:08 UTC
Closed due to reporter's inactivity