Your message dated Wed, 11 Jun 2008 22:32:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#485778: fixed in libusb 2:0.1.12-12
has caused the Debian Bug report #485778,
regarding libusb-0.1-4: on some cases libusb goes into infinite loop when usb 
device are unpluged
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
485778: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485778
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: libusb-0.1-4
Version: 2:0.1.12-11
Severity: important

Patch attached, which fixes described problem.



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-custom-04 (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages libusb-0.1-4 depends on:
ii  libc6                         2.7-10     GNU C Library: Shared libraries

libusb-0.1-4 recommends no packages.

-- no debconf information
diff -Naur libusb-0.1.12/linux.c libusb-0.1.12-new/linux.c
--- libusb-0.1.12/linux.c	2006-03-04 04:52:46.000000000 +0200
+++ libusb-0.1.12-new/linux.c	2008-06-11 14:22:20.000000000 +0300
@@ -220,6 +220,13 @@
     waiting = 1;
     context = NULL;
     while (!urb.usercontext && ((ret = ioctl(dev->fd, IOCTL_USB_REAPURBNDELAY, &context)) == -1) && waiting) {
+      if (ret == -1)
+      {
+      	if (errno == ENODEV)
+	{
+	  return -ENODEV;
+	}
+      }
       tv.tv_sec = 0;
       tv.tv_usec = 1000; // 1 msec
       select(dev->fd + 1, NULL, &writefds, NULL, &tv); //sub second wait

--- End Message ---
--- Begin Message ---
Source: libusb
Source-Version: 2:0.1.12-12

We believe that the bug you reported is fixed in the latest version of
libusb, which is due to be installed in the Debian FTP archive:

libusb++-0.1-4c2_0.1.12-12_amd64.deb
  to pool/main/libu/libusb/libusb++-0.1-4c2_0.1.12-12_amd64.deb
libusb++-dev_0.1.12-12_amd64.deb
  to pool/main/libu/libusb/libusb++-dev_0.1.12-12_amd64.deb
libusb-0.1-4_0.1.12-12_amd64.deb
  to pool/main/libu/libusb/libusb-0.1-4_0.1.12-12_amd64.deb
libusb-0.1-udeb_0.1.12-12_amd64.udeb
  to pool/main/libu/libusb/libusb-0.1-udeb_0.1.12-12_amd64.udeb
libusb-dev_0.1.12-12_amd64.deb
  to pool/main/libu/libusb/libusb-dev_0.1.12-12_amd64.deb
libusb_0.1.12-12.diff.gz
  to pool/main/libu/libusb/libusb_0.1.12-12.diff.gz
libusb_0.1.12-12.dsc
  to pool/main/libu/libusb/libusb_0.1.12-12.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <[EMAIL PROTECTED]> (supplier of updated libusb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 12 Jun 2008 00:15:30 +0200
Source: libusb
Binary: libusb-0.1-4 libusb-dev libusb++-0.1-4c2 libusb++-dev libusb-0.1-udeb
Architecture: source amd64
Version: 2:0.1.12-12
Distribution: unstable
Urgency: low
Maintainer: Aurelien Jarno <[EMAIL PROTECTED]>
Changed-By: Aurelien Jarno <[EMAIL PROTECTED]>
Description: 
 libusb++-0.1-4c2 - userspace C++ USB programming library
 libusb++-dev - userspace C++ USB programming library development files
 libusb-0.1-4 - userspace USB programming library
 libusb-0.1-udeb - userspace USB programming library (udeb)
 libusb-dev - userspace USB programming library development files
Closes: 485778
Changes: 
 libusb (2:0.1.12-12) unstable; urgency=low
 .
   * Fix infinite loop when device are unplugged during a transfer (closes:
     bug#485778).
   * Upgraded policy compliance to 3.8.0 (no changes).
   * Don't build documentation in the udeb target.
Checksums-Sha1: 
 4606ecaf3e27cdb3368725a566c581767c6a5c35 1069 libusb_0.1.12-12.dsc
 553325c32d027170b4e2c972ae10faef1e6bbcc8 116569 libusb_0.1.12-12.diff.gz
 17feba0347b070c209369b400501aa4538876b31 21512 libusb-0.1-4_0.1.12-12_amd64.deb
 867ccee0f7264de0b09aef9113632d22862fb94c 40874 libusb-dev_0.1.12-12_amd64.deb
 883e798cd4521a19db0e13f15cbfba49938dd558 15962 
libusb++-0.1-4c2_0.1.12-12_amd64.deb
 740906f170af29b3c39b0c9e945de8fc3c937634 20140 libusb++-dev_0.1.12-12_amd64.deb
 56cf5a6477efea79eabcbe63dab048f84fa2f764 12462 
libusb-0.1-udeb_0.1.12-12_amd64.udeb
Checksums-Sha256: 
 7a0e4218f0e0d65279a6c499b7640c09d9777a8473eddde90eaf69962e472dd4 1069 
libusb_0.1.12-12.dsc
 0897b1f036d30ee0eb8340d1beb4ca0b626f0c43b77922b46580050d045e252d 116569 
libusb_0.1.12-12.diff.gz
 1dde137a1fb1e40c444ee3526b827cd4e9c3d00d809345769a7591cc5d7f7455 21512 
libusb-0.1-4_0.1.12-12_amd64.deb
 440e53ca175f3320fecd4db0e67adc4be25d0a221388d4295fb9cd59f8be4b88 40874 
libusb-dev_0.1.12-12_amd64.deb
 064c0701665219d892b5d724e86e50009397d95b2ada4f404bee8d0ef2cf2d8b 15962 
libusb++-0.1-4c2_0.1.12-12_amd64.deb
 df4a6711f9574a02f495e9f75e283ce6d57291fade3a55900e83a029178de7c9 20140 
libusb++-dev_0.1.12-12_amd64.deb
 a9f8d973e201fd18dc5a2a53a604a509283d89df3599a9b982522f645b0862ab 12462 
libusb-0.1-udeb_0.1.12-12_amd64.udeb
Files: 
 76f8754f888cf1b87e6d188a0a65b356 1069 libs optional libusb_0.1.12-12.dsc
 802c5c732ffe2fa12abfa7912f8d4e33 116569 libs optional libusb_0.1.12-12.diff.gz
 7f9a04ee81e0c5c78bef9abdf40d82e3 21512 libs important 
libusb-0.1-4_0.1.12-12_amd64.deb
 2b74cfc76574dab250828de459158e2c 40874 libdevel optional 
libusb-dev_0.1.12-12_amd64.deb
 9b9216a708149854d2def01fee566e17 15962 libs optional 
libusb++-0.1-4c2_0.1.12-12_amd64.deb
 7f59e83b6ef200e60ead1a89a7ba0e13 20140 libdevel optional 
libusb++-dev_0.1.12-12_amd64.deb
 66e145ad33a2d73bbc7f7a89ee954faa 12462 debian-installer optional 
libusb-0.1-udeb_0.1.12-12_amd64.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFIUE7Aw3ao2vG823MRAgncAJ9Upgl5dwS/B5wrGCXEKSIe2RgQLwCfVnbh
8l7VdrU8jUKgs3oFlPtORJ8=
=Fyx1
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to