[Interest] Crash with Qt application that use OpenGL

Xavier Bigand flamaros.xavier at gmail.com
Fri Apr 21 14:51:39 CEST 2017

Hi Oliver,

All other applications that crash at startup on the hardware on which we
also have the issue are made with Qt, games and all other applications are
running fine.
We finally found that it is specific to the latest Nvidia driver 381.65 and
at least geforce 1070 and 1060, we have tested on an other computer with a
1080 and the same driver version that doesn't have the issue.

OpenGL Nvidia drivers often crash with bad inputs, and you are right it is
boring because in this case we can't use Nsight or other things to debug.

There is a lot of wrong OpenGL commands that can generate a good result
depending on drivers and hardware. This is the case with FBO on that we can
read and write at the same time with Nvidia and AMD GPUs, but not with
Intel ones. I think that is because Nividia or AMD have some code that fix
some common wrong commands in their driver to make OpenGL easier to use.

I will fill a bug to Nvidia.

Thank you all.

2017-04-21 12:59 GMT+02:00 Till Oliver Knoll <till.oliver.knoll at gmail.com>:

> > Am 20.04.2017 um 21:04 schrieb Xavier Bigand <flamaros.xavier at gmail.com
> >:
> >
> > It is not necessary a bug from Nvidia, it can comes from bad parameters
> to functions like glDrawElements. Nividia drivers don't check a lot the
> parameters and given wrong values can cause buffer overflows,...
> Still a bug in nVidia code then. Again, an OpenGL driver is *not* supposed
> to crash, even with bad input. That's what the OpenGL standard mandates...
> And buffer overflows, God beware :) Report this to nVidia asap (you might
> get a reward for discovering a security hole ;)).
> Cheers,
>   Oliver
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170421/2019e5e1/attachment.html>

More information about the Interest mailing list