← Back to team overview

desktop-packages team mailing list archive

[Bug 1342312] Re: ghostscript hangs reading certain pdfs

 

** Description changed:

+ SRU justification
+ 
  On a few pdfs, gs hangs and uses 100% cpu forever.
  
  This could be used as a denial of service through imagemagick which uses
  ghostscript as a delegate, and commonly used in php etc... which is how
  I found the issue.
  
  The packages from utopic (9.14~dfsg-0ubuntu3) processes these pdfs
  correctly.
  
- To reproduce:
+ SRU test case (PDF attached to this ticket):
  gs WaddellAndReedJCL0814ThirdHProvSE.pdf
+ 
+ SRU Regression potential:
+ tbd
+ 
+ SRU Other info:
+ This has been fixed upstream in commit abd38464f9b which has already landed in utopic and later.  The SRU is then to backprt this patch to trusty.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ghostscript 9.10~dfsg-0ubuntu10.2
  ProcVersionSignature: Ubuntu 3.13.0-30.55-generic 3.13.11.2
  Uname: Linux 3.13.0-30-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  CupsErrorLog:
   
  CurrentDesktop: Unity
  Date: Tue Jul 15 14:34:26 2014
  InstallationDate: Installed on 2014-04-20 (86 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  Lpstat:
   device for Bizhub7222: socket://10.0.0.201:9100
   device for HP-Photosmart-6520-series: dnssd://Photosmart%206520%20series%20%5B1B47AD%5D._ipp._tcp.local/
  MachineType: ASUSTeK COMPUTER INC. UX32VD
  Papersize: letter
  PpdFiles:
   HP-Photosmart-6520-series: HP Photosmart 6520 Series, hpcups 3.14.3
   Bizhub7222: HP LaserJet 5L - CUPS+Gutenprint v5.2.10-pre2
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-30-generic root=UUID=2f256b0b-ee87-463a-af04-e892e0be9192 ro quiet splash pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1
  SourcePackage: ghostscript
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/16/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: UX32VD.213
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: UX32VD
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX32VD.213:bd11/16/2012:svnASUSTeKCOMPUTERINC.:pnUX32VD:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX32VD:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: UX32VD
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

** Changed in: ghostscript (Ubuntu Trusty)
   Importance: Low => Medium

** Description changed:

- SRU justification
+ = SRU justification =
  
  On a few pdfs, gs hangs and uses 100% cpu forever.
  
  This could be used as a denial of service through imagemagick which uses
  ghostscript as a delegate, and commonly used in php etc... which is how
  I found the issue.
  
  The packages from utopic (9.14~dfsg-0ubuntu3) processes these pdfs
  correctly.
  
- SRU test case (PDF attached to this ticket):
+ = SRU test case (PDF attached to this ticket) =
+ 
  gs WaddellAndReedJCL0814ThirdHProvSE.pdf
  
- SRU Regression potential:
+ = SRU Regression potential =
+ 
  tbd
  
- SRU Other info:
- This has been fixed upstream in commit abd38464f9b which has already landed in utopic and later.  The SRU is then to backprt this patch to trusty.
+ = SRU Other info =
+ 
+ This has been fixed upstream in commit abd38464f9b which has already
+ landed in utopic and later.  The SRU is then to backprt this patch to
+ trusty.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ghostscript 9.10~dfsg-0ubuntu10.2
  ProcVersionSignature: Ubuntu 3.13.0-30.55-generic 3.13.11.2
  Uname: Linux 3.13.0-30-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  CupsErrorLog:
-  
+ 
  CurrentDesktop: Unity
  Date: Tue Jul 15 14:34:26 2014
  InstallationDate: Installed on 2014-04-20 (86 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  Lpstat:
-  device for Bizhub7222: socket://10.0.0.201:9100
-  device for HP-Photosmart-6520-series: dnssd://Photosmart%206520%20series%20%5B1B47AD%5D._ipp._tcp.local/
+  device for Bizhub7222: socket://10.0.0.201:9100
+  device for HP-Photosmart-6520-series: dnssd://Photosmart%206520%20series%20%5B1B47AD%5D._ipp._tcp.local/
  MachineType: ASUSTeK COMPUTER INC. UX32VD
  Papersize: letter
  PpdFiles:
-  HP-Photosmart-6520-series: HP Photosmart 6520 Series, hpcups 3.14.3
-  Bizhub7222: HP LaserJet 5L - CUPS+Gutenprint v5.2.10-pre2
+  HP-Photosmart-6520-series: HP Photosmart 6520 Series, hpcups 3.14.3
+  Bizhub7222: HP LaserJet 5L - CUPS+Gutenprint v5.2.10-pre2
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-30-generic root=UUID=2f256b0b-ee87-463a-af04-e892e0be9192 ro quiet splash pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1
  SourcePackage: ghostscript
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/16/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: UX32VD.213
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: UX32VD
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX32VD.213:bd11/16/2012:svnASUSTeKCOMPUTERINC.:pnUX32VD:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX32VD:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: UX32VD
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ghostscript in Ubuntu.
https://bugs.launchpad.net/bugs/1342312

Title:
  ghostscript hangs reading certain pdfs

Status in ghostscript package in Ubuntu:
  Fix Released
Status in ghostscript source package in Trusty:
  Confirmed

Bug description:
  = SRU justification =

  On a few pdfs, gs hangs and uses 100% cpu forever.

  This could be used as a denial of service through imagemagick which
  uses ghostscript as a delegate, and commonly used in php etc... which
  is how I found the issue.

  The packages from utopic (9.14~dfsg-0ubuntu3) processes these pdfs
  correctly.

  = SRU test case (PDF attached to this ticket) =

  gs WaddellAndReedJCL0814ThirdHProvSE.pdf

  = SRU Regression potential =

  tbd

  = SRU Other info =

  This has been fixed upstream in commit abd38464f9b which has already
  landed in utopic and later.  The SRU is then to backprt this patch to
  trusty.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ghostscript 9.10~dfsg-0ubuntu10.2
  ProcVersionSignature: Ubuntu 3.13.0-30.55-generic 3.13.11.2
  Uname: Linux 3.13.0-30-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  CupsErrorLog:

  CurrentDesktop: Unity
  Date: Tue Jul 15 14:34:26 2014
  InstallationDate: Installed on 2014-04-20 (86 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  Lpstat:
   device for Bizhub7222: socket://10.0.0.201:9100
   device for HP-Photosmart-6520-series: dnssd://Photosmart%206520%20series%20%5B1B47AD%5D._ipp._tcp.local/
  MachineType: ASUSTeK COMPUTER INC. UX32VD
  Papersize: letter
  PpdFiles:
   HP-Photosmart-6520-series: HP Photosmart 6520 Series, hpcups 3.14.3
   Bizhub7222: HP LaserJet 5L - CUPS+Gutenprint v5.2.10-pre2
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-30-generic root=UUID=2f256b0b-ee87-463a-af04-e892e0be9192 ro quiet splash pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1
  SourcePackage: ghostscript
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/16/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: UX32VD.213
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: UX32VD
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX32VD.213:bd11/16/2012:svnASUSTeKCOMPUTERINC.:pnUX32VD:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX32VD:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: UX32VD
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1342312/+subscriptions