This bug was fixed in the package cups - 1.6.2-7

---------------
cups (1.6.2-7) experimental; urgency=low


  * Update the patch adding libusb error handling to also discard its
    errors in the counting of warning messages; this should make the
    error-suite succeed in more cases.

 -- Didier Raboud <o...@debian.org>  Fri, 03 May 2013 11:30:59 +0200

** Changed in: cups (Ubuntu Saucy)
       Status: Fix Committed => Fix Released

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

Title:
  usb crashed with SIGSEGV in opendir()  --  USB ports are in BIOS
  disabled --> cupsd crashes every time

Status in “cups” package in Ubuntu:
  Fix Released
Status in “cups” source package in Precise:
  Fix Committed
Status in “cups” source package in Raring:
  Fix Committed
Status in “cups” source package in Saucy:
  Fix Released

Bug description:
  On 4 machines is USB for safety disabled, an HP DeskJet 500 is
  attached to one machine via LTP (IEEE 1284) and the other machines use
  the network share... - all working well.

  But every time i open up CUPS for configuration or something the process
  /usr/sbin/cupsd
  crashes and an crash report is generated (attached).

  .

  Xubuntu 12.04.1

  Linux icafe-a 3.2.0-36-generic #57-Ubuntu SMP Tue Jan 8 21:41:24 UTC
  2013 i686 i686 i386 GNU/Linux

  CUPS
  Versions:
  1.5.3-0ubuntu6 
(/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages)
 (/var/lib/dpkg/status)

  BTW: I was also not able to send the bug via apport, this crashes with
  "package not installed".

  [IMPACT]

  If on a machine (mainly servers and high-security environments) the
  USB is turned off in the BIOS or a very old pre-USB-era machine is
  used the attempt of CUPS to detect available printers makes the USB
  CUPS backend being called and the backend crashes then due to absense
  of USB . The crash itself is harmless, but it makes Apport popping up
  with a crash report which is annoying.

  [TESTCASE]

  Turn off the USB support completely in the BIOS setup of the machine,
  boot and run either

  lpinfo -v

  or

  sudo /usr/lib/cups/backend/usb

  A crash report will pop up. Close it, do not generate the actual bug
  report.

  After installing the proposed package the backend will not crash any
  more and so no Apport pop-up will occur.

  [Regression Potential]

  The patch is very simple and adds only an error check to handle an
  error on initializing libusb properly. The probability of a regression
  caused by this is practically zero.

  NOTE: As the archives for the new development cycle are not open yet I
  am posting this SRU proposal without a fixed package in the new
  development branch. The fix is committed to Debian's GIT repo of CUPS
  though and so it will appear in the new development cycle with the
  first sync of the cups package.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to