[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#819153: libreoffice: LibreOffice crashes when trying to edit diagrams: "does not expose __driDriverGetExtensions_swrast()"



Hi,

> What did change? There was no LO update from (1:)5.1.2~rc1-1 to something
> newer upto now.

you are right, sorry for the confusion. When we tried to debug LO we installed
-devsym packages which depended on the regular packages so we ended up
installing new libreoffice packages which did not contain the broken code path.
Precisely when installing the debian package "libreoffice-gtk" LO seems to use
GTK as toolkit thereafter and does not crash. Installing "libreoffice-gtk3" made
LO look different again and it appears it then uses GTK3 toolkit. Also in GTK3 I
could not trigger the bug. However having the knowledge that the bug occurs when
both packages are absent, I removed them and can now provide a pretty detailed
backtrace with debug symbols.
I called LO like this:
$ SAL_SYNCHRONIZE=1 libreoffice  --norestore /tmp/broken.ods

I then attached gdb to the pid and waited for the crash, gdb backtrace is
attached.

Regards,
Leon
Program received signal SIGABRT, Aborted.
0xf7707b70 in __kernel_vsyscall ()
(gdb) bt
#0  0xf7707b70 in __kernel_vsyscall ()
#1  0xf3686ed7 in __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#2  0xf36884a9 in __GI_abort () at abort.c:89
#3  0xf616eef4 in SalAbort (rErrorText=..., bDumpCore=true) at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/unx/generic/plugadapt/salplug.cxx:293
#4  0xf60b613f in Application::Abort (rErrorText=...) at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/source/app/svapp.cxx:318
#5  0xf50b6bfe in desktop::Desktop::Exception (this=0xffd4f2c8, nError=1024)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/desktop/source/app/app.cxx:1245
#6  0xf60bbcc8 in VCLExceptionSignal_impl (pInfo=0xffd4d7d0) at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/source/app/svmain.cxx:142
#7  0xf386d6a8 in osl_raiseSignal () from /usr/lib/libreoffice/program/libuno_sal.so.3
#8  0xeec54598 in X11SalData::XError (this=0x80bacc8, pDisplay=0x80c18a0, pEvent=0xffd4d90c)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/unx/generic/app/saldata.cxx:547
#9  0xeec546d5 in XErrorHdl (pDisplay=0x80c18a0, pEvent=0xffd4d90c) at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/unx/generic/app/saldata.cxx:77
#10 0xf2deb94a in _XError () from /usr/lib/i386-linux-gnu/libX11.so.6
#11 0xf351ae94 in ?? () from /usr/lib/i386-linux-gnu/libGL.so.1
#12 0xf3516d3d in ?? () from /usr/lib/i386-linux-gnu/libGL.so.1
#13 0xf5dce8a2 in OpenGLContext::ImplInit (this=0x8456520) at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/source/opengl/OpenGLContext.cxx:748
#14 0xf5dced55 in OpenGLContext::init (this=0x8456520, pChildWindow=0x96949c8)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/source/opengl/OpenGLContext.cxx:646
#15 0xf5dd54d4 in OpenGLWindowImpl::OpenGLWindowImpl (this=0x9657790, pWindow=0x9628728)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/source/window/openglwin.cxx:32
#16 0xf5dd5586 in OpenGLWindow::OpenGLWindow (this=0x9628728, pParent=0x96aadc8)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/source/window/openglwin.cxx:44
#17 0xe9c537d9 in VclPtr<OpenGLWindow>::Create<chart::ChartWindow*>(chart::ChartWindow*&&) ()
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/include/vcl/vclptr.hxx:129
#18 chart::ChartWindow::ChartWindow (this=0x96aadc8, pController=0x9858828, pParent=0x9817d98, nStyle=67)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/chart2/source/controller/main/ChartWindow.cxx:52
#19 0xe9c1c671 in VclPtr<chart::ChartWindow>::Create<chart::ChartController*, vcl::Window*&, long long>(chart::ChartController*&&, vcl::Window*&, long long&&)
    () at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/include/vcl/vclptr.hxx:129
#20 chart::ChartController::attachFrame (this=0x9858828, xFrame=...)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/chart2/source/controller/main/ChartController.cxx:488
#21 0xe9c4bfa0 in chart::ChartFrameLoader::load (this=0x9816288, rMediaDescriptor=..., xFrame=...)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/chart2/source/controller/main/ChartFrameloader.cxx:149
#22 0xf49ce454 in framework::LoadEnv::impl_loadContent (this=0xffd4e094)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/framework/source/loadenv/loadenv.cxx:1107
#23 0xf49cf2d9 in framework::LoadEnv::startLoading (this=0xffd4e094)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/framework/source/loadenv/loadenv.cxx:381
#24 0xf49cf5b8 in framework::LoadEnv::loadComponentFromURL (xLoader=..., xContext=..., sURL=..., sTarget=..., nFlags=0, lArgs=...)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/framework/source/loadenv/loadenv.cxx:164
#25 0xf49f9266 in (anonymous namespace)::Frame::loadComponentFromURL (this=0x9718908, sURL=..., sTargetFrameName=..., nSearchFlags=0, lArguments=...)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/framework/source/services/frame.cxx:610
#26 0xea0dedf4 in DocumentHolder::LoadDocToFrame (this=0x8e0b090, bInPlace=true)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/embeddedobj/source/general/docholder.cxx:985
#27 0xea0e00a6 in DocumentHolder::ShowInplace (this=0x8e0b090, xParent=..., aRectangleToShow=..., xContDisp=...)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/embeddedobj/source/general/docholder.cxx:490
#28 0xea0b5529 in OCommonEmbeddedObject::SwitchStateTo_Impl (this=0x8e0fdc8, nNextState=3)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/embeddedobj/source/commonembedding/embedobj.cxx:252
#29 0xea0b67a2 in OCommonEmbeddedObject::changeState (this=0x8e0fdc8, nNewState=4)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/embeddedobj/source/commonembedding/embedobj.cxx:464
#30 0xea0b388f in OCommonEmbeddedObject::doVerb (this=0x8e0fdc8, nVerbID=0)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/embeddedobj/source/commonembedding/embedobj.cxx:560
#31 0xf5077979 in SfxInPlaceClient::DoVerb (this=0x986e750, nVerb=0) at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/sfx2/source/view/ipclient.cxx:932
#32 0xec6fe631 in ScTabViewShell::ActivateObject (this=0x8f58e18, pObj=0x8e09af8, nVerb=0)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/sc/source/ui/view/tabvwshb.cxx:169
#33 0xec42ae98 in FuSelection::MouseButtonUp (this=0x8f73700, rMEvt=...)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/sc/source/ui/drawfunc/fusel.cxx:529
#34 0xec67d7f4 in ScGridWindow::DrawMouseButtonUp (this=0x8f5cb88, rMEvt=...)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/sc/source/ui/view/gridwin3.cxx:85
#35 0xec676d9d in ScGridWindow::MouseButtonUp (this=0x8f5cb88, rMEvt=...)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/sc/source/ui/view/gridwin.cxx:2193
#36 0xf5e9c45e in ImplHandleMouseEvent (pWindow=0x8b51180, nSVEvent=MouseNotifyEvent::MOUSEBUTTONUP, bMouseLeave=false, nX=540, nY=551, nMsgTime=21526282, 
    nCode=1, nMode=<optimized out>) at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/source/window/winproc.cxx:735
