touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #24258
[Bug 1378361] [NEW] Crash in CUPS connection code when printing
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 Ubuntu
Touch seeded packages, which is subscribed to qt4-x11 in Ubuntu.
https://bugs.launchpad.net/bugs/1378361
Title:
Crash in CUPS connection code when printing
Status in “qt4-x11” package in Ubuntu:
New
Bug description:
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1378361/+subscriptions
Follow ups
References