Bug 293995 - Crash when creating a new Condition in the context tab in simon
Summary: Crash when creating a new Condition in the context tab in simon
Status: RESOLVED FIXED
Alias: None
Product: simon
Classification: Applications
Component: simon (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Grasch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-13 13:22 UTC by Mathias Stieger
Modified: 2012-02-17 10:06 UTC (History)
0 users

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 Mathias Stieger 2012-02-13 13:22:39 UTC
Application: simon (0.3.75)
KDE Platform Version: 4.8.00 (4.8.0 "release 2"
Qt Version: 4.8.0
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: Klicked the button to create a new condition in the context tab

The crash can be reproduced every time.

-- Backtrace:
Application: simon (simon), signal: Aborted
[Current thread is 1 (Thread 0x7f5fe3992760 (LWP 7011))]

Thread 5 (Thread 0x7f5fccc3b700 (LWP 7012)):
#0  0x00007f5fdb19b523 in poll () from /lib64/libc.so.6
#1  0x00007f5fd8c33a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5fd8c33f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5fe17f08ef in QEventDispatcherGlib::processEvents (this=0x7f5fc80008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f5fe17c0682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5fe17c08d7 in QEventLoop::exec (this=0x7f5fccc3ae20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f5fe16c1537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f5fe16c455b in QThreadPrivate::start (arg=0x8a71c0) at thread/qthread_unix.cpp:298
#8  0x00007f5fe142cf05 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f5fdb1a463d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f5fc79c9700 (LWP 7013)):
#0  0x00007f5fe1430e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5fe0a4a9dc in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f5fe0a4ab09 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f5fe142cf05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5fdb1a463d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f5fc71c8700 (LWP 7014)):
#0  0x00007f5fdb19b523 in poll () from /lib64/libc.so.6
#1  0x00007f5fd8c33a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5fd8c33f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5fe17f08ef in QEventDispatcherGlib::processEvents (this=0x7f5fc00008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f5fe17c0682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5fe17c08d7 in QEventLoop::exec (this=0x7f5fc71c7e20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f5fe16c1537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f5fe16c455b in QThreadPrivate::start (arg=0xcfbc10) at thread/qthread_unix.cpp:298
#8  0x00007f5fe142cf05 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f5fdb1a463d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5fc5f3c700 (LWP 7015)):
#0  0x00007f5fdb19dd33 in select () from /lib64/libc.so.6
#1  0x00007f5fe179e931 in QProcessManager::run (this=0x7f5fe1b184a0) at io/qprocess_unix.cpp:244
#2  0x00007f5fe16c455b in QThreadPrivate::start (arg=0x7f5fe1b184a0) at thread/qthread_unix.cpp:298
#3  0x00007f5fe142cf05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5fdb1a463d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5fe3992760 (LWP 7011)):
[KCrash Handler]
#6  0x00007f5fdb0ffd95 in raise () from /lib64/libc.so.6
#7  0x00007f5fdb1012ab in abort () from /lib64/libc.so.6
#8  0x00007f5fd4215655 in _dbus_abort () at dbus-sysdeps.c:94
#9  0x00007f5fd420c5f1 in _dbus_warn_check_failed (format=0x7f5fd421b920 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:289
#10 0x00007f5fd41fe06a in dbus_message_new_method_call (destination=0x0, path=0x7f5fe1b17778 "", interface=0xfbe568 "org.freedesktop.DBus.Introspectable", method=0xfb9118 "Introspect") at dbus-message.c:1211
#11 0x00007f5fdbbffd93 in q_dbus_message_new_method_call (method=0xfb9118 "Introspect", interface=0xfbe568 "org.freedesktop.DBus.Introspectable", path=0x7f5fe1b17778 "", bus_name=<optimized out>) at qdbus_symbols_p.h:264
#12 QDBusMessagePrivate::toDBusMessage (message=<optimized out>, capabilities=..., error=0x7fffeae118d0) at qdbusmessage.cpp:134
#13 0x00007f5fdbbf9da3 in QDBusConnectionPrivate::sendWithReply (this=0x64ace0, message=..., sendMode=1, timeout=-1) at qdbusintegrator.cpp:1892
#14 0x00007f5fdbbfa819 in QDBusConnectionPrivate::findMetaObject (this=0x64ace0, service=..., path=..., interface=..., error=...) at qdbusintegrator.cpp:2356
#15 0x00007f5fdbc0949b in QDBusInterfacePrivate::QDBusInterfacePrivate (this=0xfbe390, serv=<optimized out>, p=<optimized out>, iface=<optimized out>, con=<optimized out>) at qdbusinterface.cpp:158
#16 0x00007f5fdbc095d9 in QDBusInterface::QDBusInterface (this=0xfbab60, service=..., path=..., interface=..., connection=<optimized out>, parent=0xfb9030) at qdbusinterface.cpp:220
#17 0x00007f5fc463d957 in DBusCondition::privateDeSerialize (this=0xfb9030, elem=<optimized out>) at /home/mathias/simon/plugins/Conditions/DBus/dbuscondition.cpp:115
#18 0x00007f5fd5bddd56 in Condition::deSerialize (this=0xfb9030, elem=...) at /home/mathias/simon/simonlib/simoncontextdetection/condition.cpp:68
#19 0x00007f5fd5bdc044 in ContextManager::getCondition (this=0x857d60, elem=...) at /home/mathias/simon/simonlib/simoncontextdetection/contextmanager.cpp:152
#20 0x00007f5fd5bdd2d3 in ContextManager::getConditions (this=0x857d60) at /home/mathias/simon/simonlib/simoncontextdetection/contextmanager.cpp:67
#21 0x00007f5fdd10645b in ContextViewPrivate::addCondition (this=0xcbdc40) at /home/mathias/simon/simon/src/simoncontextui/contextviewprivate.cpp:79
#22 0x00007f5fe17d5761 in QMetaObject::activate (sender=0xcc4fc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffeae124b0) at kernel/qobject.cpp:3556
#23 0x00007f5fe25c6c22 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#24 0x00007f5fe2305cce in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:546
#25 0x00007f5fe230700b in QAbstractButtonPrivate::click (this=0xcc4ff0) at widgets/qabstractbutton.cpp:539
#26 0x00007f5fe230727c in QAbstractButton::mouseReleaseEvent (this=0xcc4fc0, e=0x7fffeae12d80) at widgets/qabstractbutton.cpp:1121
#27 0x00007f5fe1f8c594 in QWidget::event (this=0xcc4fc0, event=0x7fffeae12d80) at kernel/qwidget.cpp:8361
#28 0x00007f5fe1f3be84 in notify_helper (e=0x7fffeae12d80, receiver=0xcc4fc0, this=0x65e390) at kernel/qapplication.cpp:4550
#29 QApplicationPrivate::notify_helper (this=0x65e390, receiver=0xcc4fc0, e=0x7fffeae12d80) at kernel/qapplication.cpp:4522
#30 0x00007f5fe1f415d3 in QApplication::notify (this=<optimized out>, receiver=0xcc4fc0, e=0x7fffeae12d80) at kernel/qapplication.cpp:4093
#31 0x00007f5fe3399786 in KApplication::notify (this=0x7fffeae13a80, receiver=0xcc4fc0, event=0x7fffeae12d80) at /usr/src/debug/kdelibs-4.8.0/kdeui/kernel/kapplication.cpp:311
#32 0x00007f5fe17c189c in QCoreApplication::notifyInternal (this=0x7fffeae13a80, receiver=0xcc4fc0, event=0x7fffeae12d80) at kernel/qcoreapplication.cpp:876
#33 0x00007f5fe1f3ce52 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#34 QApplicationPrivate::sendMouseEvent (receiver=0xcc4fc0, event=0x7fffeae12d80, alienWidget=0xcc4fc0, nativeWidget=0xcbd860, buttonDown=0xcc4fc0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3161
#35 0x00007f5fe1fb8c05 in QETWidget::translateMouseEvent (this=0xcbd860, event=<optimized out>) at kernel/qapplication_x11.cpp:4505
#36 0x00007f5fe1fb7aca in QApplication::x11ProcessEvent (this=0x7fffeae13a80, event=0x7fffeae13640) at kernel/qapplication_x11.cpp:3631
#37 0x00007f5fe1fdf652 in x11EventSourceDispatch (s=0x655aa0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x00007f5fd8c3358d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#39 0x00007f5fd8c33d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#40 0x00007f5fd8c33f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#41 0x00007f5fe17f08ef in QEventDispatcherGlib::processEvents (this=0x625000, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#42 0x00007f5fe1fdf2de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f5fe17c0682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f5fe17c08d7 in QEventLoop::exec (this=0x7fffeae13a10, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007f5fe17c5435 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#46 0x000000000040c82c in main (argc=1, argv=0x7fffeae13d38) at /home/mathias/simon/simon/src/main.cpp:91

Possible duplicates by query: bug 283690, bug 277710, bug 268134.

Reported using DrKonqi
Comment 1 Peter Grasch 2012-02-17 09:57:50 UTC
Git commit 1021eaa221dfd8f146dd047283b7de501053868e by Peter Grasch.
Committed on 17/02/2012 at 10:52.
Pushed by grasch into branch 'master'.

Renmoved an unnecessary step in the condition creation.

M  +5    -16   simonlib/simoncontextdetection/contextmanager.cpp
M  +6    -5    simonlib/simoncontextdetection/contextmanager.h

http://commits.kde.org/simon/1021eaa221dfd8f146dd047283b7de501053868e