Bug 236844 - Systemsettings crashed when opening camera settings [KKameraConfig::populateDeviceListView, KKameraConfig::load, KKameraConfig::displayGPSuccessDialogue]
Summary: Systemsettings crashed when opening camera settings [KKameraConfig::populateD...
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kamera (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Marcus Meissner
URL:
Keywords:
: 241869 243533 249534 260845 269443 270339 283851 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-08 13:26 UTC by Oleg Atamanenko
Modified: 2018-11-30 03:47 UTC (History)
14 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (11.36 KB, text/plain)
2010-05-31 16:35 UTC, Igor Gritsenko
Details
New crash information added by DrKonqi (11.28 KB, text/plain)
2011-03-02 02:10 UTC, OvermindDL1
Details
New crash information added by DrKonqi (11.57 KB, text/plain)
2011-05-05 04:46 UTC, dom
Details
New crash information added by DrKonqi (10.79 KB, text/plain)
2011-05-28 07:21 UTC, k.m.fort
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Atamanenko 2010-05-08 13:26:27 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic-pae i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Systemsettings crashed when opening camera settings.

See attached backtrace.

 -- Backtrace:
Application: Параметры системы (systemsettings), signal: Segmentation fault
[Current thread is 1 (Thread 0xb55de710 (LWP 17492))]

Thread 2 (Thread 0xb050ab70 (LWP 17667)):
#0  0xb5930e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0xb65f06fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0xb65f5825 in QTimerInfoList::updateCurrentTime (this=0x87777bc) at kernel/qeventdispatcher_unix.cpp:340
#3  0xb65f586a in QTimerInfoList::timerWait (this=0x87777bc, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0xb65f3818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb050a0bc) at kernel/qeventdispatcher_glib.cpp:136
#5  0xb65f38a5 in timerSourcePrepare (source=0x0, timeout=0xb5934ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0xb5bcaaca in IA__g_main_context_prepare (context=0x898f728, priority=0xb050a13c) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2280
#7  0xb5bcaee9 in g_main_context_iterate (context=0x898f728, block=<value optimized out>, dispatch=1, self=0xafc006a8) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2571
#8  0xb5bcb4b8 in IA__g_main_context_iteration (context=0x898f728, may_block=1) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2654
#9  0xb65f360f in QEventDispatcherGlib::processEvents (this=0x8fddcd8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0xb65c6059 in QEventLoop::processEvents (this=0xb050a280, flags=) at kernel/qeventloop.cpp:149
#11 0xb65c64aa in QEventLoop::exec (this=0xb050a280, flags=...) at kernel/qeventloop.cpp:201
#12 0xb64c25a8 in QThread::exec (this=0x839b758) at thread/qthread.cpp:487
#13 0xb65a858c in QDnotifySignalThread::run (this=0x839b758) at io/qfilesystemwatcher_dnotify.cpp:178
#14 0xb64c532e in QThreadPrivate::start (arg=0x839b758) at thread/qthread_unix.cpp:248
#15 0xb5ce896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb62bda0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb55de710 (LWP 17492)):
[KCrash Handler]
#6  0x00000000 in ?? ()
#7  0xa1a72e68 in KKameraConfig::populateDeviceListView (this=0xa4cdf10) at ../../../kamera/kcontrol/kamera.cpp:178
#8  0xa1a760a3 in KKameraConfig::load (this=0xa4cdf10) at ../../../kamera/kcontrol/kamera.cpp:260
#9  0xa1a74684 in KKameraConfig::displayGPSuccessDialogue (this=0xa4cdf10) at ../../../kamera/kcontrol/kamera.cpp:173
#10 0xa1a74843 in KKameraConfig (this=0xa4cdf10, parent=0x8e0eb90) at ../../../kamera/kcontrol/kamera.cpp:74
#11 0xa1a77a0d in KPluginFactory::createInstance<KKameraConfig, QWidget> (parentWidget=0x0, parent=0x8e0eb90, args=...) at /usr/include/kpluginfactory.h:461
#12 0xb695a05e in KPluginFactory::create (this=0x894d820, iface=0xb77b87a0 "KCModule", parentWidget=0x0, parent=0x8e0eb90, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:191
#13 0xb7815cca in KPluginFactory::create<KCModule> (mod=..., report=KCModuleLoader::Inline, parent=0x8e0eb90, args=...) at ../../kdecore/util/kpluginfactory.h:515
#14 KService::createInstance<KCModule> (mod=..., report=KCModuleLoader::Inline, parent=0x8e0eb90, args=...) at ../../kdecore/services/kservice.h:517
#15 KService::createInstance<KCModule> (mod=..., report=KCModuleLoader::Inline, parent=0x8e0eb90, args=...) at ../../kdecore/services/kservice.h:494
#16 KService::createInstance<KCModule> (mod=..., report=KCModuleLoader::Inline, parent=0x8e0eb90, args=...) at ../../kdecore/services/kservice.h:537
#17 KCModuleLoader::loadModule (mod=..., report=KCModuleLoader::Inline, parent=0x8e0eb90, args=...) at ../../kutils/kcmoduleloader.cpp:89
#18 0xb781b1ed in KCModuleProxyPrivate::loadModule (this=0x8fde948) at ../../kutils/kcmoduleproxy.cpp:106
#19 0xb781bee3 in KCModuleProxy::realModule (this=0x8e0eb90) at ../../kutils/kcmoduleproxy.cpp:83
#20 0xb77f3501 in ModuleView::updatePageIconHeader (this=0x8389c08, page=0xa694160) at ../../../systemsettings/core/ModuleView.cpp:228
#21 0xb77f4552 in ModuleView::addModule (this=0x8389c08, module=0x8695884) at ../../../systemsettings/core/ModuleView.cpp:213
#22 0xb77f5136 in ModuleView::loadModule (this=0x8389c08, menuItem=0x873dcf0) at ../../../systemsettings/core/ModuleView.cpp:169
#23 0xb3a0e1bc in ClassicMode::changeModule (this=0x83675b8, activeModule=...) at ../../../systemsettings/classic/ClassicMode.cpp:165
#24 0xb3a1014d in ClassicMode::qt_metacall (this=0x83675b8, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbff6c418) at ./ClassicMode.moc:91
#25 0xb65ccc9a in QMetaObject::metacall (object=0x83675b8, cl=172810000, idx=14, argv=0xbff6c418) at kernel/qmetaobject.cpp:237
#26 0xb65db3d5 in QMetaObject::activate (sender=0x878ff50, m=0xb741c164, local_signal_index=3, argv=0xbff6c418) at kernel/qobject.cpp:3293
#27 0xb707ffb3 in QAbstractItemView::activated (this=0x878ff50, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:345
#28 0xb708de78 in QAbstractItemView::mouseReleaseEvent (this=0x878ff50, event=0xbff6cdf0) at itemviews/qabstractitemview.cpp:1784
#29 0xb70d843c in QTreeView::mouseReleaseEvent (this=0x878ff50, event=0xbff6cdf0) at itemviews/qtreeview.cpp:1820
#30 0xb6b457f8 in QWidget::event (this=0x878ff50, event=0xbff6cdf0) at kernel/qwidget.cpp:7998
#31 0xb6f41fd3 in QFrame::event (this=0x878ff50, e=0xbff6cdf0) at widgets/qframe.cpp:557
#32 0xb6fdc382 in QAbstractScrollArea::viewportEvent (this=0xa4cdf10, e=0x87e7240) at widgets/qabstractscrollarea.cpp:1036
#33 0xb7090bd7 in QAbstractItemView::viewportEvent (this=0x878ff50, event=0xbff6cdf0) at itemviews/qabstractitemview.cpp:1610
#34 0xb70d1f7c in QTreeView::viewportEvent (this=0x878ff50, event=0xbff6cdf0) at itemviews/qtreeview.cpp:1248
#35 0xb6fdec65 in QAbstractScrollAreaPrivate::viewportEvent (this=0x85ecce8, o=0x8318870, e=0xbff6cdf0) at widgets/qabstractscrollarea_p.h:100
#36 QAbstractScrollAreaFilter::eventFilter (this=0x85ecce8, o=0x8318870, e=0xbff6cdf0) at widgets/qabstractscrollarea_p.h:116
#37 0xb65c6cda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x82b2718, receiver=0x8318870, event=0xbff6cdf0) at kernel/qcoreapplication.cpp:819
#38 0xb6ae74b9 in QApplicationPrivate::notify_helper (this=0x82b2718, receiver=0x8318870, e=0xbff6cdf0) at kernel/qapplication.cpp:4296
#39 0xb6aee9f7 in QApplication::notify (this=0xbff6d6ac, receiver=0x8318870, e=0xbff6cdf0) at kernel/qapplication.cpp:3865
#40 0xb760df2a in KApplication::notify (this=0xbff6d6ac, receiver=0x8318870, event=0xbff6cdf0) at ../../kdeui/kernel/kapplication.cpp:302
#41 0xb65c7a3b in QCoreApplication::notifyInternal (this=0xbff6d6ac, receiver=0x8318870, event=0xbff6cdf0) at kernel/qcoreapplication.cpp:704
#42 0xb6aed952 in QCoreApplication::sendEvent (receiver=0x8318870, event=0xbff6cdf0, alienWidget=0x8318870, nativeWidget=0x878ff50, buttonDown=0xb742b058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#43 QApplicationPrivate::sendMouseEvent (receiver=0x8318870, event=0xbff6cdf0, alienWidget=0x8318870, nativeWidget=0x878ff50, buttonDown=0xb742b058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#44 0xb6b79088 in QETWidget::translateMouseEvent (this=0x878ff50, event=0xbff6d30c) at kernel/qapplication_x11.cpp:4368
#45 0xb6b78511 in QApplication::x11ProcessEvent (this=0xbff6d6ac, event=0xbff6d30c) at kernel/qapplication_x11.cpp:3379
#46 0xb6ba760a in x11EventSourceDispatch (s=0x82ab7e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0xb5bc75e5 in g_main_dispatch (context=0x82aaa90) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:1960
#48 IA__g_main_context_dispatch (context=0x82aaa90) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2513
#49 0xb5bcb2d8 in g_main_context_iterate (context=0x82aaa90, block=<value optimized out>, dispatch=1, self=0x82b2890) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2591
#50 0xb5bcb4b8 in IA__g_main_context_iteration (context=0x82aaa90, may_block=1) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2654
#51 0xb65f35d5 in QEventDispatcherGlib::processEvents (this=0x82824a0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#52 0xb6ba7135 in QGuiEventDispatcherGlib::processEvents (this=0x82824a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0xb65c6059 in QEventLoop::processEvents (this=0xbff6d604, flags=) at kernel/qeventloop.cpp:149
#54 0xb65c64aa in QEventLoop::exec (this=0xbff6d604, flags=...) at kernel/qeventloop.cpp:201
#55 0xb65ca69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#56 0xb6ae7577 in QApplication::exec () at kernel/qapplication.cpp:3579
#57 0x08056b5e in main (argc=5, argv=0xbff6d7f4) at ../../../systemsettings/app/main.cpp:49

Reported using DrKonqi
Comment 1 Marcus Meissner 2010-05-09 22:43:33 UTC
#7  0xa1a72e68 in KKameraConfig::populateDeviceListView (this=0xa4cdf10) at
../../../kamera/kcontrol/kamera.cpp:178

this is
        m_deviceSel->clear();

this can only happen if:
        m_deviceSel = new K3IconView(this);
returns NULL or a clear() method with NULL which is called before load().

very strange.

Does it always happen?
is there any error on the shell before?
Comment 2 Oleg Atamanenko 2010-05-11 02:31:22 UTC
No, there are no any errors before on the shell.
Comment 3 Igor Gritsenko 2010-05-31 16:35:25 UTC
Created attachment 47525 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.4.81 (KDE 4.4.81 (KDE 4.5 >= 20100527)) using Qt 4.7.0

- What I was doing when the application crashed:
Systemsettings crashed when opening camera settings.

-- Backtrace (Reduced):
#8  0x0296b8ee in KKameraConfig::populateDeviceListView (this=0x96ed580) at /home/kde-devel/kde/src/KDE/kdegraphics/kamera/kcontrol/kamera.cpp:178
#9  0x0296c1ec in KKameraConfig::load (this=0x96ed580) at /home/kde-devel/kde/src/KDE/kdegraphics/kamera/kcontrol/kamera.cpp:260
#10 0x0296b8b4 in KKameraConfig::displayGPSuccessDialogue (this=0x96ed580) at /home/kde-devel/kde/src/KDE/kdegraphics/kamera/kcontrol/kamera.cpp:173
#11 0x0296aaba in KKameraConfig (this=0x96ed580, parent=0x9855b50) at /home/kde-devel/kde/src/KDE/kdegraphics/kamera/kcontrol/kamera.cpp:74
#12 0x0296e7af in KPluginFactory::createInstance<KKameraConfig, QWidget> (parentWidget=0x0, parent=0x9855b50, args=...) at /usr/local/include/kpluginfactory.h:461
Comment 4 Christoph Feck 2010-06-16 04:57:18 UTC
*** Bug 241869 has been marked as a duplicate of this bug. ***
Comment 5 Marcus Meissner 2010-07-03 23:57:35 UTC
*** Bug 243533 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2010-08-30 21:01:05 UTC
*** Bug 249534 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2010-08-30 21:14:38 UTC
Marcus, I have an explanation, at least for the duplicate bug 249534. The KKameraConfig::cbGPCancel() callback runs the Qt event loop, and this gives the user the chance to play with the user interface, such as moving to a different module, or even (worse) invoking the Kamera module again.

I don't really understand the gphoto integration, but if we can avoid running a nested event loop, or block the parent widget by showing a modal dialog, then the crash should not be possible.
Comment 8 Dario Andres 2010-12-21 16:30:55 UTC
*** Bug 260845 has been marked as a duplicate of this bug. ***
Comment 9 OvermindDL1 2011-03-02 02:10:59 UTC
Created attachment 57595 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.0

- What I was doing when the application crashed:

Clicked on the Camera applet in System Settings, it switched to a blank window like it was loading it, then vanished.

-- Backtrace (Reduced):
#6  0x00007f6f08885dfc in KKameraConfig::populateDeviceListView (this=0x3be8d90) at ../../../kamera/kcontrol/kamera.cpp:178
#7  0x00007f6f08888ba0 in KKameraConfig::load (this=0x3be8d90) at ../../../kamera/kcontrol/kamera.cpp:260
#8  0x00007f6f088872b1 in KKameraConfig::displayGPSuccessDialogue (this=0x3be8d90) at ../../../kamera/kcontrol/kamera.cpp:173
#9  0x00007f6f0888744f in KKameraConfig::KKameraConfig (this=0x3be8d90, parent=0x229ebf0) at ../../../kamera/kcontrol/kamera.cpp:74
#10 0x00007f6f0888a345 in KPluginFactory::createInstance<KKameraConfig, QWidget> (parentWidget=<value optimized out>, parent=<value optimized out>, args=...) at /usr/include/kpluginfactory.h:473
Comment 10 Christoph Feck 2011-03-26 17:24:00 UTC
*** Bug 269443 has been marked as a duplicate of this bug. ***
Comment 11 Christoph Feck 2011-04-08 03:51:22 UTC
*** Bug 270339 has been marked as a duplicate of this bug. ***
Comment 12 dom 2011-05-05 04:46:03 UTC
Created attachment 59637 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1

- What I was doing when the application crashed:

I was trying to connect my Canon EOS600D camera to my XPS GEN2, and the camera property kept crashing. Additionally, I could not "see" the camera in Dolphin, as it kept saying there was an error when trying to read the SD card.

-- Backtrace (Reduced):
#6  0xb1b3b1d9 in KKameraConfig::populateDeviceListView (this=0x829d8f0) at /usr/src/debug/kdegraphics-4.6.0/kamera/kcontrol/kamera.cpp:178
#7  0xb1b3c8d8 in KKameraConfig::load (this=0x829d8f0) at /usr/src/debug/kdegraphics-4.6.0/kamera/kcontrol/kamera.cpp:260
#8  0xb1b3a330 in KKameraConfig::displayGPSuccessDialogue (this=0x829d8f0) at /usr/src/debug/kdegraphics-4.6.0/kamera/kcontrol/kamera.cpp:173
#9  0xb1b3b032 in KKameraConfig::KKameraConfig (this=0x829d8f0, parent=0x8121dd0) at /usr/src/debug/kdegraphics-4.6.0/kamera/kcontrol/kamera.cpp:74
#10 0xb1b3d037 in KPluginFactory::createInstance<KKameraConfig, QWidget> (parentWidget=0x0, parent=0x8121dd0, args=...) at /usr/include/kpluginfactory.h:473
Comment 13 k.m.fort 2011-05-28 07:21:30 UTC
Created attachment 60405 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.6.3 (4.6.3) using Qt 4.7.2

Crashed as soon as I opend the Camera settings.

-- Backtrace (Reduced):
#6  0x00007f95d91bcd43 in KKameraConfig::populateDeviceListView (this=0xb947c0) at /usr/src/debug/kdegraphics-4.6.3/kamera/kcontrol/kamera.cpp:178
#7  0x00007f95d91be3f0 in KKameraConfig::load (this=0xb947c0) at /usr/src/debug/kdegraphics-4.6.3/kamera/kcontrol/kamera.cpp:260
#8  0x00007f95d91bc09e in KKameraConfig::displayGPSuccessDialogue (this=0xb947c0) at /usr/src/debug/kdegraphics-4.6.3/kamera/kcontrol/kamera.cpp:173
#9  0x00007f95d91bc25a in KKameraConfig::KKameraConfig (this=0xb947c0, parent=<optimized out>) at /usr/src/debug/kdegraphics-4.6.3/kamera/kcontrol/kamera.cpp:74
#10 0x00007f95d91be954 in KPluginFactory::createInstance<KKameraConfig, QWidget> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/kde4/kpluginfactory.h:473
Comment 14 Christoph Feck 2011-10-12 12:20:03 UTC
*** Bug 283851 has been marked as a duplicate of this bug. ***
Comment 15 Andrew Crouthamel 2018-10-31 03:57:53 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 16 Bug Janitor Service 2018-11-15 10:33:11 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 17 Bug Janitor Service 2018-11-30 03:47:12 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!