Bug 328019

Summary: Telepathy Message window crash
Product: [Unmaintained] telepathy Reporter: Kristofer Rickheden Gustavsson <hackan301>
Component: text-uiAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED UPSTREAM    
Severity: crash CC: mklapetek, rohan
Priority: NOR Keywords: drkonqi
Version: 0.6.3   
Target Milestone: Future   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kristofer Rickheden Gustavsson 2013-11-24 16:40:35 UTC
Application: ktp-text-ui (0.6.3)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.8.0-17-powerpc-smp ppc
Distribution: Ubuntu 13.04

-- Information about the crash:
Kubuntu 13.04 PowerPC, 1,5 Ghz, 2 GB RAM, Radeon 9600 128MB, Xorg UMS - When opening chat window either from incoming message or by starting new chat from contact list Chat window is showing for about a second and then crashes. Contact list and the rest of Telepathy seems to remain unaffected, this only regards the chat window.

The crash can be reproduced every time.

-- Backtrace:
Application: Telepathy Text Ui (ktp-text-ui), signal: Segmentation fault
Using host libthread_db library "/lib/powerpc-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x4805b690 (LWP 4044))]

Thread 7 (Thread 0x4979d3e0 (LWP 4051)):
#0  0x0a8ab5a0 in ?? () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#1  0x0a8ab57c in ?? () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#2  0x0a8ab7f4 in g_mutex_lock () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#3  0x0a855d3c in g_main_context_iteration () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#4  0x06b9bd1c in ?? () from /usr/lib/powerpc-linux-gnu/gio/modules/libdconfsettings.so
#5  0x0a886280 in ?? () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#6  0x0d88babc in start_thread () from /lib/powerpc-linux-gnu/libpthread.so.0
#7  0x0dbfb504 in clone () from /lib/powerpc-linux-gnu/libc.so.6

Thread 6 (Thread 0x4a0ff3e0 (LWP 4052)):
#0  0x0a8ab570 in ?? () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#1  0x0a8ab7f4 in g_mutex_lock () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#2  0x0a855b78 in ?? () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#3  0x0a8562d0 in g_main_loop_run () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#4  0x0a0a5e98 in ?? () from /usr/lib/powerpc-linux-gnu/libgio-2.0.so.0
#5  0x0a886280 in ?? () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#6  0x0d88babc in start_thread () from /lib/powerpc-linux-gnu/libpthread.so.0
#7  0x0dbfb504 in clone () from /lib/powerpc-linux-gnu/libc.so.6

Thread 5 (Thread 0x4a9ff3e0 (LWP 4053)):
#0  0x0d89075c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/powerpc-linux-gnu/libpthread.so.0
#1  0x0dc0ad78 in pthread_cond_wait () from /lib/powerpc-linux-gnu/libc.so.6
#2  0x0c62aea0 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#3  0x0c62b160 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#4  0x0d88babc in start_thread () from /lib/powerpc-linux-gnu/libpthread.so.0
#5  0x0dbfb504 in clone () from /lib/powerpc-linux-gnu/libc.so.6

Thread 4 (Thread 0x4b3af3e0 (LWP 4054)):
#0  0x0d89075c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/powerpc-linux-gnu/libpthread.so.0
#1  0x0dc0ad78 in pthread_cond_wait () from /lib/powerpc-linux-gnu/libc.so.6
#2  0x0c6630c4 in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#3  0x0c45b804 in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#4  0x0c645340 in WTF::threadEntryPoint(void*) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#5  0x0c662b64 in WTF::wtfThreadEntryPoint(void*) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#6  0x0d88babc in start_thread () from /lib/powerpc-linux-gnu/libpthread.so.0
#7  0x0dbfb504 in clone () from /lib/powerpc-linux-gnu/libc.so.6

