Application: ktp-log-viewer (0.4.1) KDE Platform Version: 4.8.4 (4.8.4) (Compiled from sources) Qt Version: 4.8.2 Operating System: Linux 3.2.0-3-amd64 x86_64 Distribution: Debian GNU/Linux testing (wheezy) -- Information about the crash: Every time I start log viewer from the text ui it crashes immediately The crash can be reproduced every time. -- Backtrace: Application: KDE IM Log Viewer (ktp-log-viewer), signal: Aborted Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f14ad0bd820 (LWP 32764))] Thread 5 (Thread 0x7f1496ef5700 (LWP 324)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f14a98d0c0d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f14aa291280) at wtf/FastMalloc.cpp:2499 #2 0x00007f14a98d0d19 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1622 #3 0x00007f14a5554b50 in start_thread (arg=<optimized out>) at pthread_create.c:304 #4 0x00007f14a5e8c6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f14965f4700 (LWP 325)): #0 0x00007f14a5557205 in __pthread_mutex_lock (mutex=0x261ae40) at pthread_mutex_lock.c:92 #1 0x00007f14aab111b1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f14aaad4d19 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f14aaad53fb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f14aaad55f4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f14a81d0cf6 in QEventDispatcherGlib::processEvents (this=0x261b1c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #6 0x00007f14a81a0232 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #7 0x00007f14a81a0487 in QEventLoop::exec (this=0x7f14965f3d60, flags=...) at kernel/qeventloop.cpp:204 #8 0x00007f14a809f3b7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501 #9 0x00007f14a80a23db in QThreadPrivate::start (arg=0x261a400) at thread/qthread_unix.cpp:307 #10 0x00007f14a5554b50 in start_thread (arg=<optimized out>) at pthread_create.c:304 #11 0x00007f14a5e8c6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #12 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f1494b90700 (LWP 368)): #0 0x00007f14a5e81a93 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f14aaad54d4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f14aaad5932 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f1494b95efb in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so #4 0x00007f14aaaf7df5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f14a5554b50 in start_thread (arg=<optimized out>) at pthread_create.c:304 #6 0x00007f14a5e8c6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f148ffff700 (LWP 369)): #0 0x00007f14a5e81a93 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f14aaad54d4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f14aaad5932 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f14aa3817f6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 #4 0x00007f14aaaf7df5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f14a5554b50 in start_thread (arg=<optimized out>) at pthread_create.c:304 #6 0x00007f14a5e8c6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f14ad0bd820 (LWP 32764)): [KCrash Handler] #5 0x00007f14a5de6475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #6 0x00007f14a5de96f0 in *__GI_abort () at abort.c:92 #7 0x00007f14a809791b in qt_message_output (msgType=<optimized out>, buf=0x29a9268 "ASSERT failure in RefPointer::operator->() const: \"Attempted to dereference a null pointer\", file /usr/include/QtGStreamer/QGlib/refpointer.h, line 354") at global/qglobal.cpp:2284 #8 0x00007f14a8097ccf in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f14a8205358 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=0x7fff9d3350e8) at global/qglobal.cpp:2330 #9 0x00007f14a8097e74 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2513 #10 0x000000000041a2bb in QGlib::RefPointer<Tpl::Entity>::operator-> (this=0x7fff9d3352b0) at /usr/include/QtGStreamer/QGlib/refpointer.h:353 #11 0x000000000041eb1d in EntityView::rowsInserted (this=0x2586ef0, parent=..., start=0, end=0) at /opt/telepathy/ktp-text-ui/logviewer/entity-view.cpp:51 #12 0x000000000041343d in EntityView::qt_static_metacall (_o=0x2586ef0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff9d335470) at /opt/telepathy/ktp-text-ui/build/logviewer/moc_entity-view.cpp:50 #13 0x00007f14a81b5b51 in QMetaObject::activate (sender=0x25074e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9d335470) at kernel/qobject.cpp:3547 #14 0x00007f14a8201ed4 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197 #15 0x00007f14a819b5dd in QAbstractItemModel::endInsertRows (this=0x25074e0) at kernel/qabstractitemmodel.cpp:2433 #16 0x00007f14a7061957 in QSortFilterProxyModelPrivate::insert_source_items (this=0x2652820, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:695 #17 0x00007f14a7065a93 in QSortFilterProxyModelPrivate::source_items_inserted (this=0x2652820, source_parent=..., start=<optimized out>, end=<optimized out>, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:806 #18 0x00007f14a7065daf in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x2652820, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1280 #19 0x00007f14a81b5b51 in QMetaObject::activate (sender=0x2506c70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9d3357d0) at kernel/qobject.cpp:3547 #20 0x00007f14a8201ed4 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197 #21 0x00007f14a819b5dd in QAbstractItemModel::endInsertRows (this=0x2506c70) at kernel/qabstractitemmodel.cpp:2433 #22 0x00000000004190eb in EntityModel::onEntitiesSearchFinished (this=0x2506c70, operation=0x28e9160) at /opt/telepathy/ktp-text-ui/logviewer/entity-model.cpp:154 #23 0x0000000000412e30 in EntityModel::qt_static_metacall (_o=0x2506c70, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff9d335bc0) at /opt/telepathy/ktp-text-ui/build/logviewer/moc_entity-model.cpp:52 #24 0x00007f14a81b5b51 in QMetaObject::activate (sender=0x28e9160, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9d335bc0) at kernel/qobject.cpp:3547 #25 0x0000000000425a41 in Tpl::PendingOperation::finished (this=0x28e9160, _t1=0x28e9160) at /opt/telepathy/telepathy-logger-qt4/build/TelepathyLoggerQt4/_gen/pending-operation.moc.hpp:111 #26 0x0000000000425c5f in Tpl::PendingOperation::emitFinished (this=0x28e9160) at /opt/telepathy/telepathy-logger-qt4/TelepathyLoggerQt4/pending-operation.cpp:98 #27 0x00000000004258fd in Tpl::PendingOperation::qt_static_metacall (_o=0x28e9160, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x29c78d0) at /opt/telepathy/telepathy-logger-qt4/build/TelepathyLoggerQt4/_gen/pending-operation.moc.hpp:62 #28 0x00007f14a81bad16 in QObject::event (this=0x28e9160, e=<optimized out>) at kernel/qobject.cpp:1195 #29 0x00007f14a6ab7114 in notify_helper (e=0x2919a00, receiver=0x28e9160, this=0x2308250) at kernel/qapplication.cpp:4556 #30 QApplicationPrivate::notify_helper (this=0x2308250, receiver=0x28e9160, e=0x2919a00) at kernel/qapplication.cpp:4528 #31 0x00007f14a6abbee3 in QApplication::notify (this=0x7fff9d3365f0, receiver=0x28e9160, e=0x2919a00) at kernel/qapplication.cpp:4417 #32 0x00007f14ac5fd8a6 in KApplication::notify (this=0x7fff9d3365f0, receiver=0x28e9160, event=0x2919a00) at ../../kdeui/kernel/kapplication.cpp:311 #33 0x00007f14a81a16fc in QCoreApplication::notifyInternal (this=0x7fff9d3365f0, receiver=0x28e9160, event=0x2919a00) at kernel/qcoreapplication.cpp:915 #34 0x00007f14a81a54da in sendEvent (event=0x2919a00, receiver=0x28e9160) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x22d8670) at kernel/qcoreapplication.cpp:1539 #36 0x00007f14a81d0863 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #37 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279 #38 0x00007f14aaad5205 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #39 0x00007f14aaad5538 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #40 0x00007f14aaad55f4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #41 0x00007f14a81d0c8f in QEventDispatcherGlib::processEvents (this=0x22d9b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #42 0x00007f14a6b5b9fe in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #43 0x00007f14a81a0232 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #44 0x00007f14a81a0487 in QEventLoop::exec (this=0x7fff9d336520, flags=...) at kernel/qeventloop.cpp:204 #45 0x00007f14a81a57d7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187 #46 0x000000000041448e in main (argc=3, argv=0x7fff9d3368f8) at /opt/telepathy/ktp-text-ui/logviewer/main.cpp:48 Report to https://bugs.kde.org
Fixed by David Commit d6a141af402d15513365998567d04955d1eec9cc Author: David Edmundson <kde@davidedmundson.co.uk> Date: Fri Jul 27 11:30:14 2012 +0100 Fix crash in logviewer when opening with supplied args Now the model is the treeview some rows do not represent a contact and as such this crashed when accessing entityptr logviewer/entity-view.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)