when i unplg usb camera kopete freeze or crash everytime

Bug #139115 reported by amine Say
8
Affects Status Importance Assigned to Milestone
Kopete
Invalid
High
kdenetwork (Ubuntu)
Fix Released
Medium
Taupter

Bug Description

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1241163376 (LWP 7526)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6 0x00130012 in ?? ()
#7 0xb7e8f73d in Kopete::WebcamWidget::updatePixmap ()
   from /usr/lib/libkopete.so.1
#8 0xb5a8857a in YahooWebcamDialog::newImage ()
   from /usr/lib/kde3/kopete_yahoo.so
#9 0xb5a6309b in YahooWebcam::updateImage ()
   from /usr/lib/kde3/kopete_yahoo.so
#10 0xb5a6bc24 in YahooWebcam::qt_invoke () from /usr/lib/kde3/kopete_yahoo.so
#11 0xb68df88b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#12 0xb68e0330 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#13 0xb6c6dba6 in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#14 0xb6907596 in QTimer::event () from /usr/lib/libqt-mt.so.3
#15 0xb6876a60 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#16 0xb687888f in QApplication::notify () from /usr/lib/libqt-mt.so.3
#17 0xb703ace2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#18 0xb68091e9 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#19 0xb68694ab in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#20 0xb681dd25 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#21 0xb6891136 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#22 0xb6890f46 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#23 0xb6878609 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#24 0x0807feec in ?? ()
#25 0xbfc2fdc4 in ?? ()
#26 0xbfc2fdbc in ?? ()
#27 0xbfc2fdb4 in ?? ()
#28 0x00000000 in ?? ()

Revision history for this message
Jonathan Jesse (jjesse) wrote :

Good evening,

I am trying to help out w/ this bug, but don't understand it. Are you having problems with an USB Web Camera or just a Camera? Also what version of Kopete are you using? And what version of Kubuntu are using?

Thanks for updating this bug,

Jonathan

Changed in kopete:
assignee: nobody → jjesse
importance: Undecided → Unknown
status: New → Incomplete
Revision history for this message
Scott Beamer (angrykeyboarder) wrote :

I don't know if this is related, but for some strange reason Kopete *insists* upon running my TV Tuner card for no apparent reason. This slows Kopete's startup to a crawl.

Revision history for this message
Jonathan Jesse (jjesse) wrote :

assinging it back to the kubuntu team as i am struggling w/ what t odo next

Changed in kopete:
assignee: jjesse → kubuntu-team
Revision history for this message
Taupter (taupter) wrote :

Hi, I'm Kopete's video maintainer.
This bug is the same as https://bugs.kde.org/show_bug.cgi?id=117537 . The problem that prevents me from fixing this bug properly is the fact some drivers, like Michel Xhaard's gspca1, behave wrongly, making not only Kopete but every program that uses usb webcams through gspca1 freeze.
Some drivers, like uvc, return an error (EINVAL) from a kernel call when the device is disconnected. gspca1 simply freezes.
There's no feasible workaround to address this bug, and the best way is to ask kindly Michel Xhaard to fix the bug in his driver, but it seems the man is not exactly helpful, as can be seen in http://lists.kde.org/?l=kopete-devel&m=119429215312848&w=2 .
Some people are trying to do a patch to Michel Xhaard's driver, but it would only help people if the patch can be included in the official gspca1 source code, or if somebody takes over gspca1's development and does the long due code cleaning and V4L2 porting.
My attachment is a program capable of testing a given kernel driver when a webcam is disconnected. Some changes must be done to the source code to make the program test your specific device.

Revision history for this message
Taupter (taupter) wrote :

About Kopete fiddling with the TV Tuner card, Kopete needs to scan the available devices to be aware of its properties. It's possible to a device to be opened by two programs at the same time (to get info about it) and that's what Kopete does.
I currently have three USB webcams (two gspca1 and one uvc), 1 DC-10+ M-JPEG capture card, one Pico2000 CCTV and one Hauppauge TV/FM tuner card, all connected at the same time for testing purposes. I use KdeTv constantly and it never conflicted with Kopete and vice versa (I tested it).
Maybe it's related to an specific device, and if some arrangement can be done to provide me one device of the same model for testing purposes, I'll gladly test it. Novell sent me a Logitech Quickcam Pro 5000 (thanks William Stephenson and Novell) and I made it work properly with Kopete in one afternoon. Please contact my nick at gmail dot com if you are interested.

P.S.: No, I don't make a living reselling hardware people send to me. :D I'm just unable to test against every device in the market, and some aren't even available in the local market and/or are too expensive (as The Quickcam Motion AF). So if it's not such a burden and you woke up in a good mood, donate a device and help a zillion people to use Linux and fix both this bug and Ubuntu's bug #1.

Changed in kopete:
status: Unknown → In Progress
Changed in kopete:
assignee: kubuntu-team → taupter
importance: Unknown → Medium
status: Incomplete → Triaged
Changed in kopete:
status: In Progress → Invalid
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Should work in KDE 4.4.

Changed in kdenetwork (Ubuntu):
status: Triaged → Fix Released
Changed in kopete:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.