Thread 3 (Thread 0x4c1043e0 (LWP 4055)):
#0  0x0dbeb774 in poll () from /lib/powerpc-linux-gnu/libc.so.6
#1  0x0a868294 in g_poll () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#2  0x0a855be8 in ?? () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#3  0x0a855d50 in g_main_context_iteration () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#4  0x0ebf9e40 in QEventDispatcherGlib::processEvents (this=0xa868270 <g_poll>, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x0ebbb544 in QEventLoop::processEvents (this=this@entry=0x4c103c38, flags=...) at kernel/qeventloop.cpp:149
#6  0x0ebbb948 in QEventLoop::exec (this=this@entry=0x4c103c38, flags=...) at kernel/qeventloop.cpp:204
#7  0x0ea7eca4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x0ea7ee64 in QThread::run (this=<optimized out>) at thread/qthread.cpp:609
#9  0x0ea822fc in QThreadPrivate::start (arg=0x10502900) at thread/qthread_unix.cpp:338
#10 0x0d88babc in start_thread () from /lib/powerpc-linux-gnu/libpthread.so.0
#11 0x0dbfb504 in clone () from /lib/powerpc-linux-gnu/libc.so.6

Thread 2 (Thread 0x4c9ca3e0 (LWP 4057)):
#0  0x0d88f168 in __pthread_mutex_unlock_usercnt () from /lib/powerpc-linux-gnu/libpthread.so.0
#1  0x0dc0b148 in pthread_mutex_unlock () from /lib/powerpc-linux-gnu/libc.so.6
#2  0x0a8ab858 in g_mutex_unlock () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#3  0x0a854f60 in g_main_context_prepare () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#4  0x0a855ad0 in ?? () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#5  0x0a855d50 in g_main_context_iteration () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#6  0x0ebf9e40 in QEventDispatcherGlib::processEvents (this=0x1, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x0ebbb544 in QEventLoop::processEvents (this=this@entry=0x4c9c9c18, flags=...) at kernel/qeventloop.cpp:149
#8  0x0ebbb948 in QEventLoop::exec (this=this@entry=0x4c9c9c18, flags=...) at kernel/qeventloop.cpp:204
#9  0x0ea7eca4 in QThread::exec (this=this@entry=0x1059ce60) at thread/qthread.cpp:542
#10 0x0eb96dac in QInotifyFileSystemWatcherEngine::run (this=0x1059ce60) at io/qfilesystemwatcher_inotify.cpp:256
#11 0x0ea822fc in QThreadPrivate::start (arg=0x1059ce60) at thread/qthread_unix.cpp:338
#12 0x0d88babc in start_thread () from /lib/powerpc-linux-gnu/libpthread.so.0
#13 0x0dbfb504 in clone () from /lib/powerpc-linux-gnu/libc.so.6

