Bug 108153 - Crash in: OpenGLSalGraphicsImpl::doFlush()
Summary: Crash in: OpenGLSalGraphicsImpl::doFlush()
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-27 10:33 UTC by daniel
Modified: 2019-06-20 10:12 UTC (History)
4 users (show)

See Also:
Crash report or crash signature: ["OpenGLSalGraphicsImpl::doFlush()"]


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description daniel 2017-05-27 10:33:58 UTC
This bug was filed from the crash reporting server and is br-8eb397ca-3676-461a-9edd-4ed180a4f9da.
=========================================
This crash occurred when trying to create a new slide.
Comment 1 Aron Budea 2017-05-27 17:39:34 UTC Comment hidden (obsolete)
Comment 2 Markus Mohrhard 2017-05-27 18:03:09 UTC
This is once again a GDI leak related crash. We hope that we fixed most of the GDI leaks in 5.3.4 which will be released soon.
Comment 3 daniel 2017-05-28 08:16:47 UTC
(In reply to Aron Budea from comment #1)
> Does this consistently occur for you? Only with a specific presentation, or
> any presentation? If there is only crash with a particular presentation,
> could you share it?

Well the crash had happen only once so I can't answer this question
Comment 4 Arnaud Versini 2017-06-08 20:12:08 UTC
Markus,

openSUSE Tumbleweed users also have this bug in OpenGLSalGraphicsImpl::doFlush() , perhaps not related to GDI leak ?

Thanks
Comment 5 Friedmann Bruno 2017-06-11 15:18:47 UTC
Asked kindly to join this bug, I can add some informations.
openSUSE Tumbleweed (VERSION="20170608")
Drivers Nvidia 375.66 on Quadro M2000M (not supported by nouveau)

I'm running plasma5 (X11) desktop, so to have right integration I'm also using libreoffice-kde4 so VLC is kde4

If I have use opengl and hardware acceleration, I'm getting a interface that is completely broken (not redrawn, colors of element blinking fast like passing in reverse mode etc).

Using gdb when I use the quit command of lowriter for example I'm getting this trace

(gdb) bt
#0  0x0000000000000000 in  ()
#1  0x00007ffff695e7c3 in OpenGLSalGraphicsImpl::doFlush() () at /usr/lib64/libreoffice/program/libmergedlo.so
#2  0x00007ffff69605bd in OpenGLFlushIdle::Invoke() () at /usr/lib64/libreoffice/program/libmergedlo.so
#3  0x00007ffff685ef81 in ImplSchedulerData::Invoke() [clone .part.5] () at /usr/lib64/libreoffice/program/libmergedlo.so
#4  0x00007ffff685f1c8 in Scheduler::ProcessTaskScheduling(bool) () at /usr/lib64/libreoffice/program/libmergedlo.so
#5  0x00007ffff686c32c in Scheduler::ProcessEventsToIdle() () at /usr/lib64/libreoffice/program/libmergedlo.so
#6  0x00007ffff52175c6 in framework::Desktop::terminate() () at /usr/lib64/libreoffice/program/libmergedlo.so
#7  0x00007ffff559a015 in SfxApplication::MiscExec_Impl(SfxRequest&) () at /usr/lib64/libreoffice/program/libmergedlo.so
#8  0x00007ffff5616f5e in SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, bool) () at /usr/lib64/libreoffice/program/libmergedlo.so
#9  0x00007ffff561ba1e in SfxDispatcher::PostMsgHandler(SfxRequest*) () at /usr/lib64/libreoffice/program/libmergedlo.so
#10 0x00007ffff5801ee3 in SfxHintPoster::DoEvent_Impl(void*) () at /usr/lib64/libreoffice/program/libmergedlo.so
#11 0x00007ffff66765df in ImplWindowFrameProc(vcl::Window*, SalEvent, void const*) () at /usr/lib64/libreoffice/program/libmergedlo.so
#12 0x00007ffff6913cb7 in SalGenericDisplay::DispatchInternalEvent() () at /usr/lib64/libreoffice/program/libmergedlo.so
#13 0x00007fffe14b3530 in KDEXLib::timeoutActivated() () at /usr/lib64/libreoffice/program/libvclplug_kde4lo.so
#14 0x00007fffe14b5768 in KDEXLib::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib64/libreoffice/program/libvclplug_kde4lo.so
#15 0x00007fffdf183e81 in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4
#16 0x00007fffdf6ade6c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#17 0x00007fffdf6b4fd7 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#18 0x00007fffe08eea3a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#19 0x00007fffdf169e4e in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#20 0x00007fffdf16d01a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4
#21 0x00007fffdf199d7e in  () at /usr/lib64/libQtCore.so.4
#22 0x00007ffff0330b37 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#23 0x00007ffff0330d68 in  () at /usr/lib64/libglib-2.0.so.0
#24 0x00007ffff0330dfc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#25 0x00007fffdf199ee6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#26 0x00007fffdf7567c7 in  () at /usr/lib64/libQtGui.so.4
#27 0x00007fffe14b3477 in KDEXLib::processYield(bool, bool) () at /usr/lib64/libreoffice/program/libvclplug_kde4lo.so
#28 0x00007fffe14b51a0 in KDEXLib::Yield(bool, bool) () at /usr/lib64/libreoffice/program/libvclplug_kde4lo.so
#29 0x00007ffff686c41d in Application::Yield() () at /usr/lib64/libreoffice/program/libmergedlo.so
#30 0x00007ffff686e1b5 in Application::Execute() () at /usr/lib64/libreoffice/program/libmergedlo.so
#31 0x00007ffff58a955e in desktop::Desktop::Main() () at /usr/lib64/libreoffice/program/libmergedlo.so
#32 0x00007ffff6872d06 in ImplSVMain() () at /usr/lib64/libreoffice/program/libmergedlo.so
#33 0x00007ffff6872e10 in SVMain() () at /usr/lib64/libreoffice/program/libmergedlo.so
#34 0x00007ffff58caf95 in soffice_main () at /usr/lib64/libreoffice/program/libmergedlo.so
#35 0x000055555555479b in main ()
(gdb)cont

Give the recovery dialog box, but another bt

Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in  ()
#1  0x00007ffff695e7c3 in OpenGLSalGraphicsImpl::doFlush() () at /usr/lib64/libreoffice/program/libmergedlo.so
#2  0x00007ffff69605bd in OpenGLFlushIdle::Invoke() () at /usr/lib64/libreoffice/program/libmergedlo.so
#3  0x00007ffff685ef81 in ImplSchedulerData::Invoke() [clone .part.5] () at /usr/lib64/libreoffice/program/libmergedlo.so
#4  0x00007ffff685f1c8 in Scheduler::ProcessTaskScheduling(bool) () at /usr/lib64/libreoffice/program/libmergedlo.so
#5  0x00007ffff686c432 in Application::Yield() () at /usr/lib64/libreoffice/program/libmergedlo.so
#6  0x00007ffff65d7ef6 in Dialog::Execute() () at /usr/lib64/libreoffice/program/libmergedlo.so
#7  0x00007ffff5d77cb1 in (anonymous namespace)::RecoveryUI::dispatchWithReturnValue(com::sun::star::util::URL const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) ()
    at /usr/lib64/libreoffice/program/libmergedlo.so
#8  0x00007ffff58a105e in desktop::(anonymous namespace)::impl_callRecoveryUI(bool, bool) () at /usr/lib64/libreoffice/program/libmergedlo.so
#9  0x00007ffff58a1839 in desktop::Desktop::Exception(ExceptionCategory) () at /usr/lib64/libreoffice/program/libmergedlo.so
#10 0x00007ffff6871517 in VCLExceptionSignal_impl(void*, oslSignalInfo*) () at /usr/lib64/libreoffice/program/libmergedlo.so
#11 0x00007ffff39b2032 in callSignalHandler(oslSignalInfo*) () at /usr/lib64/libreoffice/program/libuno_sal.so.3
#12 0x00007ffff39d743f in (anonymous namespace)::signalHandlerFunction(int) () at /usr/lib64/libreoffice/program/libuno_sal.so.3
#13 0x00007ffff362aae0 in <signal handler called> () at /lib64/libc.so.6
#14 0x0000000000000000 in  ()
#15 0x00007ffff695e7c3 in OpenGLSalGraphicsImpl::doFlush() () at /usr/lib64/libreoffice/program/libmergedlo.so
#16 0x00007ffff69605bd in OpenGLFlushIdle::Invoke() () at /usr/lib64/libreoffice/program/libmergedlo.so
#17 0x00007ffff685ef81 in ImplSchedulerData::Invoke() [clone .part.5] () at /usr/lib64/libreoffice/program/libmergedlo.so
#18 0x00007ffff685f1c8 in Scheduler::ProcessTaskScheduling(bool) () at /usr/lib64/libreoffice/program/libmergedlo.so
#19 0x00007ffff686c32c in Scheduler::ProcessEventsToIdle() () at /usr/lib64/libreoffice/program/libmergedlo.so
#20 0x00007ffff52175c6 in framework::Desktop::terminate() () at /usr/lib64/libreoffice/program/libmergedlo.so
#21 0x00007ffff559a015 in SfxApplication::MiscExec_Impl(SfxRequest&) () at /usr/lib64/libreoffice/program/libmergedlo.so
#22 0x00007ffff5616f5e in SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, bool) () at /usr/lib64/libreoffice/program/libmergedlo.so
#23 0x00007ffff561ba1e in SfxDispatcher::PostMsgHandler(SfxRequest*) () at /usr/lib64/libreoffice/program/libmergedlo.so
#24 0x00007ffff5801ee3 in SfxHintPoster::DoEvent_Impl(void*) () at /usr/lib64/libreoffice/program/libmergedlo.so
#25 0x00007ffff66765df in ImplWindowFrameProc(vcl::Window*, SalEvent, void const*) () at /usr/lib64/libreoffice/program/libmergedlo.so
#26 0x00007ffff6913cb7 in SalGenericDisplay::DispatchInternalEvent() () at /usr/lib64/libreoffice/program/libmergedlo.so
#27 0x00007fffe14b3530 in KDEXLib::timeoutActivated() () at /usr/lib64/libreoffice/program/libvclplug_kde4lo.so
#28 0x00007fffe14b5768 in KDEXLib::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib64/libreoffice/program/libvclplug_kde4lo.so
#29 0x00007fffdf183e81 in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4
#30 0x00007fffdf6ade6c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#31 0x00007fffdf6b4fd7 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#32 0x00007fffe08eea3a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#33 0x00007fffdf169e4e in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#34 0x00007fffdf16d01a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4
#35 0x00007fffdf199d7e in  () at /usr/lib64/libQtCore.so.4
#36 0x00007ffff0330b37 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#37 0x00007ffff0330d68 in  () at /usr/lib64/libglib-2.0.so.0
#38 0x00007ffff0330dfc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#39 0x00007fffdf199ee6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#40 0x00007fffdf7567c7 in  () at /usr/lib64/libQtGui.so.4
#41 0x00007fffe14b3477 in KDEXLib::processYield(bool, bool) () at /usr/lib64/libreoffice/program/libvclplug_kde4lo.so
#42 0x00007fffe14b51a0 in KDEXLib::Yield(bool, bool) () at /usr/lib64/libreoffice/program/libvclplug_kde4lo.so
#43 0x00007ffff686c41d in Application::Yield() () at /usr/lib64/libreoffice/program/libmergedlo.so
#44 0x00007ffff686e1b5 in Application::Execute() () at /usr/lib64/libreoffice/program/libmergedlo.so
#45 0x00007ffff58a955e in desktop::Desktop::Main() () at /usr/lib64/libreoffice/program/libmergedlo.so
#46 0x00007ffff6872d06 in ImplSVMain() () at /usr/lib64/libreoffice/program/libmergedlo.so
#47 0x00007ffff6872e10 in SVMain() () at /usr/lib64/libreoffice/program/libmergedlo.so
#48 0x00007ffff58caf95 in soffice_main () at /usr/lib64/libreoffice/program/libmergedlo.so
#49 0x000055555555479b in main ()

I've not installed all the debuginfo packages, but if needed that can be manageable just time and place ;-)

Tests done : If I remove libreoffice-kde4, the program behave correctly. No crash not flashing things etc (just awfull in hidpi plasm5).

If I remove the use of opengl / hardware acceleration the program behave correctly.

This is 100% reproductible.
Comment 6 Xisco Faulí 2017-06-16 14:15:02 UTC
Hello,
Is the crash still happening in 5.3.4 ?
http://www.libreoffice.org/download/download/?version=5.3.4
Comment 7 QA Administrators 2019-06-19 02:48:33 UTC Comment hidden (obsolete)
Comment 8 Xisco Faulí 2019-06-20 10:12:20 UTC
We don't have reports from LibreOffice 6.2 in https://crashreport.libreoffice.org/stats/signature/OpenGLSalGraphicsImpl::doFlush(), so most likely this issue is already fixed
Closing as RESOLVED WORKSFORME
@Daniel, please reopen this issue if you still reproduce it in LibreOffice 6.2 or higher.