Bug 212367

Summary: kamera crash delete usb default
Product: [Applications] systemsettings Reporter: Wian Potgieter <liquidbrains>
Component: generalAssignee: System Settings Bugs <sourtooth+ssbugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Wian Potgieter 2009-10-30 10:29:51 UTC
Application that crashed: kcmshell4
Version of the application: 
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31-gentoo-r3 i686

What I was doing when the application crashed:
I had recompiled libgphoto2 to include support for all cameras.   I then plugged in my Sony Ericssion C905 via USB, and started Kamera.  I clicked on Add, selected my camera model in the dialog, pressed enter, where it added it to the list.  When I clicked or ctrl-clicked (so that the below-mentioned camera stays selected) on "USB PTP Class Camera" and clicked Remove, kamera crashed.

My libgphoto2 is 2.4.7.

 -- Backtrace:
Application: KDE Control Module (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  gp_abilities_list_reset (list=0xffdddbda) at gphoto2-abilities-list.c:557
#7  0xb1eea62c in gp_abilities_list_free (list=0xffdddbda) at gphoto2-abilities-list.c:136
#8  0xb2058740 in KCamera::~KCamera() () from /usr/lib/kde4/kcm_kamera.so
#9  0xb205699e in KKameraConfig::slot_removeCamera() () from /usr/lib/kde4/kcm_kamera.so
#10 0xb205713b in KKameraConfig::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/kcm_kamera.so
#11 0xb778bf92 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/qt4/libQtCore.so.4
#12 0xb778c309 in QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**) () from /usr/lib/qt4/libQtCore.so.4
#13 0xb63cd572 in QAction::triggered(bool) () from /usr/lib/qt4/libQtGui.so.4
#14 0xb63ce846 in QAction::activate(QAction::ActionEvent) () from /usr/lib/qt4/libQtGui.so.4
#15 0xb67f0273 in QToolButton::nextCheckState() () from /usr/lib/qt4/libQtGui.so.4
#16 0xb671c674 in QAbstractButtonPrivate::click() () from /usr/lib/qt4/libQtGui.so.4
#17 0xb671c929 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/qt4/libQtGui.so.4
#18 0xb67f070d in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/qt4/libQtGui.so.4
#19 0xb6427ee2 in QWidget::event(QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#20 0xb671b64f in QAbstractButton::event(QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#21 0xb67f2f0b in QToolButton::event(QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#22 0xb63d307c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#23 0xb63d9957 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#24 0xb6cf4aab in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0xb7779e3f in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/qt4/libQtCore.so.4
#26 0xb63daf64 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/qt4/libQtGui.so.4
#27 0xb643df5e in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib/qt4/libQtGui.so.4
#28 0xb643d300 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/qt4/libQtGui.so.4
#29 0xb646474d in QEventDispatcherX11::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4/libQtGui.so.4
#30 0xb77784fa in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4/libQtCore.so.4
#31 0xb77786da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4/libQtCore.so.4
#32 0xb683a444 in QDialog::exec() () from /usr/lib/qt4/libQtGui.so.4
#33 0xb493c36e in kdemain () from /usr/lib/libkdeinit4_kcmshell4.so
#34 0x0804e1a4 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#35 0x0804edc5 in handle_launcher_request(int, char const*) ()
#36 0x0804f1dc in handle_requests(int) ()
#37 0x0804fead in main ()

Reported using DrKonqi
Comment 1 Wian Potgieter 2009-10-30 10:36:32 UTC
Did not see that it was actually a KDE Control Module running standalone and that the bug reporter listed it as systemsettings.  My bad!

*** This bug has been marked as a duplicate of bug 197931 ***