Bug 1397890 - [abrt] git-cola: QObject::disconnect(QObject const*, char const*, QObject const*, char const*)(): python3.5 killed by SIGSEGV
Summary: [abrt] git-cola: QObject::disconnect(QObject const*, char const*, QObject con...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: git-cola
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nikos Roussos
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:caf1179658ac7a8597a2de90309...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-23 14:08 UTC by Gwendal
Modified: 2017-05-09 09:16 UTC (History)
6 users (show)

Fixed In Version: git-cola-2.9-1.fc25 git-cola-2.10-1.fc24
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-25 17:22:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (84.57 KB, text/plain)
2016-11-23 14:08 UTC, Gwendal
no flags Details
File: cgroup (148 bytes, text/plain)
2016-11-23 14:08 UTC, Gwendal
no flags Details
File: core_backtrace (2.06 KB, text/plain)
2016-11-23 14:08 UTC, Gwendal
no flags Details
File: dso_list (24.02 KB, text/plain)
2016-11-23 14:09 UTC, Gwendal
no flags Details
File: environ (1.11 KB, text/plain)
2016-11-23 14:09 UTC, Gwendal
no flags Details
File: exploitable (112 bytes, text/plain)
2016-11-23 14:09 UTC, Gwendal
no flags Details
File: limits (1.29 KB, text/plain)
2016-11-23 14:09 UTC, Gwendal
no flags Details
File: maps (109.42 KB, text/plain)
2016-11-23 14:09 UTC, Gwendal
no flags Details
File: mountinfo (3.58 KB, text/plain)
2016-11-23 14:09 UTC, Gwendal
no flags Details
File: namespaces (102 bytes, text/plain)
2016-11-23 14:09 UTC, Gwendal
no flags Details
File: open_fds (1.49 KB, text/plain)
2016-11-23 14:09 UTC, Gwendal
no flags Details
File: proc_pid_status (1.12 KB, text/plain)
2016-11-23 14:09 UTC, Gwendal
no flags Details
File: var_log_messages (28 bytes, text/plain)
2016-11-23 14:09 UTC, Gwendal
no flags Details
Force QT_API version to PyQT4. (898 bytes, patch)
2017-01-16 12:39 UTC, Olivier Samyn
no flags Details | Diff
Spec patch to include the proposed 'force pyqt4' patch. (809 bytes, patch)
2017-01-16 12:40 UTC, Olivier Samyn
no flags Details | Diff

Description Gwendal 2016-11-23 14:08:50 UTC
Version-Release number of selected component:
git-cola-2.8-1.fc25

Additional info:
reporter:       libreport-2.8.0
backtrace_rating: 4
cmdline:        /usr/bin/python3 /usr/bin/git-cola --prompt
crash_function: QObject::disconnect(QObject const*, char const*, QObject const*, char const*)
executable:     /usr/bin/python3.5
global_pid:     18365
kernel:         4.8.7-300.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 1 Gwendal 2016-11-23 14:08:56 UTC
Created attachment 1223248 [details]
File: backtrace

Comment 2 Gwendal 2016-11-23 14:08:57 UTC
Created attachment 1223249 [details]
File: cgroup

Comment 3 Gwendal 2016-11-23 14:08:59 UTC
Created attachment 1223250 [details]
File: core_backtrace

Comment 4 Gwendal 2016-11-23 14:09:01 UTC
Created attachment 1223251 [details]
File: dso_list

Comment 5 Gwendal 2016-11-23 14:09:02 UTC
Created attachment 1223252 [details]
File: environ

Comment 6 Gwendal 2016-11-23 14:09:04 UTC
Created attachment 1223253 [details]
File: exploitable

Comment 7 Gwendal 2016-11-23 14:09:05 UTC
Created attachment 1223254 [details]
File: limits

Comment 8 Gwendal 2016-11-23 14:09:07 UTC
Created attachment 1223255 [details]
File: maps

Comment 9 Gwendal 2016-11-23 14:09:09 UTC
Created attachment 1223256 [details]
File: mountinfo

Comment 10 Gwendal 2016-11-23 14:09:10 UTC
Created attachment 1223257 [details]
File: namespaces

Comment 11 Gwendal 2016-11-23 14:09:11 UTC
Created attachment 1223258 [details]
File: open_fds

Comment 12 Gwendal 2016-11-23 14:09:13 UTC
Created attachment 1223259 [details]
File: proc_pid_status

Comment 13 Gwendal 2016-11-23 14:09:14 UTC
Created attachment 1223260 [details]
File: var_log_messages

Comment 14 Fedora Update System 2016-11-23 15:21:09 UTC
git-cola-2.9-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-3318eed1a6

Comment 15 Fedora Update System 2016-11-23 15:21:23 UTC
git-cola-2.9-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-09cafa38bc

Comment 16 Fedora Update System 2016-11-23 15:21:32 UTC
git-cola-2.9-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-075202795f

Comment 17 Fedora Update System 2016-11-23 15:21:40 UTC
git-cola-2.9-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-59d15cf0ab

Comment 18 Fedora Update System 2016-11-24 13:12:00 UTC
git-cola-2.9.1-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-1da09160bc

Comment 19 Fedora Update System 2016-11-24 13:12:17 UTC
git-cola-2.9.1-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-e61dc31ab7

Comment 20 Fedora Update System 2016-11-24 13:12:30 UTC
git-cola-2.9.1-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8844989ce8

Comment 21 Fedora Update System 2016-11-24 22:58:03 UTC
git-cola-2.9.1-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-e61dc31ab7

Comment 22 David Aguilar 2016-11-25 05:35:52 UTC
This looks like QTBUG-52988

https://bugreports.qt.io/browse/QTBUG-52988

If you can, please file an issue against the qt5 package so that we can make sure this gets fixed upstream.

In our README we mention that we still recommend Qt4 because of the crash-on-exit bug, but we really hope this gets fixed upstream soon!

Comment 23 David Aguilar 2016-11-25 05:41:28 UTC
For users that might stumble upon this bug, there is a workaround.
We can force the use of Qt4 (via PyQt4) by setting the QT_API environment variable to "pyqt4":

    env QT_API=pyqt4 git cola

You'll need to have the PyQt4 package installed.

QT_API is a feature provided by the QtPy library.
See their readme for more details at https://github.com/spyder-ide/qtpy

Comment 24 Gwendal 2016-11-25 08:21:22 UTC
Thanks for the answers! I won't really need the env variable since this crash is really not troublesome, but I did put a comment as you suggested on the upstream bug here: https://bugreports.qt.io/browse/QTBUG-52988

Comment 25 Fedora Update System 2016-11-25 09:40:24 UTC
git-cola-2.9.1-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8844989ce8

Comment 26 Fedora Update System 2016-11-25 09:42:12 UTC
git-cola-2.9-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-075202795f

Comment 27 Fedora Update System 2016-11-27 16:23:34 UTC
git-cola-2.9.1-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-1da09160bc

Comment 28 Fedora Update System 2017-01-11 07:22:42 UTC
git-cola-2.9-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 29 Fedora Update System 2017-01-14 18:17:05 UTC
git-cola-2.10-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-840d6bddbc

Comment 30 Fedora Update System 2017-01-15 11:20:32 UTC
git-cola-2.10-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-840d6bddbc

Comment 31 Olivier Samyn 2017-01-16 12:39:25 UTC
Created attachment 1241215 [details]
Force QT_API version to PyQT4.

Although the git-cola package depends on PyQT4, if you have python3-qt5 installed, this is the version that will be used.

As a temporary solution(waiting for qt5 bug solution), here is a patch to the 2.10 packages to force PyQT4 use.

The patch just setup the QT_API environment variable in the git-cola and git-dag scripts.

Comment 32 Olivier Samyn 2017-01-16 12:40:13 UTC
Created attachment 1241216 [details]
Spec patch to include the proposed 'force pyqt4' patch.

Comment 33 Fedora Update System 2017-04-25 17:22:18 UTC
git-cola-2.10-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.