(2016-06-25, 0:11)Trevor Sandy Wrote: With this code, the application will launch without issue the first time. Once I move the window (let's say to another screen - Point(4121 161)) the application will crash. It is as if the pos coordinates become out of bounds or something.
The debugger points to a ScopedPointer problem relates to window management but I can't make heads or tails about where the problem is starting from. The picture below show a view of the debugger at the segmentation fault.
The interesting thing is when I disable the above code the crash is no longer consistent but becomes intermittent - as I have described it above and in the release notes.
The debugging prompt when you encounter the error is just the operating system recognizing that a crash dump file is available and prompting the user to launch whichever application on the system that is designated for debugging.
This all seems far outside normal LPub related code (resize event). So it might be a Qt bug concerning multiple screens?
The stack trace suggests it fails while creating a QRect (http://doc.qt.io/qt-5/qscreen.html#geometry-prop) by using an invalid scoped pointer object's raw pointer (http://doc.qt.io/qt-5/qscopedpointer.html#data).
Or...
I do remember Qt's OpenGL stuff can get confused when doing your own GL stuff (e.g. binding VBO buffers without resetting it to zero afterwards etc). so something like that might be at play too.
Good luck hunting