[Qt-interest] Application compiled with Qt 4.5.1 causes X11 server to die
Srdjan Todorovic
todorovic.s at googlemail.com
Fri May 8 00:29:06 CEST 2009
Hi,
2009/5/7 Thiago Macieira <thiago.macieira at trolltech.com>:
> Srdjan Todorovic wrote:
>>I've got an application that paints many points on a QWidget, using
>>QPainter::drawPolygon(), and when run with the GSHHS high detail data
>>set, causes X11 under Linux to restart (screen goes blank for a
>>second, then I am presented with the KDM login prompt).
>
>>Any ideas what could be causing this?
>
> Yes: a bug in the X server or a bug in the driver. There's no operation
> that any application can do which results in the X server restarting under
> normal conditions. So, no matter what the application does, the X server
> should not restart.
True.
With Qt 4.2.2:
(gdb) bt
#0 0x00000000004db647 in miFillGeneralPoly ()
#1 0x00007fc26d2266ab in ?? () from
/usr/lib64/xorg/modules/drivers//nvidia_drv.so
#2 0x000000000051d5d3 in ?? ()
#3 0x0000000000444bf3 in ProcFillPoly ()
#4 0x0000000000447b80 in Dispatch ()
#5 0x000000000043035d in main ()
(gdb)
This does also happen if Xorg uses the vesa drivers (but have not
obtained a trace in that circumstance).
These functions appear to be from the X server.
I'll investigate and pursue this elsewhere.
Thanks
Srdjan
More information about the Qt-interest-old
mailing list