python-qt makes Calibre ebook-viewer segfault

Bug #364883 reported by Nelson Elhage on 2009-04-21
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qt4-x11 (Ubuntu)

Bug Description

Binary package hint: python-qt4

python-qt4 causes the 'ebook-viewer' program (part of Calibre) to segfault. Calibre's bug tracker has closed the issue as "not our fault" at

Steps to reproduce:
* Install calibre
* Run 'ebook-viewer' on a .mobi file
* Observe that it segfaults (If it doesn't, try again; It appears to be inconsistent, but usually crashes for me)

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: openafs ath_hal
Package: python-qt4 4.4.4-2ubuntu6
 PATH=(custom, user)
SourcePackage: python-qt4
Uname: Linux 2.6.28-11-generic i686

Nelson Elhage (nelhage) wrote :
Nelson Elhage (nelhage) wrote :

Here's a backtrace with python-qt4-dbg installed.

lunch (launch-mailinator-com) wrote :

I have the same problem with calibre vs. 0.5.14 on Slackware. The main developer posted a comment on a forum to temporarily fix this issue. According to him you need to comment out this line:
self.view.setProperty("url", QtCore.QVariant(QtCore.QUrl("about:blank")))
in /usr/lib*/python*/site-packages/calibre/gui2/viewer/ This solution worked for me, so now I can read EPUB files in the ebook-viewer.

His post is here.
Full post is here.

Jonathan Thomas (echidnaman) wrote :

More of a QtWebKit crash than a PyQt one.

affects: python-qt4 (Ubuntu) → qt4-x11 (Ubuntu)
Jonathan Thomas (echidnaman) wrote :

This appears to be the corresponding upstream report:
(Both of these are crashes in WebCore::Frame::loader)

Changed in qt4-x11 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Jonathan Thomas (echidnaman) wrote :
Changed in qt4-x11 (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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