Crash in CUPS connection code when printing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qt4-x11 (Ubuntu) |
New
|
Undecided
|
Unassigned |
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:/
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libqtgui4 4:4.8.1-0ubuntu4.8
ProcVersionSign
Uname: Linux 3.2.0-30-generic x86_64
NonfreeKernelMo
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)
The attachment "Fix crash that occurs if the CUPS library sets printers to zero." seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]