#37 0xf5e9d900 in ImplHandleSalMouseButtonUp (pEvent=0xffd4ece8, pWindow=0x8b51180)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/source/window/winproc.cxx:2089
#38 ImplWindowFrameProc (_pWindow=0x8b51180, nEvent=4, pEvent=0xffd4ece8)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/source/window/winproc.cxx:2424
#39 0xeec8f565 in SalFrame::CallCallback (pEvent=0xffd4ece8, nEvent=4, this=0x8b5bfd0)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/inc/salframe.hxx:263
#40 X11SalFrame::HandleMouseEvent (this=0x8b5bfd0, pEvent=0xffd4ee3c)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/unx/generic/window/salframe.cxx:2808
#41 0xeec92032 in X11SalFrame::Dispatch (this=0x8b5bfd0, pEvent=0xffd4ee3c)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/unx/generic/window/salframe.cxx:3894
#42 0xeec562e9 in SalX11Display::Dispatch (this=0x80cea08, pEvent=0xffd4ee3c)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/unx/generic/app/saldisp.cxx:2006
#43 0xeec5559a in SalX11Display::Yield (this=0x80cea08) at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/unx/generic/app/saldisp.cxx:1902
#44 0xeec55306 in DisplayYield (fd=9, pDisplay=0x80cea08) at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/unx/generic/app/saldisp.cxx:389
#45 0xeec5495f in YieldEntry::HandleNextEvent (this=0xeecc1fb4 <yieldTable+180>)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/unx/generic/app/saldata.cxx:577
#46 SalXLib::Yield (this=0x80b94c0, bWait=false, bHandleAllCurrentEvents=false)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/unx/generic/app/saldata.cxx:683
#47 0xeec5cb6c in X11SalInstance::DoYield (this=0x80b96c8, bWait=false, bHandleAllCurrentEvents=false, nReleased=0)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/unx/generic/app/salinst.cxx:167
#48 0xf60b6996 in ImplYield (nReleased=0, i_bAllEvents=false, i_bWait=<optimized out>)
    at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/source/app/svapp.cxx:509
#49 Application::Yield () at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/source/app/svapp.cxx:550
#50 0xf60b88a5 in Application::Execute () at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/source/app/svapp.cxx:471
#51 0xf50be46c in desktop::Desktop::DoExecute () at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/desktop/source/app/app.cxx:1284
#52 desktop::Desktop::Main (this=0xffd4f2c8) at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/desktop/source/app/app.cxx:1609
#53 0xf60bced3 in ImplSVMain () at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/source/app/svmain.cxx:170
#54 0xf60bcf39 in SVMain () at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/vcl/source/app/svmain.cxx:207
---Type <return> to continue, or q <return> to quit---
#55 0xf50dd140 in soffice_main () at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/desktop/source/app/sofficemain.cxx:96
#56 0x0804856d in sal_main () at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/desktop/source/app/main.c:48
#57 main (argc=4, argv=0xffd4f404) at /build/libreoffice-3WTdQ6/libreoffice-5.1.2~rc1/desktop/source/app/main.c:47
(gdb) 

Reply to: