Bug 54962

Summary: failed to start due to "terminate called after throwing an instance of 'com::sun::star::uno::DeploymentException'"
Product: LibreOffice Reporter: Petr Vorel <petr.vorel>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INVALID    
Severity: major CC: sberg.fun
Priority: medium    
Version: 4.0.0.0.alpha0+ Master   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: strace.log

Description Petr Vorel 2012-09-15 10:50:44 UTC
Created attachment 67204 [details]
strace.log

LibreOffice dies just after start (just splashscreen is shown). I removed ~/.config/libreoffice/ and ~/.libreoffice/ just to make sure that my config isn't the source of it.
Error message is:
terminate called after throwing an instance of 'com::sun::star::uno::DeploymentException'

Use revision 25ebe01cf39eba32e8e65995d709e5e803b627a1 (More ::rtl::OUString to OUString in avmedia) with cherry-picked fix https://gerrit.libreoffice.org/628.

Note: I reported this into #54858, but asked to fill new bugreport.
Comment 1 Stephan Bergmann 2012-09-17 09:35:27 UTC
Petr, can you run LO from within gdb and see to produce a backtrace ("gdb .../soffice.bin", then "run", and once it reports the uncaught exception do "thread apply all backtrace").

(From what you write I gather you built LO yourself.  Did you build it completely afresh?  What installation are you running, "make dev-install" or building and installing an installation set?)
Comment 2 Stephan Bergmann 2012-09-17 10:07:28 UTC
Note there was still a problem with bug 54858 that still caused a com::sun::star::uno::DeploymentException upon opening "File - Properties... - General", fixed now with <http://cgit.freedesktop.org/libreoffice/core/commit/?id=e8b79f29a66b0528ad9ba2023930d3ba23915022> "fdo#54858: DocumentDigitalSignatures::initialize can be called with 0 args now."  Your crash at start-up is likely due to the same cause, though it is unclear to me under what circumstances the relevant code would already be executed during start-up.
Comment 3 Petr Vorel 2012-09-17 18:02:04 UTC
(In reply to comment #1)
I'm sorry, I forgot to run "make dev-install" after "make" (silly mistake). After that everything works.