[Interest] Crash with Qt application that use OpenGL

Xavier Bigand flamaros.xavier at gmail.com
Fri Apr 21 11:47:22 CEST 2017


Here is the trace.

I don't know if it is an error from the Nvidia drivers or Qt.

2017-04-20 23:01 GMT+02:00 Xavier Bigand <flamaros.xavier at gmail.com>:

> Ok, Thank you for suggestions Sergio, I also never used Apitrace.
>
> The black list seems to be a good thing even if it can't work for us as
> for the moment we have our homebrew 3D engine that directly call opengl.
> If you have tips to migrate our engine to Angle I will be interested
> because the last time I took a look I fell on build issues with glew and
> other dependencies we have that also includes opengl headers.
>
>
> Angle seems the way we should take to improve compatibility of our
> application under Windows, we have few other issues that might be related
> to OpenGL. I hope that Vulkan will get a better support under Windows as it
> seems much more well defined.
>
>
>
>
>
> 2017-04-20 21:23 GMT+02:00 Sergio Martins <sergio.martins at kdab.com>:
>
>> On 2017-04-20 20:04, Xavier Bigand wrote:
>>
>>> It is not necessary a bug from Nvidia, it can comes from bad
>>> parameters to functions like glDrawElements.
>>>
>>
>> Could be, but you'll have to prove it.
>>
>> I suggest:
>> - Create a minimal-testcase which reproduces the problem
>> - Run apitrace on it [1] (Never used it on Windows, but there are
>> binaries for it)
>> - Re-run the trace under apitrace, hopefully it crashes
>> - Check if your hypothesis is correct (bad glDrawElements)
>> - If it's an nvidia bug: Report to Nvidia, attach trace
>> - If it's an nvidia bug: Open a Qt bug report so the card can be
>> blacklisted
>> - If it's non an nvidia bug: Report a regular Qt bug so it can be fixed,
>> attach trace
>>
>>
>>
>> [1] - http://apitrace.github.io/#download
>>
>> Regards,
>> --
>> SĂ©rgio Martins | sergio.martins at kdab.com | Senior Software Engineer
>> Klarälvdalens Datakonsult AB, a KDAB Group company
>> Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
>> KDAB - The Qt, C++ and OpenGL Experts
>>
>
>
>
> --
> Xavier
>



-- 
Xavier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170421/ba680061/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HomeDesignd-crash.trace
Type: application/octet-stream
Size: 965 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170421/ba680061/attachment.obj>


More information about the Interest mailing list