incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 119263] New: Crash while saving writer document with password on OpenSolaris(Sparc)
Date Fri, 20 Apr 2012 14:59:00 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=119263

             Bug #: 119263
        Issue Type: DEFECT
           Summary: Crash while saving writer document with password on
                    OpenSolaris(Sparc)
    Classification: Application
           Product: Word processor
           Version: version58
          Platform: Sun
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: save-export
        AssignedTo: ooo-issues@incubator.apache.org
        ReportedBy: jean-louis.fuchs@adfinis-sygroup.ch


Created attachment 77475
  --> https://issues.apache.org/ooo/attachment.cgi?id=77475
Stacktrace

How to reproduce
-------------------------

1. Open Writer
2. Write something
3. Save as
4. Check save with password
5. Click save
6. Enter password
7. Click ok
--> OpenOffice crashes

Location in source
-------------------------

main/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx

void deleteRootsModule()
{
    SECMODModule *RootsModule = 0;
    SECMODModuleList *list = SECMOD_GetDefaultModuleList();
    SECMODListLock *lock = SECMOD_GetDefaultModuleListLock();
->    SECMOD_GetReadLock(lock);
...

As you see in the stacktrace the variables list and lock are nil.

Mozilla Debug
--------------------

Source code of SECMOD_GetReadLock():

http://212.103.76.7/source/xref/aoo/ext_sources/a169ab152209200a7bad29a275cb0333-seamonkey-1.1.14.source.tar.gz.dir/mozilla/security/nss/lib/pk11wrap/pk11list.c#69

I wanted to build mozilla with debug enabled, I changed the makefile.mk

--- a/main/moz/makefile.mk
+++ b/main/moz/makefile.mk
@@ -125,13 +125,11 @@ MOZILLA_CONFIGURE_FLAGS +=  --disable-tests \
                                --enable-application=suite \
                                --enable-ldap \
                                --enable-crypto \
-                               --enable-optimize \
-                               --enable-strip \
+                               --enable-debug \
                                --disable-profilelocking \
                                --disable-activex \
                                --disable-activex-scripting \
                                --disable-gnomevfs \
-                               --disable-debug \
                                --disable-xprint \
                                --disable-postscript \
                                --without-system-zlib \

but as you see in the stacktrace libmoz* are still in release mode. Any idea
how to enable debug mode for mozilla(seamonkey)?

Builds
------

Our release mode build:
http://adfinis-sygroup.ch/file-exchange-public/Apache_OpenOffice_incubating_3.4.0_Solaris_Sparc_install-arc_en-US.tar.gz
(crash happens too)

More information: http://adfinis-sygroup.ch/aoo-solaris-sparc

In the official build mozilla is disabled so the problem does not occur but
saving with password doesn't work.

For access to our development machine please contact: Nicolas Christener
<nicolas.christener@adfinis-sygroup.ch>

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message