python-qt4 applications crash since 4.9-2ubuntu2

Bug #922721 reported by Felix Geyer
62
This bug affects 10 people
Affects Status Importance Assigned to Milestone
pykde4 (Ubuntu)
Fix Released
Critical
Unassigned
python-kde4 (Debian)
Fix Released
Unknown

Bug Description

All applications that use python-qt4 seem to crash since version 4.9-2ubuntu2.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: printer-applet 4:4.8.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-10.18-generic 3.2.1
Uname: Linux 3.2.0-10-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Fri Jan 27 18:16:04 2012
ExecutablePath: /usr/share/kde4/apps/printer-applet/printer-applet.py
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: python /usr/bin/printer-applet
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LC_TIME=de_DE.UTF-8
 SHELL=/bin/zsh
Registers: Attempt to extract a component of a value that is not a structure pointer.
SegvAnalysis: Skipped: missing required field "Disassembly"
Signal: 11
SourcePackage: printer-applet
StacktraceTop:

Title: printer-applet.py crashed with SIGSEGV
UpgradeStatus: Upgraded to precise on 2012-01-23 (3 days ago)
UserGroups: adm admin cdrom dialout fuse lpadmin plugdev sambashare

Related branches

Revision history for this message
Felix Geyer (debfx) wrote :
affects: printer-applet (Ubuntu) → python-qt4 (Ubuntu)
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 createClassType (client=0x7f5f1a4d7340, ctd=0x7f5f1a4e67e0, mod_dict=Traceback (most recent call last):
 sip_api_init_module (client=0x7f5f1a4d7340, mod_dict=Traceback (most recent call last):
 initkdecore () at sip/kdecore/sipkdecorepart0.cpp:5361
 _PyImport_LoadDynamicModule ()
 import_submodule ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in python-qt4 (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Felix Geyer (debfx)
visibility: private → public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python-qt4 (Ubuntu):
status: New → Confirmed
Barry Warsaw (barry)
Changed in python-qt4 (Ubuntu):
assignee: nobody → Barry Warsaw (barry)
milestone: none → precise-alpha-2
Changed in python-qt4 (Ubuntu):
importance: Medium → High
Revision history for this message
Jonathan Riddell (jr) wrote :

PyQt programmes like qbzr seem to be fine, pykde programmes not

Revision history for this message
Barry Warsaw (barry) wrote :

In fact, this will crash the interpreter:

$ python -c "import PyKDE4.kdecore"

Revision history for this message
Barry Warsaw (barry) wrote :

I've done some additional testing, including backing out my small patch in pyqt4 for Python 3. It still crashes. So I think the bug is elsewhere. The sip stuff hurts my brain, so I'm going to unassign myself from it, but I am happy to help others debug the issue.

Changed in python-qt4 (Ubuntu):
assignee: Barry Warsaw (barry) → nobody
milestone: precise-alpha-2 → none
Revision history for this message
Scott Kitterman (kitterman) wrote :

I think this is RC for Alpha 2, so putting back the milestone and bumping importance.

Changed in python-qt4 (Ubuntu):
importance: High → Critical
milestone: none → precise-alpha-2
Revision history for this message
Felix Geyer (debfx) wrote :

pykde4 need to be rebuilt against the latest python-qt4.

affects: python-qt4 (Ubuntu) → pykde4 (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pykde4 - 4:4.8.0-0ubuntu2

---------------
pykde4 (4:4.8.0-0ubuntu2) precise; urgency=low

  * Rebuild against python-qt4 4.9-2ubuntu3. (LP: #922721)
 -- Felix Geyer <email address hidden> Sat, 28 Jan 2012 12:40:46 +0100

Changed in pykde4 (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
cedric (cedric) wrote :

upgrade to python-kde4 4.8.0-0ubuntu2 solved the issue

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

Per Scott's message at http://lists.debian.org/debian-python/2012/01/msg00082.html:
> My prime suspects for other packages that might be affected are python-qscintilla2, python-qwt5-qt4, python-qwt3d-qt4.

Can somebody test if they need rebuilding?

Revision history for this message
Alejandro R. Mosteo (mosteo) wrote :

I just updated to precise and I get a crash running the testcase given in comment #7:

$ python -c "import PyKDE4.kdecore"
python: /build/buildd/sip4-4.13.2/siplib/siplib.c:10938: sipEnumType_alloc: Assertion `(((currentType)->td_flags & 0x0007) == 0x0003)' failed.
Aborted (core dumped)

My python-kde4 is above the version said in comment #12:

$ apt-cache policy python-kde4
python-kde4:
  Installed: 4:4.8.2-0ubuntu1
  Candidate: 4:4.8.2-0ubuntu1
  Version table:
 *** 4:4.8.2-0ubuntu1 0
        500 http://es.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

I was initially affected by frescobaldi crashing:

$ apt-cache policy frescobaldi
frescobaldi:
  Installed: 2.0.0-1
  Candidate: 2.0.0-1
  Version table:
 *** 2.0.0-1 0
        500 http://es.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
        100 /var/lib/dpkg/status

Changed in python-kde4 (Debian):
status: Unknown → New
Changed in python-kde4 (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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