Bug 444207 - Kopete hangs when opening webcam device
Summary: Kopete hangs when opening webcam device
Status: RESOLVED NORESPONSE
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Beta 4
Hardware: x86 SUSE Other
: P2 - High : Critical with 1 vote (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-12 15:15 UTC by Nik Tripp
Modified: 2009-05-15 22:26 UTC (History)
2 users (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
coolo: SHIP_STOPPER-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nik Tripp 2008-11-12 15:15:13 UTC
Kopete hangs after trying to enter the configure dialog.
Comment 1 Stephan Binner 2008-11-13 19:46:36 UTC
Does it hang or does it crash? Please attach either strace or backtrace.
Comment 2 Nik Tripp 2008-11-14 00:36:42 UTC
It hangs.  gdb's output:
(gdb) run kopete                                                          
Starting program: /usr/bin/kopete kopete                                  
(no debugging symbols found)                                              
(no debugging symbols found)                                              
(no debugging symbols found)                                              
(no debugging symbols found)                                              
[Thread debugging using libthread_db enabled]                             
(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)                                              
(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)
kopete(5565)/libkopete Kopete::Account::registerContact: Contact already exists!!! accountId:  MSNAccount(0x8337ca0)  contactId:  "XXXXXXXXXXX"
kopete(5565)/libkopete Kopete::Account::registerContact: Contact already exists!!! accountId:  MSNAccount(0x8337ca0)  contactId:  "XXXXXXXXXXX"
kopete(5565)/libkopete Kopete::Account::registerContact: Contact already exists!!! accountId:  MSNAccount(0x8337ca0)  contactId:  "XXXXXXXXXXX"
kopete(5565)/libkopete Kopete::Account::registerContact: Contact already exists!!! accountId:  MSNAccount(0x8337ca0)  contactId:  "XXXXXXXXXXX"
kopete(5565)/libkopete Kopete::Account::registerContact: Contact already exists!!! accountId:  MSNAccount(0x8337ca0)  contactId:  "XXXXXXXXXXX"
kopete(5565)/libkopete Kopete::Account::registerContact: Contact already exists!!! accountId:  MSNAccount(0x8337ca0)  contactId:  "XXXXXXXXXXX"
kopete(5565)/libkopete Kopete::Account::registerContact: Contact already exists!!! accountId:  MSNAccount(0x8337ca0)  contactId:  "XXXXXXXXXXX"
kopete(5565)/libkopete Kopete::Account::registerContact: Contact already exists!!! accountId:  MSNAccount(0x8337ca0)  contactId:  "XXXXXXXXXXX"
kopete(5565)/libkopete Kopete::Account::registerContact: Contact already exists!!! accountId:  MSNAccount(0x8337ca0)  contactId:  "XXXXXXXXXXX"

Program exited normally.
(gdb) VIDIOC_ENUMSTD: Invalid argument
VIDIOC_ENUM_FMT: Invalid argument
VIDIOC_STREAMOFF error 22, Invalid argument

Comment 3 Stephan Binner 2008-11-14 08:22:28 UTC
> Program exited normally.

Hu? Please start it with "gdb kopete", "run --nofork", when it hangs ctrl-c, and then post the output of "bt".
Comment 4 Nik Tripp 2008-11-14 13:13:53 UTC
#0  0xffffe430 in __kernel_vsyscall ()                                          
#1  0xb7d884a2 in open64 () from /lib/libpthread.so.0                           
#2  0xb3362cdb in ?? () from /usr/lib/libkopete_videodevice.so.4                
#3  0xb336c297 in Kopete::AV::VideoDevicePool::open() ()                        
   from /usr/lib/libkopete_videodevice.so.4                                     
#4  0xb39ef092 in ?? () from /usr/lib/kde4/kcm_kopete_avdeviceconfig.so         
#5  0xb39f213f in QObject* KPluginFactory::createInstance<AVDeviceConfig, QWidget>(QWidget*, QObject*, QList<QVariant> const&) ()                               
   from /usr/lib/kde4/kcm_kopete_avdeviceconfig.so                              
#6  0xb7d133b7 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/libkdecore.so.5              
#7  0xb6beb247 in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () from /usr/lib/libkutils.so.4 
#8  0xb6bf0355 in ?? () from /usr/lib/libkutils.so.4                            
#9  0xb6bf0f73 in KCModuleProxy::realModule() const ()                          
   from /usr/lib/libkutils.so.4                                                 
#10 0xb6bf0fa8 in KCModuleProxy::minimumSizeHint() const ()                     
   from /usr/lib/libkutils.so.4                                                 
#11 0xb78eb5a3 in ?? () from /usr/lib/libkdeui.so.5                             
#12 0xb78eb75e in KPageView::qt_metacall(QMetaObject::Call, int, void**) ()     
   from /usr/lib/libkdeui.so.5                                                  
#13 0xb78ef31a in KPageWidget::qt_metacall(QMetaObject::Call, int, void**) ()   
   from /usr/lib/libkdeui.so.5                                                  
#14 0xb7ee8580 in QMetaObject::activate(QObject*, int, int, void**) ()          
   from /usr/lib/libQtCore.so.4                                                 
#15 0xb7ee9302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4                                              
#16 0xb7f22ae7 in QAbstractItemModel::layoutChanged() ()                        
   from /usr/lib/libQtCore.so.4                                                 
#17 0xb78f1b94 in KPageWidgetModel::addPage(KPageWidgetItem*) ()                
   from /usr/lib/libkdeui.so.5                                                  
#18 0xb78ef5ca in KPageWidget::addPage(KPageWidgetItem*) ()                     
   from /usr/lib/libkdeui.so.5                                                  
#19 0xb78e8cfa in KPageDialog::addPage(KPageWidgetItem*) ()                     
   from /usr/lib/libkdeui.so.5                                                  
---Type <return> to continue, or q <return> to quit---                          
#20 0xb6bed052 in KCMultiDialog::addModule(KCModuleInfo const&, KPageWidgetItem*, QStringList const&) () from /usr/lib/libkutils.so.4                           
#21 0xb6c035d8 in ?? () from /usr/lib/libkutils.so.4                            
#22 0xb6c0537c in KSettings::Dialog::showEvent(QShowEvent*) ()                  
   from /usr/lib/libkutils.so.4                                                 
#23 0xb60f2899 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4        
#24 0xb609a8fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()      
   from /usr/lib/libQtGui.so.4                                                  
#25 0xb60a282a in QApplication::notify(QObject*, QEvent*) ()                    
   from /usr/lib/libQtGui.so.4                                                  
#26 0xb78ba3ed in KApplication::notify(QObject*, QEvent*) ()                    
   from /usr/lib/libkdeui.so.5                                                  
#27 0xb7ed3961 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()        
   from /usr/lib/libQtCore.so.4                                                 
#28 0xb60f59c3 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4  
#29 0xb60f5f63 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4      
#30 0xb65071ad in QDialog::setVisible(bool) () from /usr/lib/libQtGui.so.4      
#31 0xb72228c8 in KopetePreferencesAction::slotShowPreferences() ()             
   from /usr/lib/libkopete.so.4                                                 
#32 0xb7222985 in KopetePreferencesAction::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkopete.so.4                                          
#33 0xb7ee8580 in QMetaObject::activate(QObject*, int, int, void**) ()          
   from /usr/lib/libQtCore.so.4                                                 
#34 0xb7ee8980 in QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**) () from /usr/lib/libQtCore.so.4                                         
#35 0xb6094631 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4       
#36 0xb6094f9f in QAction::activate(QAction::ActionEvent) ()                    
   from /usr/lib/libQtGui.so.4                                                  
#37 0xb6470f24 in ?? () from /usr/lib/libQtGui.so.4
#38 0xb64719b2 in QMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/libQtGui.so.4
#39 0xb7981fb5 in KMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/libkdeui.so.5
#40 0xb60f2a62 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#41 0xb6473ca9 in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#42 0xb609a8fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#43 0xb60a3111 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#44 0xb78ba3ed in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdeui.so.5
#45 0xb7ed3961 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/libQtCore.so.4
#46 0xb60a239e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/libQtGui.so.4
#47 0xb610c99e in ?? () from /usr/lib/libQtGui.so.4
#48 0xb610bac5 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/libQtGui.so.4
#49 0xb613408a in ?? () from /usr/lib/libQtGui.so.4
#50 0xb5c389a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#51 0xb5c3c063 in ?? () from /usr/lib/libglib-2.0.so.0
#52 0xb5c3c221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#53 0xb7efdfb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#54 0xb6133785 in ?? () from /usr/lib/libQtGui.so.4
#55 0xb7ed201a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#56 0xb7ed21da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#57 0xb7ed4895 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#58 0xb609a777 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#59 0x08088baf in _start ()
Comment 5 Will Stephenson 2008-11-27 19:43:53 UTC
Could you repeat with kdenetwork4-debuginfo installed, please?

Do you have a webcam connected?  Which model? If so, can you reproduce the bug with it disconnected, or with the kernel module unloaded, if it's internal.
Comment 6 Nik Tripp 2008-11-28 01:48:50 UTC
After unplugging the webcam configure window comes up with no problem.  It's a ID 0c45:602c Microdia Clas Ohlson TWC-30XOP Webcam
Which hasn't been the most compatible device, but in the past kopete was able to use it.  Although I haven't been able to install the gspca kernel in recent betas (the webcam repo is unavailable).  Also Kopete reports the camera as SN9C1xx.
Comment 7 Will Stephenson 2008-12-01 11:00:06 UTC
gspca was merged into the mainline kernel, that's why the module doesn't build in drivers:webcam.

It's crashing in the open() call - I don't think Kopete is at fault here.
Comment 8 Will Stephenson 2008-12-01 12:35:21 UTC
Hangs, hangs.
Comment 9 Jeff Mahoney 2008-12-01 18:56:54 UTC
If it's crashing in open(), can you see if there are Oopses in your log?
Comment 10 Jeff Mahoney 2009-05-15 22:26:28 UTC
Closing due to inactivity.