| Summary: | unopkg and soffice crash on startup | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Robert Nagy <robert> |
| Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | michael.meeks |
| Priority: | medium | ||
| Version: | 3.5.2 RC1 | ||
| Hardware: | All | ||
| OS: | OpenBSD | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Attachments: | trace output | ||
Created attachment 59050 [details]
trace output
raw pastebin of backtrace: http://pastebin.com/raw.php?i=S3rDV3bV Unfortunately frame #3 is rather unhelpful:
#2 0x0000000209095eed in uno_type_sequence_construct
(ppSequence=0x7f7ffffddff0, pType=Variable "pType" is not available.
) at
/home/pobj/libreoffice-3.5.2.1-debug-parallel/libreoffice-core-3.5.2.1/cppu/source/uno/sequence.cxx:797
#3 0x000000020e55404d in dp_misc::create_folder (ret_ucb_content=0x0,
url_=Variable "url_" is not available.
) at Sequence.hxx:89
I assume the crash is here:
Any element( xEnum->nextElement() );
Sequence<Any> registryArgs(
cachePath.getLength() == 0 ? 1 : 3 );
registryArgs[ 0 ] <<= context;
if (cachePath.getLength() > 0)
But - well, it could be in any of the <<= operators, or sequence pieces. It'd be nice to know what gdb says about the url_ parameter if we can get some details out of that too :-)
Argh; I was reading partially the wrong header :-) the real create_folder method has:
const Sequence<ContentInfo> infos(
parentContent.queryCreatableContentsInfo() );
or:
Sequence<OUString>( &StrTitle::get(), 1 ),
Sequence<Any>( &title, 1 ),
either of which could be the crash, but the StrTitle one is more likely - it'd be nice to know :-)
32 parentContent.queryCreatableContentsInfo() );
150 { return _pSequence->nElements; }
133 for ( sal_Int32 pos = 0; pos < infos.getLength(); ++pos )
89 const_cast< E * >( pElements ), len, (uno_AcquireFunc)cpp_acquire );
608 static T instance = InitData()();
191 return reinterpret_cast< const E * >( _pSequence->elements )[ nIndex ];
137 if ((info.Attributes & ContentInfoAttribute::KIND_FOLDER) != 0)
133 for ( sal_Int32 pos = 0; pos < infos.getLength(); ++pos )
150 { return _pSequence->nElements; }
133 for ( sal_Int32 pos = 0; pos < infos.getLength(); ++pos )
191 return reinterpret_cast< const E * >( _pSequence->elements )[ nIndex ];
137 if ((info.Attributes & ContentInfoAttribute::KIND_FOLDER) != 0)
150 { return _pSequence->nElements; }
141 if (rProps.getLength() != 1 ||
576 if ( pData->length != asciiStrLength )
580 pData->buffer, asciiStr, asciiStrLength );
141 if (rProps.getLength() != 1 ||
228 if (::com::sun::star::uno::Sequence< T >::s_pType == 0) {
89 const_cast< E * >( pElements ), len, (uno_AcquireFunc)cpp_acquire );
91 if (! success)
608 static T instance = InitData()();
228 if (::com::sun::star::uno::Sequence< T >::s_pType == 0) {
89 const_cast< E * >( pElements ), len, (uno_AcquireFunc)cpp_acquire );
106 return *reinterpret_cast< ::com::sun::star::uno::Type const * >(tdr);
89 const_cast< E * >( pElements ), len, (uno_AcquireFunc)cpp_acquire );
Program received signal SIGSEGV, Segmentation fault.
rtl_uString_acquire (pThis=0x0) at strtmpl.cxx:1032
1032 IMPL_RTL_AQUIRE( pThis );
A series of 'next' steps through gdb in this code - with the 'nexts' excised
Dear Bug Submitter, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/FDO/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team Dear Bug Submitter, Please read this message in its entirety before proceeding. Your bug report is being closed as INVALID due to inactivity and a lack of information which is needed in order to accurately reproduce and confirm the problem. We encourage you to retest your bug against the latest release. If the issue is still present in the latest stable release, we need the following information (please ignore any that you've already provided): a) Provide details of your system including your operating system and the latest version of LibreOffice that you have confirmed the bug to be present b) Provide easy to reproduce steps – the simpler the better c) Provide any test case(s) which will help us confirm the problem d) Provide screenshots of the problem if you think it might help e) Read all comments and provide any requested information Once all of this is done, please set the bug back to UNCONFIRMED and we will attempt to reproduce the issue. Please do not: a) respond via email b) update the version field in the bug or any of the other details on the top section of FDO |
Starting either soffice or unopkg results in the same panic. Backtrace: Starting program: /home/pobj/libreoffice-3.5.2.1-debug-parallel/libreoffice-core-3.5.2.1/solver/unxobsd.pro/installation/opt/program/unopkg.bin list Program received signal SIGSEGV, Segmentation fault. rtl_uString_acquire (pThis=0x0) at strtmpl.cxx:1034 1034 IMPL_RTL_AQUIRE( pThis ); Current language: auto; currently c++ (gdb) bt #0 rtl_uString_acquire (pThis=0x0) at strtmpl.cxx:1034 #1 0x0000000209093fd2 in icopyConstructFromElements (ppSeq=0x7f7ffffddff0, pSourceElements=0x20e95ffb8, pElementType=Variable "pElementType" is not available. ) at /home/pobj/libreoffice-3.5.2.1-debug-parallel/libreoffice-core-3.5.2.1/cppu/source/uno/sequence.cxx:492 #2 0x0000000209095eed in uno_type_sequence_construct (ppSequence=0x7f7ffffddff0, pType=Variable "pType" is not available. ) at /home/pobj/libreoffice-3.5.2.1-debug-parallel/libreoffice-core-3.5.2.1/cppu/source/uno/sequence.cxx:797 #3 0x000000020e55404d in dp_misc::create_folder (ret_ucb_content=0x0, url_=Variable "url_" is not available. ) at Sequence.hxx:89 #4 0x00000002192a3946 in dp_registry::create (context=@0x201c2acc0, cachePath=@0x201c2acd8, readOnly=false, xComponentContext=@0x201c2acb8) at /home/pobj/libreoffice-3.5.2.1-debug-parallel/libreoffice-core-3.5.2.1/desktop/source/deployment/registry/dp_registry.cxx:352 #5 0x0000000219261431 in dp_manager::PackageManagerImpl::initRegistryBackends (this=0x201c2ac50) at /home/pobj/libreoffice-3.5.2.1-debug-parallel/libreoffice-core-3.5.2.1/desktop/source/deployment/manager/dp_manager.cxx:313 #6 0x000000021926a498 in dp_manager::PackageManagerImpl::create (xComponentContext=Variable "xComponentContext" is not available. ) at /home/pobj/libreoffice-3.5.2.1-debug-parallel/libreoffice-core-3.5.2.1/desktop/source/deployment/manager/dp_manager.cxx:461 #7 0x00000002192722d7 in dp_manager::factory::PackageManagerFactoryImpl::getPackageManager (this=0x201c2ab70, context=@0x7f7ffffde760) at /home/pobj/libreoffice-3.5.2.1-debug-parallel/libreoffice-core-3.5.2.1/desktop/source/deployment/manager/dp_managerfac.cxx:164 #8 0x000000021924fe00 in dp_manager::ExtensionManager::getSharedRepository (this=Variable "this" is not available. ) at /home/pobj/libreoffice-3.5.2.1-debug-parallel/libreoffice-core-3.5.2.1/desktop/source/deployment/manager/dp_extensionmanager.cxx:199 #9 0x000000021924ffba in dp_manager::ExtensionManager::synchronize (this=0x20bd39018, xAbortChannel=@0x7f7ffffdeab0, xCmdEnv=@0x7f7ffffdf240) at /home/pobj/libreoffice-3.5.2.1-debug-parallel/libreoffice-core-3.5.2.1/desktop/source/deployment/manager/dp_extensionmanager.cxx:1336 #10 0x000000020e54cce4 in dp_misc::syncRepositories (xCmdEnv=@0x7f7ffffdf240) at /home/pobj/libreoffice-3.5.2.1-debug-parallel/libreoffice-core-3.5.2.1/desktop/source/deployment/misc/dp_misc.cxx:619 #11 0x000000020e11ca96 in unopkg_main () at /home/pobj/libreoffice-3.5.2.1-debug-parallel/libreoffice-core-3.5.2.1/desktop/source/pkgchk/unopkg/unopkg_app.cxx:438 #12 0x0000000000400b3b in main (argc=Variable "argc" is not available. ) at /home/pobj/libreoffice-3.5.2.1-debug-parallel/libreoffice-core-3.5.2.1/desktop/source/pkgchk/unopkg/unopkg_main.c:34