[Ubuntu-x-swat] [Bug 1318584] Re: qt crashed when switching video out mode to external or internal only mode

2014-07-10 Thread Chris Halse Rogers
Ok, I can reproduce the crash pretty easily here. Let's see what I can shake out with a full debug stack. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to libxcb in Ubuntu. https://bugs.launchpad.net/bugs/1318584 Title: qt crashed when

[Ubuntu-x-swat] [Bug 1318584] Re: qt crashed when switching video out mode to external or internal only mode

2014-07-10 Thread Chris Halse Rogers
So, the relevant madness appears to be: …snip all the glib detritus… ==30400== Invalid read of size 8 ==30400==at 0xE8587FB: QGLXContext::makeCurrent(QPlatformSurface*) (qglxintegration.cpp:333) ==30400==by 0x6339772: QOpenGLContext::makeCurrent(QSurface*) (qopenglcontext.cpp:812)

[Ubuntu-x-swat] [Bug 1318584] Re: qt crashed when switching video out mode to external or internal only mode

2014-07-10 Thread Chris Halse Rogers
So, it looks like there's a race between the destruction of an QXcbScreen in response to a RANDR event in handleXcbEvent and (a) expose handling and (b) some timer. I'll forward this upstream and might let someone more familiar with Qt take over. -- You received this bug notification because you

[Ubuntu-x-swat] [Bug 1318584] Re: qt crashed when switching video out mode to external or internal only mode

2014-07-10 Thread Maarten Lankhorst
On utopic when I disable the active screen I get the following backtrace: pure virtual method called terminate called without an active exception Program received signal SIGABRT, Aborted. 0x74e4c117 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56

[Ubuntu-x-swat] [Bug 1318584] Re: qt crashed when switching video out mode to external or internal only mode

2014-07-10 Thread Timo Jyrinki
For completeness sake, here's mine on Latitude D630 (Intel 965GM graphics), also inside qglxintegration.cpp but slightly different. Program received signal SIGSEGV, Segmentation fault. 0x7fffee0aa81c in QGLXContext::swapBuffers (this=0x81d790, surface=0x638450) at qglxintegration.cpp:392

[Ubuntu-x-swat] [Bug 1318584] Re: qt crashed when switching video out mode to external or internal only mode

2014-07-10 Thread Maarten Lankhorst
It seems display driver is not important, I always hit this bug it seems, on nvidia, nouveau, radeon and intel. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to libxcb in Ubuntu. https://bugs.launchpad.net/bugs/1318584 Title: qt crashed when

[Ubuntu-x-swat] [Bug 1318584] Re: qt crashed when switching video out mode to external or internal only mode

2014-07-10 Thread Maarten Lankhorst
I think it only depends on whether opengl acceleration is enabled whether you get the former or latter behavior. ** No longer affects: libxcb (Ubuntu) -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to libxcb in Ubuntu.

[Ubuntu-x-swat] [Bug 1318584] Re: qt crashed when switching video out mode to external or internal only mode

2014-07-09 Thread Timo Jyrinki
** Also affects: libxcb (Ubuntu) Importance: Undecided Status: New ** Description changed: - checkbox-gui crashed with following console outputs: pure virtual method called terminate called without an active exception Aborted (core dumped) Steps to reproduce: 1.

[Ubuntu-x-swat] [Bug 1318584] Re: qt crashed when switching video out mode to external or internal only mode

2014-07-09 Thread Timo Jyrinki
Unfortunately the two patches I cherry-picked for qtbase do not seem to fix the problem for me on that Dell laptop where I'm able to reproduce the problem. I also included updated libxcb since I saw http://cgit.freedesktop.org/xcb/libxcb/commit/?id=be0fe56c3bcad5124dcc6c47a2fad01acd16f71a