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
(dbx) where [1] NSSRWLock_LockRead_Util(0x0, 0xef258b84, 0x22dc, 0x2000, 0x1, 0x0), at 0xef93c4d8 =>[2] __unnamed_BAAA$T2dhPlpV::deleteRootsModule() (optimized), at 0xef2d80dc (line ~134) in "nssinitializer.cxx" [3] __unnamed_BAAA$T2dhPlpV::nsscrypto_initialize(xMSF = CLASS, out_nss_init = true) (optimized), at 0xef2d8754 (line ~296) in "nssinitializer.cxx" [4] __unnamed_BAAA$T2dhPlpV::InitNSSInitialize::operator()(this = 0xffbfd4cc) (optimized), at 0xef2d9dd8 (line ~113) in "nssinitializer.cxx" [5] ONSSInitializer::initNSS(this = <value of 'this' not available>, xMSF = CLASS) (optimized), at 0xef2d8d28 (line ~283) in "instance.hxx" [6] ONSSInitializer::getDigestContext(this = 0xefc9c608, nDigestID = 2, aParams = CLASS) (optimized), at 0xef2d8e40 (line ~432) in "nssinitializer.cxx" [7] comphelper::OStorageHelper::CreatePackageEncryptionData(0xffbfd770, 0xffbfd76c, 0xffbfd768, 0xefc9c61c, 0xfe665334, 0xfe65dff0), at 0xfe5a7320 [8] sfx2::FileDialogHelper_Impl::execute(0xeff9b3f0, 0xffbfd81c, 0xffbfdbd0, 0x1, 0xf6566c14, 0x4), at 0xf623a978 [9] sfx2::FileDialogHelper::Execute(0x11aa338, 0xffbfdbd0, 0xffbfdbb4, 0xfe2b1c94, 0x8001, 0x4f400), at 0xf623ff24 [10] ModelData_Impl::OutputFileDialog(0xffbfe3e0, 0x11aa338, 0xbaf8, 0x157e, 0xffbfdbd4, 0x0), at 0xf6304458 [11] SfxStoringHelper::GUIStoreModel(0xffbfe0f0, 0xffbfe060, 0x0, 0xffbfe680, 0xf652bab5, 0xffbfe658), at 0xf63087a4 [12] SfxObjectShell::ExecFile_Impl(0x51a920, 0xffbfea9c, 0x0, 0x157e, 0x0, 0xffbfe67c), at 0xf63257a0 [13] SfxDispatcher::Call_Impl(0x10dbab0, 0x51a920, 0xf658211c, 0xffbfea9c, 0xffbfe977, 0xf6566c14), at 0xf63f5710 [14] SfxDispatchController_Impl::dispatch(0x1193a20, 0xfe71191c, 0x9, 0xffbfec14, 0xffbfeaf0, 0x0), at 0xf62174dc [15] SfxOfficeDispatch::dispatch(0xeff929e4, 0xffbfecfc, 0xffbfecf8, 0xfdd432c0, 0xf6566c14, 0x5ac00), at 0xf62152d8 [16] framework::MenuBarManager::Select(0xf004731c, 0x1, 0xa, 0xf53cc320, 0xf53c7ec8, 0xffbfed20), at 0xf5282cb8 [17] Menu::Select(0x10b5b60, 0x0, 0x4, 0xffbfed88, 0x0, 0xfe304408), at 0xfcc36d88 [18] Menu::ImplCallSelect(0x10b5b60, 0x0, 0xfcde7324, 0x0, 0xfcc36d24, 0xfce029cc), at 0xfcc3c45c [19] ImplHandleUserEvent(0x11f2768, 0xfcc3c440, 0x117f5a0, 0x11f2778, 0xf0000, 0x0), at 0xfccc293c [20] ImplWindowFrameProc(0x559890, 0x0, 0x16, 0xfccc30b0, 0x11f2768, 0x5599c0), at 0xfccc338c [21] SalDisplay::DispatchInternalEvent(0x5ea00, 0x22c80, 0xfccc3164, 0x16, 0x11f2768, 0x559b00), at 0xfb6e1490 [22] GtkXLib::userEventFn(0x26e80, 0xfcdf3554, 0xfcdf3540, 0xfd6d6978, 0x0, 0x250d0), at 0xfd69b26c [23] g_main_dispatch(0x523d8, 0x523e0, 0xfb4edf68, 0x0, 0xfb4ebd90, 0xfb447d20), at 0xfb443988 [24] g_main_context_dispatch(0xfb4ee140, 0x523e0, 0x28, 0xfb4ee13c, 0x523e0, 0x523d8), at 0xfb445054 [25] g_main_context_iterate(0x523d8, 0x0, 0x1, 0xfb4ee148, 0x1, 0x1), at 0xfb44560c [26] g_main_context_iteration(0x0, 0x0, 0x523e0, 0x44, 0x1, 0x523d8), at 0xfb445898 [27] GtkXLib::Yield(0x26e80, 0x1, 0x0, 0x1, 0x0, 0xfcdf3540), at 0xfd69b428 [28] ImplYield(0x1, 0xfcdf3554, 0x0, 0x0, 0x1, 0x0), at 0xfca065a4 [29] Application::Execute(0x1, 0xfcdf3554, 0xfcdf3540, 0xfcde7324, 0x374, 0x0), at 0xfca02f48 [30] desktop::Desktop::Main(this = 0xffbff82c) (optimized), at 0xfe9b50cc (line ~2159) in "app.cxx" [31] ImplSVMain(0x0, 0xfcdf3540, 0x1, 0x0, 0xfcde7324, 0x40000000), at 0xfca09e84 [32] SVMain(0xb0, 0x8002, 0xffbff828, 0x2, 0x80000000, 0x40000000), at 0xfca0a044 [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 = 1, argv = 0xffbff984) (optimized), at 0x10c84 (line ~30) in "main.c"
-- 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
signature.asc
Description: Message signed with OpenPGP using GPGMail