calibre crashed with SIGSEGV in QTextEngine::itemize()

Bug #1027371 reported by Fabrice Coutadeur
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
calibre (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I just upgraded from 12.04 to 12.10 and calibre crash on startup (making crash also the Window manager), with a lot of window size error. This is a bug that has been fixed in 12.04 and reappear in 12.10.

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: calibre 0.8.51+dfsg-1ubuntu3
ProcVersionSignature: User Name 3.5.0-5.5-generic 3.5.0-rc7
Uname: Linux 3.5.0-5-generic x86_64
Architecture: amd64
Date: Sat Jul 21 08:46:08 2012
ExecutablePath: /usr/bin/calibre
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python2.7 /usr/bin/calibre
SegvAnalysis:
 Segfault happened at: 0x7f0623a63d64 <_ZNK11QTextEngine7itemizeEv+36>: mov %rdi,0x48(%rsp)
 PC (0x7f0623a63d64) ok
 source "%rdi" ok
 destination "0x48(%rsp)" (0x7ffff7441ba8) not located in a known VMA region (needed writable region)!
 Stack memory exhausted (SP below stack segment)
SegvReason: writing unknown VMA
Signal: 11
SourcePackage: calibre
StacktraceTop:
 QTextEngine::itemize() const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
 QTextEngine::attributes() const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
 QTextLine::layout_helper(int) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
 ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
 ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Title: calibre crashed with SIGSEGV in QTextEngine::itemize()
UpgradeStatus: Upgraded to quantal on 2012-07-21 (0 days ago)
UserGroups: adm admin audio cdrom dialout dip floppy fuse netdev plugdev video x2gousers

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 QTextEngine::itemize() const () from /tmp/tmphvEPje/usr/lib/x86_64-linux-gnu/libQtGui.so.4
 QTextEngine::attributes() const () from /tmp/tmphvEPje/usr/lib/x86_64-linux-gnu/libQtGui.so.4
 QTextLine::layout_helper(int) () from /tmp/tmphvEPje/usr/lib/x86_64-linux-gnu/libQtGui.so.4
 ?? () from /tmp/tmphvEPje/usr/lib/x86_64-linux-gnu/libQtGui.so.4
 ?? () from /tmp/tmphvEPje/usr/lib/x86_64-linux-gnu/libQtGui.so.4

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 calibre (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Kovid Goyal (kovid)
no longer affects: calibre
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in calibre (Ubuntu):
status: New → Confirmed
Revision history for this message
Edward Donovan (edward.donovan) wrote :

This doesn't look like the same crash report as bug 1005677, which crashes calibre and other qt4 apps. But, when I do the workaround for that bug,

   LIBOVERLAY_SCROLLBAR=0 calibre

then I can't reproduce this crash, either. So it may be related. I don't have a clear picture yet.

Fabrice, does that workaround change this behavior for you?

Thanks.

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

This bug was fixed in the package calibre - 2.0.0+dfsg-1

---------------
calibre (2.0.0+dfsg-1) unstable; urgency=medium

  * New upstream release. (Closes: #759246)
  * Adjust debian/rules get-orig-source for slightly changed upstream tarball
    layout.
  * This version uses Qt5 now. Close all crashes which are related to Qt4.
    (Closes: #673598, #609705) (LP: #1294989, #1074796, #1038931, #1021047,
    #976305, #967316, #958282, #939788, #930445, #927641, #925777, #891924,
    #886504, #871883, #854417, #852624, #762931, #762643, #761719, #745176,
    #720028, #701129, #696077, #659806, #565377, #565366, #565178, #563585,
    #557883, #458403, #1216549, #1051759, #1027371, #720021, #556985, #555961)
  * Adjust build and binary dependencies for the Qt 4 → 5 change.

 -- Martin Pitt <email address hidden> Tue, 26 Aug 2014 20:43:13 +0200

Changed in calibre (Ubuntu):
status: Confirmed → 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.