Bug 197931 - Systemsettings crashed while tried to remove a digital camera
Summary: Systemsettings crashed while tried to remove a digital camera
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Unmaintained
Component: kamera (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Marcus Meissner
URL:
Keywords:
: 212367 220192 220477 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-26 09:16 UTC by Bob K
Modified: 2009-12-29 19:18 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob K 2009-06-26 09:16:28 UTC
Application that crashed: systemsettings
Version of the application: 1.0
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
Qt Version: 4.5.0
Operating System: Linux 2.6.30-9-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
In systemsettings -> advanced user settings -> Digital Camera
i just tried to remove a Digital Camera (w910i or something like that)
while systemsettings crashed.

 -- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
[KCrash Handler]
#6  0x029ec6b3 in gp_abilities_list_reset () from /usr/lib/libgphoto2.so.2
#7  0x029ec70b in gp_abilities_list_free () from /usr/lib/libgphoto2.so.2
#8  0x018f110f in ~KCamera (this=0x308) at /build/buildd/kdegraphics-4.2.90/kamera/kcontrol/kameradevice.cpp:73
#9  0x018edb06 in KKameraConfig::slot_removeCamera (this=0xa2f79b8) at /build/buildd/kdegraphics-4.2.90/kamera/kcontrol/kamera.cpp:332
#10 0x018ee263 in KKameraConfig::qt_metacall (this=0xa2f79b8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfb06a2c)
    at /build/buildd/kdegraphics-4.2.90/obj-i486-linux-gnu/kamera/kcontrol/kamera.moc:85
#11 0x017afca8 in QMetaObject::activate (sender=0xa6af690, from_signal_index=5, to_signal_index=6, argv=0xbfb06a2c) at kernel/qobject.cpp:3069
#12 0x017b00e0 in QMetaObject::activate (sender=0xa6af690, m=0x8e93008, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfb06a2c) at kernel/qobject.cpp:3163
#13 0x08600891 in QAction::triggered (this=0xa6af690, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#14 0x08601e0f in QAction::activate (this=0xa6af690, event=QAction::Trigger) at kernel/qaction.cpp:1160
#15 0x08ad1322 in QToolButton::nextCheckState (this=0x1) at ../../include/QtGui/../../src/gui/kernel/qaction.h:203
#16 0x089e9cd3 in QAbstractButtonPrivate::click (this=0xa805028) at widgets/qabstractbutton.cpp:525
#17 0x089e9fa6 in QAbstractButton::mouseReleaseEvent (this=0xa692750, e=0xbfb07038) at widgets/qabstractbutton.cpp:1115
#18 0x08ad181c in QToolButton::mouseReleaseEvent (this=0xa692750, e=0xbfb07038) at widgets/qtoolbutton.cpp:709
#19 0x0865db43 in QWidget::event (this=0xa692750, event=0xbfb07038) at kernel/qwidget.cpp:7516
#20 0x089e7f5e in QAbstractButton::event (this=0xa692750, e=0xbfb07038) at widgets/qabstractbutton.cpp:1077
#21 0x08ad424a in QToolButton::event (this=0xa692750, event=0xbfb07038) at widgets/qtoolbutton.cpp:1151
#22 0x08606e9c in QApplicationPrivate::notify_helper (this=0x9e8e320, receiver=0xa692750, e=0xbfb07038) at kernel/qapplication.cpp:4084
#23 0x0860fb11 in QApplication::notify (this=0xbfb07954, receiver=0xa692750, e=0xbfb07038) at kernel/qapplication.cpp:3786
#24 0x00f75e8d in KApplication::notify (this=0xbfb07954, receiver=0xa692750, event=0xbfb07038) at /build/buildd/kde4libs-4.2.90/kdeui/kernel/kapplication.cpp:302
#25 0x01799a3b in QCoreApplication::notifyInternal (this=0xbfb07954, receiver=0xa692750, event=0xbfb07038) at kernel/qcoreapplication.cpp:602
#26 0x0860eb7e in QApplicationPrivate::sendMouseEvent (receiver=0xa692750, event=0xbfb07038, alienWidget=0xa692750, nativeWidget=0xa6a49b8, buttonDown=0x8eb1200, lastMouseReceiver=@0x8eb1204)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#27 0x0867e97e in QETWidget::translateMouseEvent (this=0xa6a49b8, event=0xbfb0767c) at kernel/qapplication_x11.cpp:4425
#28 0x0867dca7 in QApplication::x11ProcessEvent (this=0xbfb07954, event=0xbfb0767c) at kernel/qapplication_x11.cpp:3421
#29 0x086a8c6a in x11EventSourceDispatch (s=0x9e96d70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x077f1b88 in IA__g_main_context_dispatch (context=0x9e90688) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#31 0x077f50eb in g_main_context_iterate (context=0x9e90688, block=1, dispatch=1, self=0x9e8d888) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#32 0x077f5268 in IA__g_main_context_iteration (context=0x9e90688, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#33 0x017c5438 in QEventDispatcherGlib::processEvents (this=0x9e8de18, flags={i = -1078953928}) at kernel/qeventdispatcher_glib.cpp:323
#34 0x086a8365 in QGuiEventDispatcherGlib::processEvents (this=0x9e8de18, flags={i = -1078953880}) at kernel/qguieventdispatcher_glib.cpp:202
#35 0x0179806a in QEventLoop::processEvents (this=0xbfb078e0, flags={i = -1078953816}) at kernel/qeventloop.cpp:149
#36 0x017984aa in QEventLoop::exec (this=0xbfb078e0, flags={i = -1078953752}) at kernel/qeventloop.cpp:200
#37 0x0179a959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#38 0x08606d17 in QApplication::exec () at kernel/qapplication.cpp:3553
#39 0x08052ec4 in main (argc=5, argv=0xbfb07a74) at /build/buildd/kdebase-workspace-4.2.90/systemsettings/app/main.cpp:51

Reported using DrKonqi
Comment 1 Dario Andres 2009-06-26 15:28:05 UTC
What is your "libgphoto" package version?
THanks
Comment 2 Bob K 2009-06-26 15:32:04 UTC
Hello!

libgphoto2-2  2.4.2-ubuntu4
libgphoto2-port0  2.4.2-ubuntu4
Comment 3 Wian Potgieter 2009-10-30 10:36:32 UTC
*** Bug 212367 has been marked as a duplicate of this bug. ***
Comment 4 Wian Potgieter 2009-10-30 10:48:56 UTC
Here is the gdb backtrace:

#1  0xb47105e3 in gp_abilities_list_reset (list=0x80c36f8) at gphoto2-abilities-list.c:558
No locals.
#2  0xb471062c in gp_abilities_list_free (list=0x80c36f8) at gphoto2-abilities-list.c:136
        r = 0
#3  0xb487f9b0 in ~KCamera (this=0x82e1040, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/kamera-4.3.2/work/kamera-4.3.2/kamera/kcontrol/kameradevice.cpp:73
No locals.
#4  0xb487934f in KKameraConfig::slot_removeCamera (this=0x81bf4b0) at /var/tmp/portage/kde-base/kamera-4.3.2/work/kamera-4.3.2/kamera/kcontrol/kamera.cpp:332
        m_device = 0x82e1040
        name = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3216}, alloc = 0, size = 0, data = 0xb795f41a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {
              0}}, static shared_empty = {ref = {_q_value = 68}, alloc = 0, size = 0, data = 0xb795f42e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x80cf030,
          static codecForCStrings = 0x0}
