Bug 234380 - Crash of the applet to add new actions to the device manager
Summary: Crash of the applet to add new actions to the device manager
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_solid-actions (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: System Settings Bugs
URL:
Keywords:
: 238826 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-14 20:06 UTC by Daniel Wrana
Modified: 2010-05-25 21:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Wrana 2010-04-14 20:06:13 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-20-generic i686
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
Wenn changing the header part of a new created action, the device-manager crashed. to be honest, i have no idea, how this tool really works

 -- Backtrace:
Application: Systemeinstellungen (systemsettings), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7865710 (LWP 1845))]

Thread 2 (Thread 0xb4f48b70 (LWP 1847)):
#0  __pthread_mutex_lock (mutex=0x8c9ac54) at pthread_mutex_lock.c:125
#1  0x00737b36 in pthread_mutex_lock (mutex=0x8c9ac54) at forward.c:182
#2  0x06d432e8 in g_main_context_acquire () from /lib/libglib-2.0.so.0
#3  0x06d44e5e in ?? () from /lib/libglib-2.0.so.0
#4  0x06d454b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00d5860f in QEventDispatcherGlib::processEvents (this=0x8ae8988, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x00d2b059 in QEventLoop::processEvents (this=0xb4f48290, flags=) at kernel/qeventloop.cpp:149
#7  0x00d2b4aa in QEventLoop::exec (this=0xb4f48290, flags=...) at kernel/qeventloop.cpp:201
#8  0x00c275a8 in QThread::exec (this=0x8c8ebb8) at thread/qthread.cpp:487
#9  0x00d0ac1b in QInotifyFileSystemWatcherEngine::run (this=0x8c8ebb8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00c2a32e in QThreadPrivate::start (arg=0x8c8ebb8) at thread/qthread_unix.cpp:248
#11 0x008a096e in start_thread (arg=0xb4f48b70) at pthread_create.c:300
#12 0x0072a9de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7865710 (LWP 1845)):
[KCrash Handler]
#6  0x04e7fa0a in PredicateItem::parent (this=0xbff5fd08) at ../../../solid/solid-actions-kcm/PredicateItem.cpp:77
#7  0x016ab0cd in QModelIndex::parent (this=0x925eea8, painter=0xbff5ff4c, option=..., index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#8  QTreeView::drawRow (this=0x925eea8, painter=0xbff5ff4c, option=..., index=...) at itemviews/qtreeview.cpp:1471
#9  0x016b64a9 in QTreeView::drawTree (this=0x925eea8, painter=0xbff5ff4c, region=...) at itemviews/qtreeview.cpp:1433
#10 0x016b95bd in QTreeView::paintEvent (this=0x925eea8, event=0xbff60804) at itemviews/qtreeview.cpp:1266
#11 0x011266b6 in QWidget::event (this=0x925eea8, event=0xbff60804) at kernel/qwidget.cpp:8144
#12 0x01522fd3 in QFrame::event (this=0x925eea8, e=0xbff60804) at widgets/qframe.cpp:557
#13 0x015bd382 in QAbstractScrollArea::viewportEvent (this=0x93b74f0, e=0x8d2da98) at widgets/qabstractscrollarea.cpp:1036
#14 0x01671bd7 in QAbstractItemView::viewportEvent (this=0x925eea8, event=0xbff60804) at itemviews/qabstractitemview.cpp:1610
#15 0x016b2f7c in QTreeView::viewportEvent (this=0x925eea8, event=0xbff60804) at itemviews/qtreeview.cpp:1248
#16 0x015bfc65 in QAbstractScrollAreaPrivate::viewportEvent (this=0x92602c0, o=0x925acc8, e=0xbff60804) at widgets/qabstractscrollarea_p.h:100
#17 QAbstractScrollAreaFilter::eventFilter (this=0x92602c0, o=0x925acc8, e=0xbff60804) at widgets/qabstractscrollarea_p.h:116
#18 0x00d2bcda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x894ee40, receiver=0x925acc8, event=0xbff60804) at kernel/qcoreapplication.cpp:819
#19 0x010c84b9 in QApplicationPrivate::notify_helper (this=0x894ee40, receiver=0x925acc8, e=0xbff60804) at kernel/qapplication.cpp:4296
#20 0x010cf0f9 in QApplication::notify (this=0xbff6146c, receiver=0x925acc8, e=0xbff60804) at kernel/qapplication.cpp:4265
#21 0x00485f2a in KApplication::notify (this=0xbff6146c, receiver=0x925acc8, event=0xbff60804) at ../../kdeui/kernel/kapplication.cpp:302
#22 0x00d2ca3b in QCoreApplication::notifyInternal (this=0xbff6146c, receiver=0x925acc8, event=0xbff60804) at kernel/qcoreapplication.cpp:704
#23 0x0112f9d6 in QCoreApplication::sendSpontaneousEvent (this=0x925f280, pdev=0x92587bc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x92584d8)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#24 QWidgetPrivate::drawWidget (this=0x925f280, pdev=0x92587bc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x92584d8) at kernel/qwidget.cpp:5339
#25 0x013067d7 in QWidgetBackingStore::sync (this=0x92584d8) at painting/qbackingstore.cpp:1283
#26 0x0111fb93 in QWidgetPrivate::syncBackingStore (this=0x9255ff8) at kernel/qwidget.cpp:1672
#27 0x01126e76 in QWidget::event (this=0x9255f40, event=0x96da3a0) at kernel/qwidget.cpp:8291
#28 0x010c84dc in QApplicationPrivate::notify_helper (this=0x894ee40, receiver=0x9255f40, e=0x96da3a0) at kernel/qapplication.cpp:4300
#29 0x010cf0f9 in QApplication::notify (this=0xbff6146c, receiver=0x9255f40, e=0x96da3a0) at kernel/qapplication.cpp:4265
#30 0x00485f2a in KApplication::notify (this=0xbff6146c, receiver=0x9255f40, event=0x96da3a0) at ../../kdeui/kernel/kapplication.cpp:302
#31 0x00d2ca3b in QCoreApplication::notifyInternal (this=0xbff6146c, receiver=0x9255f40, event=0x96da3a0) at kernel/qcoreapplication.cpp:704
#32 0x00d2f473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x892d2c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x892d2c0) at kernel/qcoreapplication.cpp:1345
#34 0x00d2f5dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#35 0x00d58adf in QCoreApplication::sendPostedEvents (s=0x8951110) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#36 postEventSourceDispatch (s=0x8951110) at kernel/qeventdispatcher_glib.cpp:276
#37 0x06d415e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0x06d452d8 in ?? () from /lib/libglib-2.0.so.0
#39 0x06d454b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#40 0x00d585d5 in QEventDispatcherGlib::processEvents (this=0x892d4a0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#41 0x01188135 in QGuiEventDispatcherGlib::processEvents (this=0x892d4a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00d2b059 in QEventLoop::processEvents (this=0xbff613c4, flags=) at kernel/qeventloop.cpp:149
#43 0x00d2b4aa in QEventLoop::exec (this=0xbff613c4, flags=...) at kernel/qeventloop.cpp:201
#44 0x00d2f69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#45 0x010c8577 in QApplication::exec () at kernel/qapplication.cpp:3579
#46 0x08056b5e in main (argc=5, argv=0xbff615b4) at ../../../systemsettings/app/main.cpp:49

Reported using DrKonqi
Comment 1 Ben Cooksley 2010-04-14 22:01:12 UTC
Header part? Do you mean the name, icon or command? Or did you mean the top level item?
Comment 2 Daniel Wrana 2010-04-14 22:23:29 UTC
Sorry, I was not precise and I have the german translation, so i have retranslate the ui. When you open an action, there is a tree of properties. The top level Item is something like "alle included properties must be fulfilled". I change this ohne to "Properties=>storage-device=>object name=>fill something in" and then i click "save changes" and then i click "ok". On the last ok it crashes. reproducable. Maybe i shouldn't be able to change the to level item anyways.
Comment 3 Ben Cooksley 2010-04-14 23:57:54 UTC
This should now be fixed in Trunk. Can you please confirm?
Comment 4 Janet 2010-05-20 12:02:56 UTC
Same problem here with KDE 4.4.3:

I can add new actions. But as soon as I try to change the parameter type to "Device interface match" and choose Device Type "Portable Media Player" and click on "Save parameter changes" systemsettings crashes reproducably. It does not happen when I choose e.g. "Property match" and then "Portable Media Player".
Comment 5 Christoph Feck 2010-05-25 21:57:27 UTC
*** Bug 238826 has been marked as a duplicate of this bug. ***