Bug 38875 - Crash when using option „-headless“
Summary: Crash when using option „-headless“
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
3.4.0 release
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-01 05:40 UTC by Gerhard T.
Modified: 2012-08-31 10:07 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
File to replay the crash (32.00 KB, application/vnd.oasis.opendocument.presentation)
2011-07-01 05:40 UTC, Gerhard T.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard T. 2011-07-01 05:40:43 UTC
Created attachment 48651 [details]
File to replay the crash

LibreOffice crashes on some documents when soffice was started with the option „–headless“ (complete command line: soffice -nofirststartwizard -nologo -headless -norestore -invisible "-accept=socket,host=localhost,port=8100,tcpNoDelay=1;urp;").

The document uses an embedded object. Opening other documents works fine.

The crash occurs when opening the document with loadComponentFromUrl executed via UNO (Client: C++).

The problem is not reproducible when soffice was started without the option „-headless“.
The problem is not reproducible with prior versions of OpenOffice.org (e.g. 3.3)
The problem is not reproducible on Windows.

Attached file can be used to replay the problem.


(gdb) bt
#0  0x00a96434 in XQueryExtension () from /usr/lib/libX11.so.6
#1  0xe9604408 in ?? () from /opt/libreoffice3.4/program/../basis-link/program/cairocanvas.uno.so
#2  0xe95db9aa in basegfx::B2DPolygon::append(basegfx::B2DPoint const&) ()
   from /opt/libreoffice3.4/program/../basis-link/program/cairocanvas.uno.so
#3  0xe95f2ed9 in ?? () from /opt/libreoffice3.4/program/../basis-link/program/cairocanvas.uno.so
#4  0xe95f5c69 in ?? () from /opt/libreoffice3.4/program/../basis-link/program/cairocanvas.uno.so
#5  0xe95f5c92 in ?? () from /opt/libreoffice3.4/program/../basis-link/program/cairocanvas.uno.so
#6  0xf7cf5187 in ?? () from /opt/libreoffice3.4/program/../basis-link/program/libcomphelpgcc3.so
#7  0xf7cf4a86 in comphelper::service_decl::ServiceDecl::Factory::createInstanceWithArgumentsAndContext(com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) ()
   from /opt/libreoffice3.4/program/../basis-link/program/libcomphelpgcc3.so
#8  0xf7bf0b96 in ?? () from /opt/libreoffice3.4/ure/lib/libuno_cppuhelpergcc3.so.3
#9  0xf45fa99c in ?? () from /opt/libreoffice3.4/ure/lib/bootstrap.uno.so
#10 0xe96385dd in ?? () from /opt/libreoffice3.4/program/../basis-link/program/canvasfactory.uno.so
#11 0xe9638fab in ?? () from /opt/libreoffice3.4/program/../basis-link/program/canvasfactory.uno.so
#12 0xe963845e in osl_destroyMutex () from /opt/libreoffice3.4/program/../basis-link/program/canvasfactory.uno.so
#13 0xf6c19f07 in ?? () from /opt/libreoffice3.4/program/../basis-link/program/libvclli.so
#14 0xf6c1a075 in Window::GetCanvas() const () from /opt/libreoffice3.4/program/../basis-link/program/libvclli.so
#15 0xf6a910e2 in ?? () from /opt/libreoffice3.4/program/../basis-link/program/libvclli.so
#16 0xf6a93b45 in GDIMetaFile::Play(OutputDevice*, Point const&, Size const&, unsigned long) ()
   from /opt/libreoffice3.4/program/../basis-link/program/libvclli.so
#17 0xed4b8427 in drawinglayer::processor2d::VclProcessor2D::RenderMetafilePrimitive2D(drawinglayer::primitive2d::MetafilePrimitive2D const&) () from /opt/libreoffice3.4/program/../basis-link/program/libdrawinglayerli.so
#18 0xed4bbcd5 in drawinglayer::processor2d::VclPixelProcessor2D::processBasePrimitive2D(drawinglayer::primitive2d::BasePrimitive2D const&) () from /opt/libreoffice3.4/program/../basis-link/program/libdrawinglayerli.so
#19 0xed4b1c64 in drawinglayer::processor2d::BaseProcessor2D::process(com::sun::star::uno::Sequence<com::sun::star::uno::Reference<com::sun::star::graphic::XPrimitive2D> > const&) ()
   from /opt/libreoffice3.4/program/../basis-link/program/libdrawinglayerli.so
#20 0xed4bbc57 in drawinglayer::processor2d::VclPixelProcessor2D::processBasePrimitive2D(drawinglayer::primitive2d::BasePrimitive2D const&) () from /opt/libreoffice3.4/program/../basis-link/program/libdrawinglayerli.so
#21 0xed4b1c64 in drawinglayer::processor2d::BaseProcessor2D::process(com::sun::star::uno::Sequence<com::sun::star::uno::Reference<com::sun::star::graphic::XPrimitive2D> > const&) ()
   from /opt/libreoffice3.4/program/../basis-link/program/libdrawinglayerli.so
