Bug 310552 - telepathy log viewer crash while searching for text
Summary: telepathy log viewer crash while searching for text
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Unmaintained
Component: log-viewer (show other bugs)
Version: 0.5.1
Platform: openSUSE Linux
: NOR major
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-23 11:14 UTC by Ruchir Brahmbhatt
Modified: 2012-11-23 13:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruchir Brahmbhatt 2012-11-23 11:14:59 UTC
When I open recent conversations from chat window and search for any word, it crashes.

Reproducible: Always

Steps to Reproduce:
1. Open chat window of any contact.
2. Click previous conversations.
3. Enter any search string in search all logs textbox.
Actual Results:  
Crash

Expected Results:  
Filter logs as per search string.

Backtrace
-------------------

Application: KDE IM Log Viewer (ktp-log-viewer), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb29c8780 (LWP 9444))]

Thread 5 (Thread 0xb1836b40 (LWP 9445)):
#0  0xb7796424 in __kernel_vsyscall ()
#1  0xb41aea4c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb42b721c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb63aeb1d in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb63aeb4f in ?? () from /usr/lib/libQtWebKit.so.4
#5  0xb41aae32 in start_thread () from /lib/libpthread.so.0
#6  0xb42a98ee in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb0f0db40 (LWP 9446)):
#0  0xb7796424 in __kernel_vsyscall ()
#1  0xb429e90b in poll () from /lib/libc.so.6
#2  0xb3c155eb in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb3c06bb0 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb3c06d11 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb518532f in QEventDispatcherGlib::processEvents (this=0xb0500468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb515204c in QEventLoop::processEvents (this=this@entry=0xb0f0d218, flags=...) at kernel/qeventloop.cpp:149
#7  0xb5152341 in QEventLoop::exec (this=0xb0f0d218, flags=...) at kernel/qeventloop.cpp:204
#8  0xb503da5c in QThread::exec (this=this@entry=0xa1682b0) at thread/qthread.cpp:501
#9  0xb503dbbb in QThread::run (this=0xa1682b0) at thread/qthread.cpp:568
#10 0xb5040e68 in QThreadPrivate::start (arg=0xa1682b0) at thread/qthread_unix.cpp:338
#11 0xb41aae32 in start_thread () from /lib/libpthread.so.0
#12 0xb42a98ee in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb018fb40 (LWP 9447)):
#0  0xb7796424 in __kernel_vsyscall ()
#1  0xb429e90b in poll () from /lib/libc.so.6
#2  0xb3c155eb in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb3c06bb0 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb3c06d11 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb0195d20 in dconf_gdbus_worker_thread () from /usr/lib/gio/modules/libdconfsettings.so
#6  0xb3c2c333 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb41aae32 in start_thread () from /lib/libpthread.so.0
#8  0xb42a98ee in clone () from /lib/libc.so.6

