[Bug 1378361] [NEW] Crash in CUPS connection code when printing

David Boddie david.boddie at met.no
Tue Oct 7 13:33:08 UTC 2014


Public bug reported:

Under certain circumstances the CUPS library can invalidate the pointer
to the structure describing the available printers. When this happens,
attempts to print via CUPS in an application can lead to a crash due to
a lack of checking in the QCUPSSupport code. The attached patch works
around this problem by adding checks to avoid the crash but cannot, of
course, do anything about the invalidation of the printers structure.

The patch has also been submitted upstream, without progress:
https://codereview.qt-project.org/#/c/79782/1

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libqtgui4 4:4.8.1-0ubuntu4.8
ProcVersionSignature: Ubuntu 3.2.0-30.48-generic 3.2.27
Uname: Linux 3.2.0-30-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu17.7
Architecture: amd64
Date: Tue Oct  7 15:13:37 2014
MarkForUpload: True
SourcePackage: qt4-x11
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: qt4-x11 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

** Patch added: "Fix crash that occurs if the CUPS library sets printers to zero."
   https://bugs.launchpad.net/bugs/1378361/+attachment/4227447/+files/cups-crash-fix.patch

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in Ubuntu.
https://bugs.launchpad.net/bugs/1378361

Title:
  Crash in CUPS connection code when printing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1378361/+subscriptions




More information about the kubuntu-bugs mailing list