#22 0xed4bbc57 in drawinglayer::processor2d::VclPixelProcessor2D::processBasePrimitive2D(drawinglayer::primitive2d::BasePrimitive2D const&) () from /opt/libreoffice3.4/program/../basis-link/program/libdrawinglayerli.so
#23 0xed4b1c64 in drawinglayer::processor2d::BaseProcessor2D::process(com::sun::star::uno::Sequence<com::sun::star::uno::Reference<com::sun::star::graphic::XPrimitive2D> > const&) ()
   from /opt/libreoffice3.4/program/../basis-link/program/libdrawinglayerli.so
---Type <return> to continue, or q <return> to quit--- 
#24 0xed4bbc57 in drawinglayer::processor2d::VclPixelProcessor2D::processBasePrimitive2D(drawinglayer::primitive2d::BasePrimitive2D const&) () from /opt/libreoffice3.4/program/../basis-link/program/libdrawinglayerli.so
#25 0xed4b1c64 in drawinglayer::processor2d::BaseProcessor2D::process(com::sun::star::uno::Sequence<com::sun::star::uno::Reference<com::sun::star::graphic::XPrimitive2D> > const&) ()
   from /opt/libreoffice3.4/program/../basis-link/program/libdrawinglayerli.so
#26 0xed951d7e in ?? () from /opt/libreoffice3.4/program/../basis-link/program/libsvxcoreli.so
#27 0xed952407 in ?? () from /opt/libreoffice3.4/program/../basis-link/program/libsvxcoreli.so
#28 0xed976f23 in SdrPageWindow::RedrawAll(sdr::contact::ViewObjectContactRedirector*) const ()
   from /opt/libreoffice3.4/program/../basis-link/program/libsvxcoreli.so
#29 0xeda2cf03 in SdrPageView::CompleteRedraw(SdrPaintWindow&, Region const&, sdr::contact::ViewObjectContactRedirector*) const () from /opt/libreoffice3.4/program/../basis-link/program/libsvxcoreli.so
#30 0xeda2fb3b in SdrPaintView::DoCompleteRedraw(SdrPaintWindow&, Region const&, sdr::contact::ViewObjectContactRedirector*)
    () from /opt/libreoffice3.4/program/../basis-link/program/libsvxcoreli.so
#31 0xeda2fad2 in SdrPaintView::CompleteRedraw(OutputDevice*, Region const&, sdr::contact::ViewObjectContactRedirector*) ()
   from /opt/libreoffice3.4/program/../basis-link/program/libsvxcoreli.so
#32 0xec5950ef in ?? () from /opt/libreoffice3.4/program/../basis-link/program/libsdli.so
#33 0xec5db945 in ?? () from /opt/libreoffice3.4/program/../basis-link/program/libsdli.so
#34 0xec77042c in ?? () from /opt/libreoffice3.4/program/../basis-link/program/libsdli.so
#35 0xec77079b in ?? () from /opt/libreoffice3.4/program/../basis-link/program/libsdli.so
#36 0xec804dbe in ?? () from /opt/libreoffice3.4/program/../basis-link/program/libsdli.so
#37 0xec80bf2e in ?? () from /opt/libreoffice3.4/program/../basis-link/program/libsdli.so
#38 0xec80c112 in ?? () from /opt/libreoffice3.4/program/../basis-link/program/libsdli.so
#39 0xec80c192 in ?? () from /opt/libreoffice3.4/program/../basis-link/program/libsdli.so
#40 0xf6a62839 in ?? () from /opt/libreoffice3.4/program/../basis-link/program/libvclli.so
#41 0xf6a717a1 in Timer::Timeout() () from /opt/libreoffice3.4/program/../basis-link/program/libvclli.so
#42 0xf6a718e7 in Timer::ImplTimerCallbackProc() () from /opt/libreoffice3.4/program/../basis-link/program/libvclli.so
#43 0xf3b1be7e in ?? () from /opt/libreoffice3.4/basis3.4/program/libvclplug_svpli.so
#44 0xf3b1afea in SvpSalInstance::CheckTimeout(bool) () from /opt/libreoffice3.4/basis3.4/program/libvclplug_svpli.so
#45 0xf3b1b939 in SvpSalInstance::Yield(bool, bool) () from /opt/libreoffice3.4/basis3.4/program/libvclplug_svpli.so
#46 0xf6a6cee5 in ?? () from /opt/libreoffice3.4/program/../basis-link/program/libvclli.so
#47 0xf6a69ff2 in Application::Yield(bool) () from /opt/libreoffice3.4/program/../basis-link/program/libvclli.so
#48 0xf6a6be51 in Application::Execute() () from /opt/libreoffice3.4/program/../basis-link/program/libvclli.so
#49 0xf7e85207 in comphelper::getProcessComponentContext() ()
   from /opt/libreoffice3.4/program/../basis-link/program/libsofficeapp.so
#50 0xf6a70dcb in ?? () from /opt/libreoffice3.4/program/../basis-link/program/libvclli.so
#51 0xf6a70eba in SVMain() () from /opt/libreoffice3.4/program/../basis-link/program/libvclli.so
#52 0xf7ea4262 in soffice_main () from /opt/libreoffice3.4/program/../basis-link/program/libsofficeapp.so
#53 0x08048ca4 in main ()
Comment 1 Björn Michaelsen 2011-12-23 12:29:18 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 2 Florian Reisinger 2012-08-14 14:04:30 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 3 Florian Reisinger 2012-08-14 14:05:20 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 4 Florian Reisinger 2012-08-14 14:09:47 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 5 Florian Reisinger 2012-08-14 14:11:45 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian