[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 --- Comment #23 from Bojan--- Forgot to mentioned LO version which is 5.3.1.2 release. Bojan -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 --- Comment #22 from Bojan--- I too have same problem. openSuSE Leap 42.2.2, KDE Plasma 5.9.3, KDE Frameworks 5.32.0, Qt 5.8.0, Kernel 4.4.49-16-default, 64 bit, NVIDIA K2000 (driver 375.39) LO crashes on launch with opengl enabled. Tried with a brand new LO profile with the same result. Bojan -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 Kip Warnerchanged: What|Removed |Added CC||k...@thevertigo.com --- Comment #21 from Kip Warner --- Created attachment 131345 --> https://bugs.documentfoundation.org/attachment.cgi?id=131345=edit glxinfo on a GeForce GTX 960/PCIe/SSE2 I too am experiencing the same problem: $ soffice --writer soffice.bin: Couldn't find current GLX or EGL context. $ soffice --version LibreOffice 5.3.0.3 30m0(Build:3) My glxinfo is attached. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 Aron Budeachanged: What|Removed |Added Status|NEEDINFO|NEW CC||ba...@caesar.elte.hu Severity|normal |major -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 Buovjagachanged: What|Removed |Added CC||elem...@elementsofsound.org --- Comment #20 from Buovjaga --- *** Bug 101968 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 --- Comment #19 from Markus Mohrhard--- (In reply to Silviu C. from comment #18) > Created attachment 123013 [details] > debug build crash log LibreOfficeDev 5.2.0.0.alpha0 > > This contains the output of running > > LibreOfficeDev 5.2.0.0.alpha0 1b6a84a5a24e7e02c6066ca0fcb5a0011d2decd6 > > invoked with > > SAL_LOG=1 ./soffice --writer > allout.txt 2>&1 > > Link to the where I found the build: > > http://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@70-TDF- > dbg/2016-02-24_07.29.17/ I would guess that the problem is once again in info:vcl.opengl:29286:1:vcl/source/opengl/OpenGLContext.cxx:747: created a 3.2 core context So my old code to create a core context is most likely picking a wrong fbc and therefore generating the context fails. I think some drivers/vendors are a lot more picky than others when it comes to bad combination of drawable and fbc. I think at some point we need to clean that up. It was written when I was still very new to OpenGL. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 --- Comment #18 from Silviu C.--- Created attachment 123013 --> https://bugs.documentfoundation.org/attachment.cgi?id=123013=edit debug build crash log LibreOfficeDev 5.2.0.0.alpha0 This contains the output of running LibreOfficeDev 5.2.0.0.alpha0 1b6a84a5a24e7e02c6066ca0fcb5a0011d2decd6 invoked with SAL_LOG=1 ./soffice --writer > allout.txt 2>&1 Link to the where I found the build: http://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@70-TDF-dbg/2016-02-24_07.29.17/ -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 Michael Meekschanged: What|Removed |Added Status|NEW |NEEDINFO --- Comment #17 from Michael Meeks --- Its amazing =) I can't imagine that a new driver would have a NULL glGenFramebuffers. Hmm. Any chance you can get a dbgutil build (these are usually quite a large download) and get the console output from: SAL_LOG=1 ./soffice --writer or whatever with GL enabled; that should help us go a bit further; but ... this guy is quite odd. More ideally - it'd be nice to have the crash in gdb [ which looks like a simple NULL ptr de-reference ] and ... I fear bug#97700 makes any testing on 5.1.0* hard to predict anyway; we can corrupt memory without valgrind seeing =) Could you re-test with 5.1.1.2 ? =) -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 --- Comment #16 from Silviu C.--- (In reply to Michael Meeks from comment #14) > I imagine the problem is that your driver has a NULL 'glGenFramebuffers' > method - which we call via glew. I guess we should check for that and > disable GL. > I assume your drivers are horribly old (?) =) On the contrary. I was using the latest 361.28 nvidia blob for Linux. Today I got the same crash with nvidia's 355.00.28 Linux driver which is the build with Vulkan support (trying out The Talos Principle VK mode :) ) -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 Michael Meekschanged: What|Removed |Added CC||markus.mohrhard@googlemail. ||com --- Comment #15 from Michael Meeks --- We can check for this in the GLEW init and return false if we fail (all well and good) - but then that is not actually checked: rtl::Reference X11OpenGLSalGraphicsImpl::CreateWinContext() { X11WindowProvider *pProvider = dynamic_cast (mrParent.m_pFrame); if( !pProvider ) return nullptr; Window aWin = pProvider->GetX11Window(); rtl::Reference pContext = OpenGLContext::Create(); pContext->setVCLOnly(); pContext->init( mrParent.GetXDisplay(), aWin, mrParent.m_nXScreen.getXScreen() ); return pContext; } Which is lame ... I guess we should be doing this inside: bool OpenGLHelper::isVCLOpenGLEnabled() To check whether we can in fact initialize this (or not) before we get much further. If this method returns true - we assume that we can get GL up and running; so we need to do a deeper probe and sanity check in there (I guess). Hmm =) shouldn't be too hard I hope. Still - I'm glad the crash handler is doing its job nicely for you. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 Michael Meekschanged: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #14 from Michael Meeks --- Well; I imagine gdb and valgrind are confused by the constructor or something: pFramebuffer = new OpenGLFramebuffer(); is the line; and the (out of line) constructor is: OpenGLFramebuffer::OpenGLFramebuffer() : mnId( 0 ), mnWidth( 0 ), mnHeight( 0 ), mnAttachedTexture( 0 ), mpPrevFramebuffer( nullptr ), mpNextFramebuffer( nullptr ) { glGenFramebuffers( 1, ); CHECK_GL_ERROR(); VCL_GL_INFO( "Created framebuffer " << (int)mnId ); } but I guess (libmerged LTO magic) this gets inlined in its only call site even across translation units. I imagine the problem is that your driver has a NULL 'glGenFramebuffers' method - which we call via glew. I guess we should check for that and disable GL. I assume your drivers are horribly old (?) =) -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 Silviu C.changed: What|Removed |Added Status|NEEDINFO|UNCONFIRMED Ever confirmed|1 |0 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 --- Comment #13 from Silviu C.--- Created attachment 122960 --> https://bugs.documentfoundation.org/attachment.cgi?id=122960=edit Valgrind OGL crash log Attaching a --verbose log I captured with valgrind. Regrading the 5.1.1 rc trace, I will be able to do that once it's actually in the repos I assume. The nightly builds have no debug info as far as I can see. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 --- Comment #12 from Michael Meeks--- unfortunately the back-trace with symbols (which is great - it looks like calling a virtual / null function somehow) seems rather odd: #1 0x768b9bb5 in OpenGLContext::AcquireFramebuffer (this=0x174b300, rTexture=...) at /build/libreoffice-slmnDx/libreoffice-5.1.0~rc3/vcl/source/opengl/OpenGLContext.cxx:1649 #2 0x768b027f in OpenGLSalGraphicsImpl::CheckOffscreenTexture (this=this@entry=0x171ee30) at /build/libreoffice-slmnDx/libreoffice-5.1.0~rc3/vcl/opengl/gdiimpl.cxx:477 but at line 1649 in 5.1.0.3 we have: if( !pFramebuffer && mnFramebufferCount < MAX_FRAMEBUFFER_COUNT ) { mnFramebufferCount++; *** pFramebuffer = new OpenGLFramebuffer(); *** if( mpLastFramebuffer ) { pFramebuffer->mpPrevFramebuffer = mpLastFramebuffer; A simple constructor - so ... it is very unclear how that could be NULL. Most odd. Perhaps running in valgrind would help. It'd also be great to get a trace from 5.1.1.rc1 (or even 2 coming soon) if possible. It looks like a simple NULL ptr de-reference which (I'd hope) would be easy to fix - but we need a newer version to poke at I think. Thanks ! -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 Michael Meekschanged: What|Removed |Added Status|UNCONFIRMED |NEEDINFO Ever confirmed|0 |1 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 Silviu C.changed: What|Removed |Added Status|NEEDINFO|UNCONFIRMED Ever confirmed|1 |0 --- Comment #11 from Silviu C. --- No dice. Trace files turn up empty and the application still crashes :/ Even tried doing it the "hard" way: - LD_PRELOAD=/usr/lib/x86_64-linux-gnu/apitrace/wrappers/glxtrace.so /usr/lib/libreoffice/program/soffice.bin ** (process:11154): WARNING **: require a newer gtk than 3.10 for theme expectations apitrace: tracing to /home/silviu/soffice.bin.8.trace (soffice:11154): Gdk-WARNING **: gdk_window_set_icon_list: icons too large Application Error - Still ended up with a 0 byte trace file. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 Michael Meekschanged: What|Removed |Added Status|NEW |NEEDINFO Blocks||97937 --- Comment #10 from Michael Meeks --- That it crashes, and disables GL in doing so is rather a feature =) It would be interesting to install 'apitrace' which is a useful tool, and to run: apitrace trace soffice.bin while running in GL mode. If then using qapitrace you can get the trace to crash the tracing app - then we can isolate the problem as an OpenGL driver issue and re-file (with the trace) up-stream =) Thanks ! -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 --- Comment #9 from Silviu C.--- Created attachment 122927 --> https://bugs.documentfoundation.org/attachment.cgi?id=122927=edit backtrace with symbols LO 5.1.0 rc3 As LO 5.1.0 packages hit the official PPA today, I installed the libreoffice-dbg package and ran soffice --backtrace LO still crashes when activating "Use OpenGL for all rendering" -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 --- Comment #5 from Silviu C.--- Created attachment 121985 --> https://bugs.documentfoundation.org/attachment.cgi?id=121985=edit result of running soffice --backtrace -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 Silviu C.changed: What|Removed |Added Status|NEEDINFO|UNCONFIRMED Ever confirmed|1 |0 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 Michael Meekschanged: What|Removed |Added Status|UNCONFIRMED |NEEDINFO Ever confirmed|0 |1 --- Comment #3 from Michael Meeks --- Oh - also, bug title says "crash on launch", but bug text says "crash on exit" - is it launch, or exit ? =) Thanks ! -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 --- Comment #2 from Michael Meeks--- Oooh - nice =) what is the hash of your build from Help->about ? - or is it RC2 ? Some idea of your GPU would be nice. Even more ideal would be a windbg stack-trace if we have one - ideally with symbols (?) =) with that we can nail this down much more quickly instructions are here: https://wiki.documentfoundation.org/How_to_get_a_backtrace_with_WinDbg Many thanks ! -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 --- Comment #4 from Silviu C.--- Oh gosh. I'm sorry. I really should stop writing bug reports at midnight :/ Anyway, the crash happens on launch. LO build info: Version: 5.1.0.2 Build ID: ecd3574d51754b043f865cf5bafee286d24db7cc CPU Threads: 4; OS Version: Linux 4.3; UI Render: default; Locale: en-US (en_US.UTF-8) I tried with the Jan 15 daily and the same crash on launch happened. My video card is a GTX 660 and I'm using the 352.63 driver (long lived branch) Could I provide a useful stack-trace using GDB? I'll attach what I got in the meantime by running soffice --backtrace. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 thack...@nexgo.de changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #6 from thack...@nexgo.de --- Hello Silviu, *, I can confirm it with LO Version: 5.0.4.2 Build-ID: 00m0(Build:2) Gebietsschema: de-DE (de_DE.UTF-8) on Debian Testing AMD64, but not with Version: 5.1.0.2 Build-ID: ecd3574d51754b043f865cf5bafee286d24db7cc CPU Threads: 4; OS Version: Linux 4.3; UI Render: GL; Gebietsschema: de-DE (de_DE.UTF-8) (parallel installed, following the instructions from https://wiki.documentfoundation.org/Installing_in_parallel/Linux) with de-DE lang- as well as helppack. My video chip is an Intel HD Graphics 4400 and NVidia GeForce 840M (which I am not able to get it work ... :( ). I am using xserver-xorg-video-intel 2.99.917-2, if this is important ... ;) I will attach a backtrace as well as a trace afterwards. If someone here needs any further info, feel free to ask :) HTH Thomas. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 --- Comment #8 from thack...@nexgo.de --- Created attachment 122003 --> https://bugs.documentfoundation.org/attachment.cgi?id=122003=edit zipped trace Zipped "soffice --strace"log, as the unzipped one is 13MiB in size ... :( -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 --- Comment #7 from thack...@nexgo.de --- Created attachment 122001 --> https://bugs.documentfoundation.org/attachment.cgi?id=122001=edit "soffice --backtrace" output My "soffice --backtrace" output, after enabling OpenGL in LO's Options dialog, restarting LO, and starting Writer ... -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 Silviu C.changed: What|Removed |Added Hardware|All |x86-64 (AMD64) OS|All |Linux (All) -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97160] Selecting OpenGL causes applications to crash on launch
https://bugs.documentfoundation.org/show_bug.cgi?id=97160 --- Comment #1 from Silviu C.--- Might be related to this bug: https://bugs.documentfoundation.org/show_bug.cgi?id=96546 which appears to be fixed on Windows -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs