Test version: cups -- 1.5.3-0ubuntu8 1. install all updates
2. reproduce bug sudo /usr/lib/cups/backend/usb --> crashes as expected 3. install updated CUPS version 4. check version ~$ dpkg -l | grep 'cups' ii bluez-cups 4.98-2ubuntu7 ii cups 1.5.3-0ubuntu8 ii cups-bsd 1.5.3-0ubuntu8 ii cups-client 1.5.3-0ubuntu8 ii cups-common 1.5.3-0ubuntu8 ii cups-dbg 1.5.3-0ubuntu8 ii cups-filters 1.0.18-0ubuntu0.1 ii cups-ppdc 1.5.3-0ubuntu8 ii ghostscript-cups 9.05~dfsg-0ubuntu4.2 ii libcups2 1.5.3-0ubuntu6 ii libcupscgi1 1.5.3-0ubuntu6 ii libcupsdriver1 1.5.3-0ubuntu6 ii libcupsfilters1 1.0.18-0ubuntu0.1 ii libcupsimage2 1.5.3-0ubuntu6 ii libcupsmime1 1.5.3-0ubuntu6 ii libcupsppdc1 1.5.3-0ubuntu6 ii python-cups 1.9.61-0ubuntu2 ii python-cupshelpers 1.3.8+20120201-0ubuntu8.1 5. reproduce bug ~$ ulimit -c unlimited ~$ sudo /usr/lib/cups/backend/usb DEBUG: list_devices WARNING: Unable to initialize USB access via libusb, libusb error -99 --> no crash --> setting to 'verification-done' ** Tags removed: verification-needed ** Tags added: verification-done -- 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 : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

