Bug 149718

Summary: Kopete freezes upon clicking "Configure"
Product: [Unmaintained] kopete Reporter: Michael <mlbeal2003>
Component: Audio/Video PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED REMIND    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Michael 2007-09-10 00:49:15 UTC
Version:           0.12.2 (using KDE KDE 3.5.5)
Installed from:    Debian stable Packages
OS:                Linux

When trying to configure Kopete, clicking "Settings" -> "Configure Kopete" causes Kopete to freeze and pushes the CPU to 100%.  Using Debian Etch 4.0rc0 with most recently updated Kopete package.  I have dual TV cards (Hauppauge PVR-150MCE) and a LogiTech webcam.  This problem has existed since I installed the 1st Hauppauge card, possibly before.
Comment 1 Philip Rodrigues 2007-09-12 00:17:43 UTC

*** This bug has been marked as a duplicate of 129376 ***
Comment 2 Michael 2007-09-14 05:57:26 UTC
This is not a DUPLICATE as the preferences window never opens.  Processor zooms to 100% and stays there indefinitely until Kopete is killed via Konsole or the Process Table.  No other windows open.

This bug exists due Kopete's inability to ignore IVTV devices which precede the webcam device in /dev.  For example, if I reboot with my webcam plugged in, the webcam is found first by the system and is assigned to "/dev/video0" while the IVTV devices get higher numbers; on my system "/dev/video1" and "/dev/video2" respectively as I have 2 such devices.  This, then, works OK.  The webcam is then usable.  If I reboot with the webcam unplugged and plug it in _after_ I log in, Kopete will hang when attempting to do _ANY_ sort of configuration because it is trying to get a response from the IVTV devices which refuse to talk back.

I have a pair of Hauppauge WinTV PVR-150MCE cards installed and a Logitech QuickCam webcam.  As yet, the webcam is unusable due to Kopete's inability to ignore my IVTV devices.
Comment 3 Michael 2007-09-22 18:14:10 UTC
In addition to my previous comments, I've found that Kopete will also hang _without_ the webcam plugged in and with _any_ IVTV devices installed in the system; i.e., a single Hauppauge PVR-150 card will cause Kopete to lock up when attempting _any_ sort of configuration.  No windows appear, nothing except the processor zooms to 100% and Kopete stops responding to input.
Comment 4 Philip Rodrigues 2007-09-23 16:52:58 UTC
Can you get a backtrace with "kill -SEGV <pid-of-kopete>" when kopete freezes? Have a look at http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports ofor more tips
Comment 5 Matt Rogers 2007-12-11 06:20:22 UTC
I don't believe anybody on the Kopete team has one of these cards to reproduce with. If you can provide debug output from the start of a kopete session until when the problem occurs, please reopen the bug and we'll be glad to take another look at it.
Comment 6 Michael 2007-12-15 16:01:58 UTC
As I said in a previous post, when I reboot with the camera plugged in, everything works OK.  Kopete recognizes the webcam, the two IVTV devices and shows a proper preview from the webcam but _only_ if the webcam is /dev/video0.  If an IVTV device is at /dev/video0, Kopete hangs when attempting to configure.  I would suspect the same thing does not happen with a Brooktree (BT8x8) TV card as these cards provide a raw video-only stream and not an MPEG-2 encoded stream with audio.

I'm thinking this has to do more with previewing from the device than anything.  My thoughts are that turning off previewing until the user selects a device would resolve this issue permanently.  If the dev team could send me a patched Kopete, I'd be happy to compile and test against my system.  I'm currently running KDE 3.5.8 from Debian Testing.