Deleting a QRasterWindow crashes

Bug #1665705 reported by Albert Astals Cid on 2017-02-17
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qtubuntu (Ubuntu)
Critical
Gerry Boland

Bug Description

The attached program crashes when run under unity8/qtubuntu, works fine with other QPAs

terminal log says "pure virtual method called"

Related branches

lp:~gerboland/qtubuntu/delete-qraster-crash
Albert Astals Cid: Approve on 2017-02-21
Unity8 CI Bot: Approve (continuous-integration) on 2017-02-21
Albert Astals Cid (aacid) wrote :
Gerry Boland (gerboland) on 2017-02-17
Changed in qtubuntu (Ubuntu):
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Gerry Boland (gerboland)
Gerry Boland (gerboland) wrote :

Yep can reproduce easily. Obvious fix is to remove the makeCurrent call from the BackingStore destructor, but that undoes a previous fix I made for surface resizing errors. I need to study the other QPAs to see what they do

Gerry Boland (gerboland) on 2017-02-21
Changed in qtubuntu:
status: New → In Progress
Changed in qtubuntu (Ubuntu):
status: Confirmed → In Progress
Changed in qtubuntu:
importance: Undecided → Critical
assignee: nobody → Gerry Boland (gerboland)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtubuntu - 0.64+17.04.20170308-0ubuntu1

---------------
qtubuntu (0.64+17.04.20170308-0ubuntu1) zesty; urgency=medium

  [ Gerry Boland ]
  * Implement QPlatformWindow::setMask and add support for special InputMethod
    window type
  * BackingStore: make current only if no existing context current (LP:
    #1665705)

  [ Albert Astals Cid ]
  * Implement UbuntuAppMenuTheme::createPlatformSystemTrayIcon
  * Register metatype used in queued invokeMethod
  * Make sure mMimeData doesn't point to already deleted memory
  * Initialize m_tag

 -- Michał Sawicz <email address hidden> Wed, 08 Mar 2017 11:59:55 +0000

Changed in qtubuntu (Ubuntu):
status: In Progress → Fix Released
Michał Sawicz (saviq) on 2017-03-13
Changed in qtubuntu:
status: In Progress → Fix Released
Michał Sawicz (saviq) on 2017-03-13
no longer affects: qtubuntu
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments