Debian Bug report logs - #407379
gspca: Disconnecting a camera while using it leads khubd to eat cpu

version graph

Package: gspca; Maintainer for gspca is (unknown);

Reported by: Alex V Breger <osgxdvyg@gmail.com>

Date: Thu, 18 Jan 2007 00:18:01 UTC

Severity: normal

Found in version gspcav1-20070110

Fixed in version 01.00.20-1+rm

Done: Marco Rodrigues <gothicx@sapo.pt>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>:
Bug#407379; Package gspca. (full text, mbox, link).


Acknowledgement sent to Alex V Breger <osgxdvyg@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Alex V Breger <osgxdvyg@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gspca: Disconnecting a camera while using it leads khubd to eat cpu
Date: Thu, 18 Jan 2007 03:05:10 +0300
Package: gspca
Version: gspcav1-20070110
Severity: normal

I have a Gembird CAM44U (usb id: 0ac8:305b), here is the dmesg from driver:
/home/abc/Desktop/gspcav1-20070110/gspca_core.c: USB SPCA5XX camera found.(ZC3XX)
/home/abc/Desktop/gspcav1-20070110/gspca_core.c: [spca5xx_probe:3983] Camera type JPEG
/home/abc/Desktop/gspcav1-20070110/Vimicro/zc3xx.h: [zc3xx_config:515] Sensor ID:22
/home/abc/Desktop/gspcav1-20070110/Vimicro/zc3xx.h: [zc3xx_config:522] Find Sensor Tas5130 (VF0250)
/home/abc/Desktop/gspcav1-20070110/gspca_core.c: [spca5xx_getcapability:1189] maxw 640 maxh 480 minw 176 minh 144

When I disconnect the camera with some player opened, computer frezzes for several seconds,
then khubd begin to eat all available cpu.
With player closed disconnecting don't lead to this effect.
Player stops on pool system call, dmesg says
/home/abc/Desktop/gspcav1-20070110/gspca_core.c: [spca50x_isoc_irq:1084] Non-zero status (-84) in isoc completion handler.
/home/abc/Desktop/gspcav1-20070110/gspca_core.c: [spca50x_isoc_irq:1084] Non-zero status (-84) in isoc completion handler.
usb 2-1: USB disconnect, address 7

Strace of player after disconnect, this lines repeated many times.

gettimeofday({1169078510, 516792}, NULL) = 0
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
ioctl(3, FIONREAD, [32])                = 0
read(3, "\26\0\320\1L\0\0\0\3\0\300\0)\0\300\0\0\0\345\3\0\5\33"..., 32) = 32
ioctl(3, FIONREAD, [0])                 = 0
ioctl(3, FIONREAD, [0])                 = 0

After killing player khubd become normal.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-686
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)



Reply sent to Marco Rodrigues <gothicx@sapo.pt>:
You have taken responsibility. (Tue, 04 Aug 2009 22:33:48 GMT) (full text, mbox, link).


Notification sent to Alex V Breger <osgxdvyg@gmail.com>:
Bug acknowledged by developer. (Tue, 04 Aug 2009 22:33:48 GMT) (full text, mbox, link).


Message #10 received at 407379-done@bugs.debian.org (full text, mbox, reply):

From: Marco Rodrigues <gothicx@sapo.pt>
To: 407379-done@bugs.debian.org
Subject: gspca has been removed from Debian, closing #407379
Date: Tue, 04 Aug 2009 23:17:37 +0100
Version: 01.00.20-1+rm

The gspca package has been removed from Debian so we are closing
the bugs that were still opened against it.

For more information about this package's removal, read
http://bugs.debian.org/519463 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

Kind regards,
--
Marco Rodrigues




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 02 Sep 2009 07:43:44 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 12:05:50 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.