retext.py crashed with SIGSEGV in operator&()

Bug #1504631 reported by Colan Schwartz
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtbase-opensource-src (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Crashed after resuming from a suspend, also unplugging external monitor.

ProblemType: Crash
DistroRelease: Ubuntu 15.04
Package: retext 5.0.2-1
ProcVersionSignature: Ubuntu 3.19.0-30.34-generic 3.19.8-ckt6
Uname: Linux 3.19.0-30-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.5
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Oct 9 13:49:23 2015
EcryptfsInUse: Yes
ExecutablePath: /usr/share/retext/retext.py
InterpreterPath: /usr/bin/python3.4
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/retext
SegvAnalysis:
 Segfault happened at: 0x7f3bd97c1497 <_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+2919>: mov 0x28(%rax),%rax
 PC (0x7f3bd97c1497) ok
 source "0x28(%rax)" (0x00000028) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: retext
StacktraceTop:
 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
Title: retext.py crashed with SIGSEGV in QWidgetPrivate::drawWidget()
UpgradeStatus: Upgraded to vivid on 2015-06-14 (116 days ago)
UserGroups: adm cdrom dip lp lpadmin plugdev sambashare staff sudo video whoopsie www-data

Revision history for this message
Colan Schwartz (colan) wrote :
description: updated
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 operator& (f=Qt::WindowType_Mask, this=<error reading variable: Cannot access memory at address 0x28>) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
 windowType (this=<optimized out>) at ../../include/QtWidgets/../../src/widgets/kernel/qwidget.h:744
 isWindow (this=0x0) at ../../include/QtWidgets/../../src/widgets/kernel/qwidget.h:752
 QWidgetPrivate::drawWidget (this=0x29a4660, pdev=0x2801a10, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2f3dd00) at kernel/qwidget.cpp:5541
 QWidgetPrivate::paintSiblingsRecursive (this=0x29bec00, pdev=0x0, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2f3dd00) at kernel/qwidget.cpp:5732

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in retext (Ubuntu):
importance: Undecided → Medium
summary: - retext.py crashed with SIGSEGV in QWidgetPrivate::drawWidget()
+ retext.py crashed with SIGSEGV in operator&()
tags: removed: need-amd64-retrace
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Thanks for the bug report!

This is an issue with screen handling in qtbase. This upstream commit fixes it: http://code.qt.io/cgit/qt/qtbase.git/commit/?id=f4b8697c40bd476e.

Timo, do you think you can cherry-pick it for Wily?

affects: retext (Ubuntu) → qtbase-opensource-src (Ubuntu)
Changed in qtbase-opensource-src (Ubuntu):
status: New → Triaged
description: updated
information type: Private → Public
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

@Dmitry: These parts of Qt were quite heavily refactored during Qt 5.5, so no one patch can get applied. With this patch there are quite big differences in qscreen.cpp, qxcbnativeinterface.cpp and qxcbwindow.cpp that I don't know how to resolve (without getting more related patches included).

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Then let's keep this bug open until we get Qt 5.5.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtbase-opensource-src - 5.5.1+dfsg-6ubuntu4

---------------
qtbase-opensource-src (5.5.1+dfsg-6ubuntu4) xenial; urgency=medium

  * Update symbols for s390x.

 -- Timo Jyrinki <email address hidden> Tue, 08 Dec 2015 13:35:46 +0000

Changed in qtbase-opensource-src (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

qtbase-opensource-src (5.5.1+dfsg-6ubuntu3) xenial; urgency=medium

  * debian/patches/enable-tests.patch:
    - Replace the non-DFSG-free RFC files with public domain content.
    - Adjust tests to the new files.
    (LP: #1522442)
  * debian/copyright: mention the replacement.
  * Switch to opt-in for architectures to run tests on.

 -- Timo Jyrinki <email address hidden> Mon, 07 Dec 2015 14:02:11 +0000

qtbase-opensource-src (5.5.1+dfsg-6ubuntu2) xenial; urgency=high

  * Skip largefile test on s390x too, in addition to amd64.
  * Make tests to keep going till the end with -k.

 -- Dimitri John Ledkov <email address hidden> Fri, 04 Dec 2015 16:54:28 +0000

qtbase-opensource-src (5.5.1+dfsg-6ubuntu1) xenial; urgency=medium

  * New upstream release. (LP: #1437206) (LP: #1450137) (LP: #1474313)
    (LP: #1470700) (LP: #1504631) (LP: #1423659) (LP: #1474775) (LP: #1508945)
  * Replace load_testability_from_env_var.patch with upstreamed
    Add-environment-variable-support-for-testability-lib.patch
  * Drop patches in upstream:
    - Correct-typo-in-the-Gujarati-openType-identififer.patch
  * Rebase enable-tests.patch. Disable one failing QtWidgets test.
  * Build depend on GStreamer 1.0 and add a configure option for it.
  * Update symbols.
  * Mark/unmark private symbols.
  * Replace two Ubuntu patches with upstreamed patches:
    - Drop disable-generic-plugin-when-others-available.patch, replace with
      Add-an-option-to-skip-the-generic-bearer-engine.patch
    - Drop qopenglframebufferobject_powervrworkaround.patch, replace with
      Blacklist-PowerVR-Rogue-G6200-v1.3-from-supporting-B.patch
  * debian/patches/Make-sure-networkAccessibilityChanged-is-emitted.patch:
    - Include a network fix from Qt 5.5 branch (merged after 5.5.1)
      (LP: #1470700)
  * debian/patches/Use-Node-name-if-Node-logicalModuleName-is-empty-for.patch:
    - Fix a qdoc issue (LP: #1447182)
  * Remove disable_overlay_scrollbars.diff as overlay scrollbars were dropped.
  * debian/patches/Prefer-QT_PLUGIN_PATH-over-compiled-in-paths.patch:
    - Backport. Prefer QT_PLUGIN_PATH over compiled-in paths (LP: #1519927)
  * debian/patches/Fix-crash-on-exit-caused-by-QStringLiterals.patch
    - Backport. Fix a crasher on exit (LP: #1436973)
  * Replace our workaround for font rendering with new backported upstream
    patches:
    - Add debian/patches/Fix-falsely-reported-style-for-fallback-font.patch
    - Add debian/patches/Remove-historical-4-padding-in-QFontEngine-alphaMapF.patch
    - Remove debian/patches/enable_fonts_always_smoothly.patch
      (LP: #1475205)

 -- Timo Jyrinki <email address hidden> Tue, 01 Dec 2015 06:16:35 +0000

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.