#5  0xb487b61b in KKameraConfig::qt_metacall (this=0x81bf4b0, _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0xbfffcc48) at /var/tmp/portage/kde-base/kamera-4.3.2/work/kamera-4.3.2_build/kamera/kcontrol/kamera.moc:85
No locals.
#6  0xb78c7f92 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#7  0xb78c8309 in QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**) () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#8  0xb703e572 in QAction::triggered(bool) () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#9  0xb703f846 in QAction::activate(QAction::ActionEvent) () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#10 0xb7461273 in QToolButton::nextCheckState() () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#11 0xb738d674 in QAbstractButtonPrivate::click() () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#12 0xb738d929 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#13 0xb746170d in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#14 0xb7098ee2 in QWidget::event(QEvent*) () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#15 0xb738c64f in QAbstractButton::event(QEvent*) () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#16 0xb7463f0b in QToolButton::event(QEvent*) () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#17 0xb704407c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#18 0xb704a957 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#19 0xb7dc9aab in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
No symbol table info available.
#20 0xb78b5e3f in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#21 0xb704bf64 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#22 0xb70aef5e in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#23 0xb70ae300 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#24 0xb70d574d in QEventDispatcherX11::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#25 0xb78b44fa in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#26 0xb78b46da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#27 0xb74ab444 in QDialog::exec() () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#28 0xb7fdd36e in kdemain () from /usr/lib/libkdeinit4_kcmshell4.so
No symbol table info available.
#29 0x0804875b in main ()
Comment 5 Marcus Meissner 2009-11-28 23:00:40 UTC
there was an unitialied variable, m_abilitieslist

fixed in Revision 1055863

~/projects/kdegraphics/kamera/kcontrol> svn diff -c1055863
Index: kameradevice.cpp
===================================================================
--- kameradevice.cpp    (Revision 1055862)
+++ kameradevice.cpp    (Revision 1055863)
@@ -62,6 +62,7 @@
        m_model = name;
        m_path  = path;
        m_camera = NULL;
+       m_abilitylist = NULL;
 }
 
 KCamera::~KCamera()
Comment 6 Dario Andres 2009-12-29 19:18:39 UTC
*** Bug 220477 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-12-29 19:18:44 UTC
*** Bug 220192 has been marked as a duplicate of this bug. ***