xpra icon
Bug tracker and wiki

Opened 6 years ago

Closed 6 years ago

#571 closed defect (fixed)

Can't start Qt 4.8.4 applications

Reported by: rikky Owned by: Antoine Martin
Priority: critical Milestone:
Component: core Version: 0.12.x
Keywords: Cc:

Description (last modified by Antoine Martin)

Qt 4.8.4 applications crash on startup with:

ASSERT: "uint(i) < uint(size())" in file ../../include/QtCore/../../src/corelib/tools/qstring.h, line 677

I had this crash for many Xpra versions, but looked into it a bit further now. It is related to Qt getting window properties by calling XGetWindowProperty. The properties have an additional '\n', which causes the crash. I guess Qt is at fault here, but I can't update Qt for these apps and fixed it by removing the additional new line from xpra's server.py.

Attachments (1)

server_hints.patch (437 bytes) - added by rikky 6 years ago.

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by rikky

Attachment: server_hints.patch added

comment:1 Changed 6 years ago by Antoine Martin

Description: modified (diff)
Priority: minorcritical
Resolution: fixed
Status: newclosed

Well, that's a major problem, I can't believe no one has reported until now.

Thanks for the patch, applied to trunk in r6458 and v0.12.x in r6459.

Note: See TracTickets for help on using tickets.