Page 1 of 1

V-Rep crashes after locking and unlocking Ubuntu.

Posted: 18 Oct 2016, 15:01
by bracco23
Hello,

I am using V-Rep PRO EDU 3.3.2 (rev. 3) 64 bit (serialization version 18) with Qt version 5.5.0.

The OS is Ubuntu 14.04 trusty, kernel and other info as reported from "uname -a" are:

Linux *randomname* 4.4.0-42-generic #62~14.04.1-Ubuntu SMP Fri Oct 7 23:15:48 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

When I attach a second screen to my laptop and put V-Rep window on the second screen and after that i lock my pc (with WinKey + L) after I unlock it i find that V-Rep crashed and with the following error:


0x1bc3290 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x1bd78b0) ): Attempt to set a screen on a child window.
0x1bc2ed0 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x1bd78b0) ): Attempt to set a screen on a child window.
0x1bbfe40 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x1bd78b0) ): Attempt to set a screen on a child window.
0x1318960 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x1bd78b0) ): Attempt to set a screen on a child window.
0x1b2b0a0 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x1bd78b0) ): Attempt to set a screen on a child window.
0x1b2b5b0 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x1bd78b0) ): Attempt to set a screen on a child window.
0x1bc0790 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x1bd78b0) ): Attempt to set a screen on a child window.


Usually the crash is not instantaneous, if Ilock and unlock right after it is still running, but if I lock and I wait a little bit I find it crashed.

I have not tried without a second screen but I heard there are some bugs related to Qt and second screens. (http://stackoverflow.com/questions/3354 ... g-messages)

Re: V-Rep crashes after locking and unlocking Ubuntu.

Posted: 12 May 2017, 16:34
by kleinash
Hi. I had this issue before - I had to solve it by switching off my screen rather than locking which is not ideal. That being said, I think it has to do with the XServer on my system, if you get anywhere with this pls post, I will do the same.