Thread 2 (Thread 0xae7feb40 (LWP 9450)):
#0  0xb7796424 in __kernel_vsyscall ()
#1  0xb429e90b in poll () from /lib/libc.so.6
#2  0xb3c155eb in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb3c06bb0 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb3c0708b in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#5  0xb3ae23aa in gdbus_shared_thread_func () from /usr/lib/libgio-2.0.so.0
#6  0xb3c2c333 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb41aae32 in start_thread () from /lib/libpthread.so.0
#8  0xb42a98ee in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb29c8780 (LWP 9444)):
[KCrash Handler]
#7  Tp::DBusProxy::objectPath (this=0x0) at /usr/src/debug/telepathy-qt-0.9.3/TelepathyQt/dbus-proxy.cpp:131
#8  0xb6c1d492 in Tp::Account::uniqueIdentifier (this=0x0) at /usr/src/debug/telepathy-qt-0.9.3/TelepathyQt/account.cpp:2080
#9  0x0a158680 in ?? ()
#10 0x0805f6d9 in ?? ()
#11 0x080550df in ?? ()
#12 0xb516b872 in QMetaObject::activate (sender=0xa625590, m=0xb6b7d97c <Tpl::PendingOperation::staticMetaObject>, local_signal_index=0, argv=0xbfbb1318) at kernel/qobject.cpp:3556
#13 0xb6b6b9d5 in Tpl::PendingOperation::finished (this=this@entry=0xa625590, _t1=_t1@entry=0xa625590) at /usr/src/debug/telepathy-logger-qt-0.5.1/build/TelepathyLoggerQt4/_gen/pending-operation.moc.hpp:111
#14 0xb6b6bf7f in Tpl::PendingOperation::emitFinished (this=this@entry=0xa625590) at /usr/src/debug/telepathy-logger-qt-0.5.1/TelepathyLoggerQt4/pending-operation.cpp:98
#15 0xb6b6db54 in qt_static_metacall (_a=0xa0f62b8, _id=4, _o=0xa625590, _c=<optimized out>) at /usr/src/debug/telepathy-logger-qt-0.5.1/build/TelepathyLoggerQt4/_gen/pending-operation.moc.hpp:62
#16 Tpl::PendingOperation::qt_static_metacall (_o=0xa625590, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xa0f62b8) at /usr/src/debug/telepathy-logger-qt-0.5.1/build/TelepathyLoggerQt4/_gen/pending-operation.moc.hpp:52
#17 0xb51652fa in QMetaCallEvent::placeMetaCall (this=0xa4ee150, object=0xa625590) at kernel/qobject.cpp:525
#18 0xb516985b in QObject::event (this=0xa625590, e=0xa4ee150) at kernel/qobject.cpp:1204
#19 0xb45bdadc in QApplicationPrivate::notify_helper (this=0x9fe2f30, receiver=0xa625590, e=0xa4ee150) at kernel/qapplication.cpp:4557
#20 0xb45c24df in QApplication::notify (this=0xa4ee150, receiver=0xa625590, e=0xa4ee150) at kernel/qapplication.cpp:3939
#21 0xb724f6a1 in KApplication::notify (this=0xbfbb1b90, receiver=0xa625590, event=0xa4ee150) at /usr/src/debug/kdelibs-4.9.3/kdeui/kernel/kapplication.cpp:311
#22 0xb515357e in QCoreApplication::notifyInternal (this=0xbfbb1b90, receiver=0xa625590, event=0xa4ee150) at kernel/qcoreapplication.cpp:915
#23 0xb51572cd in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9fbb370) at kernel/qcoreapplication.cpp:1539
#25 0xb515754c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#26 0xb5185194 in sendPostedEvents () at kernel/qcoreapplication.h:236
#27 postEventSourceDispatch (s=0x9fe3380) at kernel/qeventdispatcher_glib.cpp:279
#28 0xb3c06893 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb3c06c30 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0xb3c06d11 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0xb5185311 in QEventDispatcherGlib::processEvents (this=0x9fbe9b8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0xb466f33a in QGuiEventDispatcherGlib::processEvents (this=0x9fbe9b8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0xb515204c in QEventLoop::processEvents (this=this@entry=0xbfbb1aa8, flags=...) at kernel/qeventloop.cpp:149
#34 0xb5152341 in QEventLoop::exec (this=0xbfbb1aa8, flags=...) at kernel/qeventloop.cpp:204
#35 0xb51575fa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#36 0xb45bb954 in QApplication::exec () at kernel/qapplication.cpp:3818
#37 0x0805376a in ?? ()
#38 0xb41d83d5 in __libc_start_main () from /lib/libc.so.6
#39 0x08053ad5 in _start ()
Comment 1 Daniel Vrátil 2012-11-23 12:19:44 UTC
Could you please install debuginfo packages for ktp-text-ui, reproduce the issue again and upload the new  backtrace? Thank you.
Comment 2 Ruchir Brahmbhatt 2012-11-23 12:30:18 UTC
Here is revised bt.

Application: KDE IM Log Viewer (ktp-log-viewer), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb2946780 (LWP 10671))]

Thread 5 (Thread 0xb17b4b40 (LWP 10672)):
#0  0xb7714424 in __kernel_vsyscall ()
#1  0xb412ca4c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb423521c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb632cb1d in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb632cb4f in ?? () from /usr/lib/libQtWebKit.so.4
#5  0xb4128e32 in start_thread () from /lib/libpthread.so.0
#6  0xb42278ee in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb0e8bb40 (LWP 10673)):
#0  0xb31bae3d in clock_gettime () from /lib/librt.so.1
#1  0xb501d865 in do_gettime (frac=0xb0e8af60, sec=0xb0e8af58) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb5103cfe in QTimerInfoList::updateCurrentTime (this=0xb0502074) at kernel/qeventdispatcher_unix.cpp:343
#4  0x7fffffff in ?? ()
#5  0xb510409a in QTimerInfoList::timerWait (this=0xb0502074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x7fffffff in ?? ()