Thread 1 (Thread 0x4805b690 (LWP 4044)):
[KCrash Handler]
#5  0x0c4915a4 in JSC::LLInt::CLoop::execute(JSC::ExecState*, JSC::OpcodeID, bool) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#6  0x0c475c6c in JSC::Interpreter::execute(JSC::ProgramExecutable*, JSC::ExecState*, JSC::JSObject*) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#7  0x0c5352a0 in JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&, JSC::JSValue, JSC::JSValue*) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#8  0x0ade0e44 in WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&, WebCore::DOMWrapperWorld*) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#9  0x0ade16d8 in WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#10 0x0b086664 in WebCore::ScriptElement::executeScript(WebCore::ScriptSourceCode const&) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#11 0x0b2bcd78 in WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent(WebCore::PendingScript&) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#12 0x0b2bd48c in WebCore::HTMLScriptRunner::executeParsingBlockingScript() () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#13 0x0b2bd904 in WebCore::HTMLScriptRunner::executeParsingBlockingScripts() () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#14 0x0b2a4bac in WebCore::HTMLDocumentParser::executeScriptsWaitingForStylesheets() () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#15 0x0aff997c in WebCore::Document::didRemoveAllPendingStylesheet() () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#16 0x0b00b784 in WebCore::DocumentStyleSheetCollection::removePendingSheet(WebCore::DocumentStyleSheetCollection::RemovePendingSheetNotificationType) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#17 0x0b0a09c8 in WebCore::StyleElement::sheetLoaded(WebCore::Document*) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#18 0x0b24d1ac in WebCore::HTMLStyleElement::sheetLoaded() () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#19 0x0afaac40 in WebCore::StyleSheetContents::checkLoaded() () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#20 0x0afaab30 in WebCore::StyleSheetContents::checkLoaded() () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#21 0x0afaab30 in WebCore::StyleSheetContents::checkLoaded() () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#22 0x0afa8890 in WebCore::StyleRuleImport::setCSSStyleSheet(WTF::String const&, WebCore::KURL const&, WTF::String const&, WebCore::CachedCSSStyleSheet const*) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#23 0x0b433714 in WebCore::CachedCSSStyleSheet::checkNotify() () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#24 0x0b43337c in WebCore::CachedCSSStyleSheet::data(WTF::PassRefPtr<WebCore::ResourceBuffer>, bool) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#25 0x0b4be5c0 in WebCore::SubresourceLoader::didFinishLoading(double) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#26 0x0b4af7bc in WebCore::ResourceLoader::didFinishLoading(WebCore::ResourceHandle*, double) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#27 0x0b928eb4 in WebCore::QNetworkReplyHandler::finish() () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#28 0x0b928b7c in WebCore::QNetworkReplyHandlerCallQueue::flush() () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#29 0x0b928d94 in WebCore::QNetworkReplyHandlerCallQueue::push(void (WebCore::QNetworkReplyHandler::*)()) () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#30 0x0b929398 in WebCore::QNetworkReplyWrapper::didReceiveFinished() () from /usr/lib/powerpc-linux-gnu/libQtWebKit.so.4
#31 0x0ebd8f4c in QMetaObject::activate (sender=0x10987fe0, m=m@entry=0xdaf22d4 <QNetworkReply::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#32 0x0da82cb0 in QNetworkReply::finished (this=<optimized out>) at .moc/release-shared/moc_qnetworkreply.cpp:167
#33 0x0da82f34 in qt_static_metacall (_a=0xbf89f264, _id=1, _o=0x10987fe0, _c=<optimized out>) at .moc/release-shared/moc_qnetworkreply.cpp:108
#34 QNetworkReply::qt_static_metacall (_o=_o@entry=0x10987fe0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=1, _a=_a@entry=0xbf89f364) at .moc/release-shared/moc_qnetworkreply.cpp:101
#35 0x0ebc82d8 in QMetaMethod::invoke (this=this@entry=0xbf89f49c, object=object@entry=0x10987fe0, connectionType=Qt::DirectConnection, connectionType@entry=Qt::AutoConnection, returnValue=<error reading variable: value has been optimized out>, val0=<error reading variable: value has been optimized out>, val1=<error reading variable: value has been optimized out>, val2=<error reading variable: value has been optimized out>, val3=<error reading variable: value has been optimized out>, val4=..., val5=<error reading variable: Cannot access memory at address 0x0>, val6=<error reading variable: Cannot access memory at address 0x0>, val7=<error reading variable: Cannot access memory at address 0x0>, val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#36 0x0ebcb19c in QMetaObject::invokeMethod (obj=0x10987fe0, member=<optimized out>, type=Qt::AutoConnection, ret=<error reading variable: value has been optimized out>, val0=<error reading variable: value has been optimized out>, val1=<error reading variable: value has been optimized out>, val2=<error reading variable: value has been optimized out>, val3=<error reading variable: value has been optimized out>, val4=<error reading variable: Cannot access memory at address 0x0>, val5=..., val6=<error reading variable: Cannot access memory at address 0x2c>, val7=..., val8=<error reading variable: Cannot access memory at address 0x9>, val9=<error reading variable: value has been optimized out>) at kernel/qmetaobject.cpp:1179
#37 0x0f664340 in ?? () from /usr/lib/libkio.so.5
#38 0x0f666614 in ?? () from /usr/lib/libkio.so.5
#39 0x0ebd8f4c in QMetaObject::activate (sender=0x105a2bf0, m=<optimized out>, local_signal_index=<optimized out>, argv=0xbf89f8d8) at kernel/qobject.cpp:3539
#40 0x0fe349b4 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#41 0x0fe34a2c in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#42 0x0f6ae6c8 in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
#43 0x0f6aead8 in KIO::TransferJob::slotFinished() () from /usr/lib/libkio.so.5
#44 0x0f6ad000 in ?? () from /usr/lib/libkio.so.5
#45 0x0ebd8f4c in QMetaObject::activate (sender=0x105d7e80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#46 0x0f769760 in KIO::SlaveInterface::finished() () from /usr/lib/libkio.so.5
#47 0x0f76c974 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#48 0x0f769420 in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#49 0x0f75a728 in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#50 0x0f75ac64 in ?? () from /usr/lib/libkio.so.5
#51 0x0ebd8f4c in QMetaObject::activate (sender=0x107b7b60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#52 0x0f66fe10 in KIO::Connection::readyRead() () from /usr/lib/libkio.so.5
#53 0x0f670538 in ?? () from /usr/lib/libkio.so.5
#54 0x0ebd3968 in QMetaCallEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at kernel/qobject.cpp:524
#55 0x0ebdeed0 in QObject::event (this=0x10280090, e=<optimized out>) at kernel/qobject.cpp:1194
#56 0x0df8a248 in QApplicationPrivate::notify_helper (this=this@entry=0x101534a0, receiver=receiver@entry=0x107b7b60, e=e@entry=0x105fbf00) at kernel/qapplication.cpp:4567
#57 0x0df8d574 in QApplication::notify (this=0x10140840, receiver=0x107b7b60, e=0x105fbf00) at kernel/qapplication.cpp:4428
#58 0x0fab45c8 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#59 0x0ebbd040 in QCoreApplication::notifyInternal (this=0x10140840, receiver=receiver@entry=0x107b7b60, event=event@entry=0x105fbf00) at kernel/qcoreapplication.cpp:946
#60 0x0ebc1554 in sendEvent (event=0x105fbf00, receiver=0x107b7b60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#61 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=0, data=0x10109130) at kernel/qcoreapplication.cpp:1570
#62 0x0ebc18e0 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#63 0x0ebf9bec in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#64 postEventSourceDispatch (s=0x10153840) at kernel/qeventdispatcher_glib.cpp:279
#65 0x0a855864 in g_main_context_dispatch () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#66 0x0a855c48 in ?? () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#67 0x0a855d50 in g_main_context_iteration () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
#68 0x0ebf9dd8 in QEventDispatcherGlib::processEvents (this=0xa868270 <g_poll>, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#69 0x0e054bd0 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#70 0x0ebbb544 in QEventLoop::processEvents (this=this@entry=0xbf8a03a8, flags=...) at kernel/qeventloop.cpp:149
#71 0x0ebbb948 in QEventLoop::exec (this=this@entry=0xbf8a03a8, flags=...) at kernel/qeventloop.cpp:204
#72 0x0ebc2bbc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#73 0x0df87dd0 in QApplication::exec () at kernel/qapplication.cpp:3828
#74 0x1000a1a8 in main (argc=1, argv=0xbf8a0764) at /build/buildd/ktp-text-ui-0.6.3/app/main.cpp:93

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-11-30 02:26:29 UTC
*** Bug 328237 has been marked as a duplicate of this bug. ***
Comment 2 Martin Klapetek 2013-11-30 09:59:25 UTC
I see you both are on PowerPC arch, so it's probably related to that. 

