Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 808639A7F for ; Mon, 16 Apr 2012 10:28:57 +0000 (UTC) Received: (qmail 65690 invoked by uid 500); 16 Apr 2012 10:28:57 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 65629 invoked by uid 500); 16 Apr 2012 10:28:57 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 65620 invoked by uid 99); 16 Apr 2012 10:28:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 10:28:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [95.128.32.155] (HELO srsyg17.sygroup-int.ch) (95.128.32.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 10:28:49 +0000 Received: from localhost (localhost [127.0.0.1]) by srsyg17.sygroup-int.ch (Postfix) with ESMTP id 3B8A12A07D for ; Mon, 16 Apr 2012 12:28:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at srsyg17.sygroup-int.ch Received: from srsyg17.sygroup-int.ch ([127.0.0.1]) by localhost (srsyg17.sygroup-int.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TEpXca2S3jZP for ; Mon, 16 Apr 2012 12:28:25 +0200 (CEST) Received: from [10.9.4.39] (office.adfinis.com [212.103.64.200]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jean-louis.fuchs@adfinis-sygroup.ch) by srsyg17.sygroup-int.ch (Postfix) with ESMTPSA id 09AB82A072 for ; Mon, 16 Apr 2012 12:28:25 +0200 (CEST) From: Jean-Louis 'Hans' Fuchs Content-Type: multipart/signed; boundary="Apple-Mail=_7CCE7EFA-6CBF-422C-84A7-7F82B581816D"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Crash when saving with password (OpenSolaris) Date: Mon, 16 Apr 2012 12:28:24 +0200 Message-Id: <27A71485-E375-4D1C-82E0-3AAADD604E3B@adfinis-sygroup.ch> To: ooo-dev@incubator.apache.org Mime-Version: 1.0 (Apple Message framework v1257) X-Mailer: Apple Mail (2.1257) --Apple-Mail=_7CCE7EFA-6CBF-422C-84A7-7F82B581816D Content-Type: multipart/mixed; boundary="Apple-Mail=_DA218968-B1F0-4E72-8BC7-83951B7DD93A" --Apple-Mail=_DA218968-B1F0-4E72-8BC7-83951B7DD93A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hello When I save an odt file with a password I get a SEGV in mozilla = (netscape portable runtime). As a test, I removed the call to = deleteRootsModule() in nssinitializer.cxx, which allows me to save the = file, but it will then crash later when calling NSS_Shutdown(). It seems = to crash when trying to lock. See the attached stacktrace. Unfortunately = mozilla seems still be built with optimizations even though this is a = debug build. t@1 (l@1) signal SEGV (no mapping at the fault address) in = NSSRWLock_LockRead_Util at 0xef93c4d8 0xef93c4d8: NSSRWLock_LockRead_Util+0x0014: ld [%i5], %o0 As another test I build against system-mozilla. Best, Jean-Louis --Apple-Mail=_DA218968-B1F0-4E72-8BC7-83951B7DD93A Content-Disposition: attachment; filename=stacktrace.txt Content-Type: text/plain; name="stacktrace.txt" Content-Transfer-Encoding: quoted-printable (dbx) where [1] NSSRWLock_LockRead_Util(0x0, 0xef258b84, 0x22dc, 0x2000, 0x1, = 0x0), at 0xef93c4d8=20 =3D>[2] __unnamed_BAAA$T2dhPlpV::deleteRootsModule() (optimized), at = 0xef2d80dc (line ~134) in "nssinitializer.cxx" [3] __unnamed_BAAA$T2dhPlpV::nsscrypto_initialize(xMSF =3D CLASS, = out_nss_init =3D true) (optimized), at 0xef2d8754 (line ~296) in = "nssinitializer.cxx" [4] __unnamed_BAAA$T2dhPlpV::InitNSSInitialize::operator()(this =3D = 0xffbfd4cc) (optimized), at 0xef2d9dd8 (line ~113) in = "nssinitializer.cxx" [5] ONSSInitializer::initNSS(this =3D , = xMSF =3D CLASS) (optimized), at 0xef2d8d28 (line ~283) in "instance.hxx" [6] ONSSInitializer::getDigestContext(this =3D 0xefc9c608, nDigestID =3D= 2, aParams =3D CLASS) (optimized), at 0xef2d8e40 (line ~432) in = "nssinitializer.cxx" [7] = comphelper::OStorageHelper::CreatePackageEncryptionData(0xffbfd770, = 0xffbfd76c, 0xffbfd768, 0xefc9c61c, 0xfe665334, 0xfe65dff0), at = 0xfe5a7320=20 [8] sfx2::FileDialogHelper_Impl::execute(0xeff9b3f0, 0xffbfd81c, = 0xffbfdbd0, 0x1, 0xf6566c14, 0x4), at 0xf623a978=20 [9] sfx2::FileDialogHelper::Execute(0x11aa338, 0xffbfdbd0, 0xffbfdbb4, = 0xfe2b1c94, 0x8001, 0x4f400), at 0xf623ff24=20 [10] ModelData_Impl::OutputFileDialog(0xffbfe3e0, 0x11aa338, 0xbaf8, = 0x157e, 0xffbfdbd4, 0x0), at 0xf6304458=20 [11] SfxStoringHelper::GUIStoreModel(0xffbfe0f0, 0xffbfe060, 0x0, = 0xffbfe680, 0xf652bab5, 0xffbfe658), at 0xf63087a4=20 [12] SfxObjectShell::ExecFile_Impl(0x51a920, 0xffbfea9c, 0x0, 0x157e, = 0x0, 0xffbfe67c), at 0xf63257a0=20 [13] SfxDispatcher::Call_Impl(0x10dbab0, 0x51a920, 0xf658211c, = 0xffbfea9c, 0xffbfe977, 0xf6566c14), at 0xf63f5710=20 [14] SfxDispatchController_Impl::dispatch(0x1193a20, 0xfe71191c, 0x9, = 0xffbfec14, 0xffbfeaf0, 0x0), at 0xf62174dc=20 [15] SfxOfficeDispatch::dispatch(0xeff929e4, 0xffbfecfc, 0xffbfecf8, = 0xfdd432c0, 0xf6566c14, 0x5ac00), at 0xf62152d8=20 [16] framework::MenuBarManager::Select(0xf004731c, 0x1, 0xa, = 0xf53cc320, 0xf53c7ec8, 0xffbfed20), at 0xf5282cb8=20 [17] Menu::Select(0x10b5b60, 0x0, 0x4, 0xffbfed88, 0x0, 0xfe304408), = at 0xfcc36d88=20 [18] Menu::ImplCallSelect(0x10b5b60, 0x0, 0xfcde7324, 0x0, 0xfcc36d24, = 0xfce029cc), at 0xfcc3c45c=20 [19] ImplHandleUserEvent(0x11f2768, 0xfcc3c440, 0x117f5a0, 0x11f2778, = 0xf0000, 0x0), at 0xfccc293c=20 [20] ImplWindowFrameProc(0x559890, 0x0, 0x16, 0xfccc30b0, 0x11f2768, = 0x5599c0), at 0xfccc338c=20 [21] SalDisplay::DispatchInternalEvent(0x5ea00, 0x22c80, 0xfccc3164, = 0x16, 0x11f2768, 0x559b00), at 0xfb6e1490=20 [22] GtkXLib::userEventFn(0x26e80, 0xfcdf3554, 0xfcdf3540, 0xfd6d6978, = 0x0, 0x250d0), at 0xfd69b26c=20 [23] g_main_dispatch(0x523d8, 0x523e0, 0xfb4edf68, 0x0, 0xfb4ebd90, = 0xfb447d20), at 0xfb443988=20 [24] g_main_context_dispatch(0xfb4ee140, 0x523e0, 0x28, 0xfb4ee13c, = 0x523e0, 0x523d8), at 0xfb445054=20 [25] g_main_context_iterate(0x523d8, 0x0, 0x1, 0xfb4ee148, 0x1, 0x1), = at 0xfb44560c=20 [26] g_main_context_iteration(0x0, 0x0, 0x523e0, 0x44, 0x1, 0x523d8), = at 0xfb445898=20 [27] GtkXLib::Yield(0x26e80, 0x1, 0x0, 0x1, 0x0, 0xfcdf3540), at = 0xfd69b428=20 [28] ImplYield(0x1, 0xfcdf3554, 0x0, 0x0, 0x1, 0x0), at 0xfca065a4=20 [29] Application::Execute(0x1, 0xfcdf3554, 0xfcdf3540, 0xfcde7324, = 0x374, 0x0), at 0xfca02f48=20 [30] desktop::Desktop::Main(this =3D 0xffbff82c) (optimized), at = 0xfe9b50cc (line ~2159) in "app.cxx" [31] ImplSVMain(0x0, 0xfcdf3540, 0x1, 0x0, 0xfcde7324, 0x40000000), at = 0xfca09e84=20 [32] SVMain(0xb0, 0x8002, 0xffbff828, 0x2, 0x80000000, 0x40000000), at = 0xfca0a044=20 [33] soffice_main() (optimized), at 0xfe9e41b0 (line ~45) in = "sofficemain.cxx" [34] sal_main() (optimized), at 0x10ca0 (line ~31) in "main.c" [35] main(argc =3D 1, argv =3D 0xffbff984) (optimized), at 0x10c84 = (line ~30) in "main.c" --Apple-Mail=_DA218968-B1F0-4E72-8BC7-83951B7DD93A Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii -- Adfinis SyGroup AG Jean-Louis 'Hans' Fuchs, Software Engineer Keltenstrasse 98 | CH-3018 Bern Tel.: +41 31 550 31 11 | http://www.adfinis-sygroup.ch --Apple-Mail=_DA218968-B1F0-4E72-8BC7-83951B7DD93A-- --Apple-Mail=_7CCE7EFA-6CBF-422C-84A7-7F82B581816D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) iQEcBAEBAgAGBQJPi/RIAAoJEImltJYw04FOJG0IANGnhfaFtGSeZc6lipmrD7pe J03mKAoijBz4pDWXoddXq25G87kJA6k+V41/7RM11ujV2mfC7qRRlXIXrh5tpIq/ BJGNgabmJzfGfrQzVRChrf7riqBbG61zU8RmXczhs6creri+19vK5QYPavaIkJ74 tfR+65Pvu4j3zkSYI6RA6S2NEbl50jnzlaV8nelg7dFmqfjSDi9jp7leXpJkEcAo WBjt2pObNzABO8j6sPQRo/kAkJNWxlAvqyCN+LHeQpABsfm2i6VEkI1uSgInQmzE v9DpIABwlw4IJXlGLltcz7yH8k55KuPVIvwyhLmnLK93MM99ciOU+Xa4a0lEJ1Q= =yz4A -----END PGP SIGNATURE----- --Apple-Mail=_7CCE7EFA-6CBF-422C-84A7-7F82B581816D--