Thread 3 (Thread 0xb00f7b40 (LWP 10674)):
#0  0xb3bc5ee0 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#1  0xb3b84439 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0xb3b84aaf in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb3b84d11 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb016cd20 in dconf_gdbus_worker_thread () from /usr/lib/gio/modules/libdconfsettings.so
#5  0xb3baa333 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0xb4128e32 in start_thread () from /lib/libpthread.so.0
#7  0xb42278ee in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaf6ffb40 (LWP 10675)):
#0  0xb7714424 in __kernel_vsyscall ()
#1  0xb421c90b in poll () from /lib/libc.so.6
#2  0xb3b935eb in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb3b84bb0 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb3b8508b in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#5  0xb3a603aa in gdbus_shared_thread_func () from /usr/lib/libgio-2.0.so.0
#6  0xb3baa333 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb4128e32 in start_thread () from /lib/libpthread.so.0
#8  0xb42278ee in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb2946780 (LWP 10671)):
[KCrash Handler]
#7  Tp::DBusProxy::objectPath (this=0x0) at /usr/src/debug/telepathy-qt-0.9.3/TelepathyQt/dbus-proxy.cpp:131
#8  0xb6b9b492 in Tp::Account::uniqueIdentifier (this=0x0) at /usr/src/debug/telepathy-qt-0.9.3/TelepathyQt/account.cpp:2080
#9  0x0893cbe8 in ?? ()
#10 0x0805f6d9 in ConversationDatePicker::setSearchHits (this=0x893cbe8, searchHits=...) at /usr/src/debug/ktp-text-ui-0.5.1/logviewer/conversation-date-picker.cpp:68
#11 0x080550df in LogViewer::globalSearchFinished (this=0xbfc1ef1c, operation=0x8cdc000) at /usr/src/debug/ktp-text-ui-0.5.1/logviewer/log-viewer.cpp:182
#12 0xb50e9872 in QMetaObject::activate (sender=0x8cdc000, m=0xb6afb97c <Tpl::PendingOperation::staticMetaObject>, local_signal_index=0, argv=0xbfc1e698) at kernel/qobject.cpp:3556
#13 0xb6ae99d5 in Tpl::PendingOperation::finished (this=this@entry=0x8cdc000, _t1=_t1@entry=0x8cdc000) at /usr/src/debug/telepathy-logger-qt-0.5.1/build/TelepathyLoggerQt4/_gen/pending-operation.moc.hpp:111
#14 0xb6ae9f7f in Tpl::PendingOperation::emitFinished (this=this@entry=0x8cdc000) at /usr/src/debug/telepathy-logger-qt-0.5.1/TelepathyLoggerQt4/pending-operation.cpp:98
#15 0xb6aebb54 in qt_static_metacall (_a=0x894b130, _id=4, _o=0x8cdc000, _c=<optimized out>) at /usr/src/debug/telepathy-logger-qt-0.5.1/build/TelepathyLoggerQt4/_gen/pending-operation.moc.hpp:62
#16 Tpl::PendingOperation::qt_static_metacall (_o=0x8cdc000, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x894b130) at /usr/src/debug/telepathy-logger-qt-0.5.1/build/TelepathyLoggerQt4/_gen/pending-operation.moc.hpp:52
#17 0xb50e32fa in QMetaCallEvent::placeMetaCall (this=0x8976be0, object=0x8cdc000) at kernel/qobject.cpp:525
#18 0xb50e785b in QObject::event (this=0x8cdc000, e=0x8976be0) at kernel/qobject.cpp:1204
#19 0xb453badc in QApplicationPrivate::notify_helper (this=0x87c8fe0, receiver=0x8cdc000, e=0x8976be0) at kernel/qapplication.cpp:4557
#20 0xb45404df in QApplication::notify (this=0x8976be0, receiver=0x8cdc000, e=0x8976be0) at kernel/qapplication.cpp:3939
#21 0xb71cd6a1 in KApplication::notify (this=0xbfc1ef10, receiver=0x8cdc000, event=0x8976be0) at /usr/src/debug/kdelibs-4.9.3/kdeui/kernel/kapplication.cpp:311
#22 0xb50d157e in QCoreApplication::notifyInternal (this=0xbfc1ef10, receiver=0x8cdc000, event=0x8976be0) at kernel/qcoreapplication.cpp:915
#23 0xb50d52cd in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x87a1370) at kernel/qcoreapplication.cpp:1539
#25 0xb50d554c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#26 0xb5103194 in sendPostedEvents () at kernel/qcoreapplication.h:236
#27 postEventSourceDispatch (s=0x87c6d18) at kernel/qeventdispatcher_glib.cpp:279
#28 0xb3b84893 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb3b84c30 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0xb3b84d11 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0xb5103311 in QEventDispatcherGlib::processEvents (this=0x87a49b8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0xb45ed33a in QGuiEventDispatcherGlib::processEvents (this=0x87a49b8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0xb50d004c in QEventLoop::processEvents (this=this@entry=0xbfc1ee28, flags=...) at kernel/qeventloop.cpp:149
#34 0xb50d0341 in QEventLoop::exec (this=0xbfc1ee28, flags=...) at kernel/qeventloop.cpp:204
#35 0xb50d55fa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#36 0xb4539954 in QApplication::exec () at kernel/qapplication.cpp:3818
#37 0x0805376a in main (argc=4, argv=0xbfc1f004) at /usr/src/debug/ktp-text-ui-0.5.1/logviewer/main.cpp:48
Comment 3 Daniel Vrátil 2012-11-23 13:04:01 UTC
Thanks, this helped a lot :)

This particular crash has already been fixed in kde-telepathy-0.5 and master branches. The fix will be available  in upcoming 0.5.2 release.


http://commits.kde.org/telepathy-text-ui/30b0282f0be5efb6c1009ef811b4844dfb3e65d4