[Development] Too long text in qlabel crashes my gdm

Thiago Macieira thiago.macieira at intel.com
Fri Sep 30 00:00:30 CEST 2016


On quinta-feira, 29 de setembro de 2016 23:15:18 PDT André Pönitz wrote:
> That's something to ask the gdm folks. 2000 bytes in a QLabel might be
> unusual, but no reason to crash. Here (fvwm 2.6.5 on Ubuntu 16.04) it
> displays fine.

From the conversation in the linked thread, it looks like Qt tried to create a 
dialog that is too wide, so COGL failed to create the OpenGL texture. Then it 
crashed.

Workaround: limit the width of your dialog.

Fix: get the window manager to stop crashing. It can force Qt to accept a 
smaller size.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list