python-qt makes Calibre ebook-viewer segfault

Bug #364883 reported by Nelson Elhage
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qt4-x11 (Ubuntu)
Fix Released
Medium
Unassigned

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 http://calibre.kovidgoyal.net/ticket/2224.

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
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: python-qt4
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Nelson Elhage (nelhage) wrote :
Revision history for this message
Nelson Elhage (nelhage) wrote :

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

Revision history for this message
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/main_ui.py. This solution worked for me, so now I can read EPUB files in the ebook-viewer.

His post is here.
http://www.mobileread.com/forums/showpost.php?p=443232&postcount=2
Full post is here.
http://www.mobileread.com/forums/showthread.php?t=45853

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

More of a QtWebKit crash than a PyQt one.

affects: python-qt4 (Ubuntu) → qt4-x11 (Ubuntu)
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

This appears to be the corresponding upstream report: http://www.qtsoftware.com/developer/task-tracker/index_html?method=entry&id=250187
(Both of these are crashes in WebCore::Frame::loader)

Changed in qt4-x11 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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