Can you try some qtwebkit browser like rekonq or konqueror with webkit core? Does it crash too?
Comment 3 Kristofer Rickheden Gustavsson 2013-12-03 21:03:26 UTC
Yes, rekonq crashes as soon as it starts up and so does Kmail. Kopete doesn't even start up.
I know that the rekonq crash was a known bugg as of the release of 13.04 PPC.

I tried another chat client as well, Pidgin. Contact list is fine but chat window makes it crash all together. With Telepathy at least the contact list remains.
Comment 4 Kristofer Rickheden Gustavsson 2013-12-03 21:10:42 UTC
(In reply to comment #2)
> I see you both are on PowerPC arch, so it's probably related to that. 
> 
> Can you try some qtwebkit browser like rekonq or konqueror with webkit core?
> Does it crash too?

Added a comment first instead of a reply - Just want to add that this is new for 13.04, last distro I had was Kubuntu PPC 12.04 and Kopete, Telepathy and rekonq didn't crash there. Pidgin though... I think did crash on PPC 12.04 as well.
Comment 5 Martin Klapetek 2013-12-03 21:41:06 UTC
I'm afraid this might be distro related, there's nothing we can do here to make it not crash, sorry.

You should report this downstream at Kubuntu bugs (probably at https://bugs.launchpad.net/ubuntu/+filebug but I'll try sending someone from Kubuntu here to instruct you better).
Comment 6 Rohan Garg 2013-12-04 14:48:15 UTC
Hi
This seems to be a crash in Qt itself to be honest ( It seems to crash in JavaScript core ), and it should be reported to https://bugreports.qt-project.org/secure/Dashboard.jspa instead of Launchpad.