Bug 332979

Summary: Kontact 4.12.4 Crashes
Product: [Applications] kontact Reporter: Sean <urbanmad>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: urbanmad
Priority: NOR Keywords: drkonqi
Version: 4.12.4   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Sean 2014-04-02 19:10:24 UTC
Application: kontact (4.12.4)
KDE Platform Version: 4.12.4 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.11.10-42.gabfcdb1-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

I am not sure if it is just clicking on a Local Folder or not, otherwise I have no idea

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Bus error
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5cda169880 (LWP 9588))]

Thread 4 (Thread 0x7f5cbd89b700 (LWP 9589)):
#0  0x00007f5cd17760af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5cd4f11f76 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f5cd59da5a0 <WTF::pageheap_memory>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:2571
#2  0x00007f5cd4f11fa9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:1767
#3  0x00007f5cd17720db in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5cd76b390d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f5c7cf80700 (LWP 9590)):
#0  0x00007f5cd17760af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5cd4c842cd in JSC::BlockAllocator::blockFreeingThreadMain (this=0x7f5cbd005398) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:128
#2  0x00007f5cd4f39ad6 in WTF::wtfThreadEntryPoint (param=0x1de4d90) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:196
#3  0x00007f5cd17720db in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5cd76b390d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5c677fe700 (LWP 9598)):
#0  0x00007f5cd11eeffa in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f5cd11ef2b9 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5cd11aeca0 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5cd11af523 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f5cd11af70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f5cd7e30d76 in QEventDispatcherGlib::processEvents (this=0x7f5c540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007f5cd7e02d0f in QEventLoop::processEvents (this=this@entry=0x7f5c677fdd60, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f5cd7e03005 in QEventLoop::exec (this=this@entry=0x7f5c677fdd60, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f5cd7d01fef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#9  0x00007f5cd7d0468f in QThreadPrivate::start (arg=0x1eeaa10) at thread/qthread_unix.cpp:338
#10 0x00007f5cd17720db in start_thread () from /lib64/libpthread.so.0
#11 0x00007f5cd76b390d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5cda169880 (LWP 9588)):
[KCrash Handler]
#6  _strnlen (maxlen=582108, str=0x7f5c53ef4fdc "video/quicktime, variant=(string)iso"<Address 0x7f5c53ef5000 out of bounds>) at gstregistrychunks.c:52
#7  gst_registry_chunks_load_pad_template (end=0x7f5c53f831b8 "", in=0x7fff4c1ab408, factory=0x37c5c60) at gstregistrychunks.c:526
#8  gst_registry_chunks_load_feature (plugin=0x37aa780, end=0x7f5c53f831b8 "", in=0x7fff4c1ab408, registry=0x37ab040) at gstregistrychunks.c:625
#9  _priv_gst_registry_chunks_load_plugin (registry=registry@entry=0x37ab040, in=in@entry=0x7fff4c1ab408, end=end@entry=0x7f5c53f831b8 "", out_plugin=out_plugin@entry=0x0) at gstregistrychunks.c:861
#10 0x00007f5ccb8ba470 in gst_registry_binary_read_cache (registry=registry@entry=0x37ab040, location=location@entry=0x37abe40 "/home/seansloanejohnson/.gstreamer-0.10/registry.x86_64.bin") at gstregistrybinary.c:600
#11 0x00007f5ccb893a7e in ensure_current_registry (error=0x7fff4c1ab488) at gstregistry.c:1649
#12 gst_update_registry () at gstregistry.c:1759
#13 0x00007f5ccb84a9c5 in init_post (context=<optimized out>, group=<optimized out>, data=<optimized out>, error=<optimized out>) at gst.c:792
#14 0x00007f5cd11ba4b8 in g_option_context_parse () from /usr/lib64/libglib-2.0.so.0
#15 0x00007f5ccb84b2dd in gst_init_check (argc=0x0, argv=0x0, err=0x7fff4c1ab640) at gst.c:445
#16 0x00007f5cd444de24 in WebCore::initializeGStreamer () from /usr/lib64/libQtWebKit.so.4
#17 0x00007f5cd446b8db in WebCore::initializeGStreamerAndRegisterWebKitElements () from /usr/lib64/libQtWebKit.so.4
#18 0x00007f5cd446b97b in WebCore::MediaPlayerPrivateGStreamer::isAvailable () from /usr/lib64/libQtWebKit.so.4
#19 0x00007f5cd446b9c9 in WebCore::MediaPlayerPrivateGStreamer::registerMediaEngine () from /usr/lib64/libQtWebKit.so.4
#20 0x00007f5cd4467186 in installedMediaEngines () from /usr/lib64/libQtWebKit.so.4
#21 0x00007f5cd44687c9 in WebCore::MediaPlayer::isAvailable () from /usr/lib64/libQtWebKit.so.4
#22 0x00007f5cd3b2c619 in WebCore::JSDOMWindow::audio () from /usr/lib64/libQtWebKit.so.4
#23 0x00007f5cd491a4ab in WebCore::jsDOMWindowAudioConstructor () from /usr/lib64/libQtWebKit.so.4
#24 0x00007f5cd4c16210 in getValue (propertyName=..., exec=0x7f5c64e6f388, this=0x7fff4c1ab7b0) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/runtime/PropertySlot.h:76
#25 get (propertyName=..., exec=0x7f5c64e6f388, this=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/runtime/JSObject.h:1256
#26 JSObjectGetProperty (ctx=0x7f5c64e6f388, object=<optimized out>, propertyName=<optimized out>, exception=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/API/JSObjectRef.cpp:257
#27 0x00007f5cd3ba105e in JSC::Bindings::convertValueToQVariant () from /usr/lib64/libQtWebKit.so.4
#28 0x00007f5cd3ba108f in JSC::Bindings::convertValueToQVariant () from /usr/lib64/libQtWebKit.so.4
#29 0x00007f5cd3ba108f in JSC::Bindings::convertValueToQVariant () from /usr/lib64/libQtWebKit.so.4
#30 0x00007f5cd3ba108f in JSC::Bindings::convertValueToQVariant () from /usr/lib64/libQtWebKit.so.4
#31 0x00007f5cd3ba108f in JSC::Bindings::convertValueToQVariant () from /usr/lib64/libQtWebKit.so.4
#32 0x00007f5cd3ba108f in JSC::Bindings::convertValueToQVariant () from /usr/lib64/libQtWebKit.so.4
#33 0x00007f5cd3ba108f in JSC::Bindings::convertValueToQVariant () from /usr/lib64/libQtWebKit.so.4
#34 0x00007f5cd3ba108f in JSC::Bindings::convertValueToQVariant () from /usr/lib64/libQtWebKit.so.4
#35 0x00007f5cd3ba108f in JSC::Bindings::convertValueToQVariant () from /usr/lib64/libQtWebKit.so.4
#36 0x00007f5cd3ba3807 in JSC::Bindings::convertValueToQVariant () from /usr/lib64/libQtWebKit.so.4
#37 0x00007f5cd3a98d17 in QWebFrame::evaluateJavaScript () from /usr/lib64/libQtWebKit.so.4
#38 0x00007f5c719dca27 in MessageViewer::HTMLQuoteColorer::process (this=this@entry=0x7fff4c1adf80, htmlSource=..., extraHead=...) at /usr/src/debug/kdepim-4.12.4/messageviewer/viewer/htmlquotecolorer.cpp:133
#39 0x00007f5c719ec928 in MessageViewer::ObjectTreeParser::processTextHtmlSubtype (this=0x7fff4c1ae150, curNode=0x24cae50) at /usr/src/debug/kdepim-4.12.4/messageviewer/viewer/objecttreeparser.cpp:1229
#40 0x00007f5c719fcf3f in MessageViewer::ObjectTreeParser::parseObjectTreeInternal (this=this@entry=0x7fff4c1ae150, node=node@entry=0x24cae50) at /usr/src/debug/kdepim-4.12.4/messageviewer/viewer/objecttreeparser.cpp:353
#41 0x00007f5c719fe611 in MessageViewer::ObjectTreeParser::stdChildHandling (this=this@entry=0x7fff4c1ae3f0, child=child@entry=0x24cae50) at /usr/src/debug/kdepim-4.12.4/messageviewer/viewer/objecttreeparser.cpp:1462
#42 0x00007f5c719fe79c in MessageViewer::ObjectTreeParser::processMultiPartAlternativeSubtype (this=0x7fff4c1ae3f0, node=<optimized out>) at /usr/src/debug/kdepim-4.12.4/messageviewer/viewer/objecttreeparser.cpp:1541
#43 0x00007f5c719fcf3f in MessageViewer::ObjectTreeParser::parseObjectTreeInternal (this=this@entry=0x7fff4c1ae3f0, node=node@entry=0x2fe35c0) at /usr/src/debug/kdepim-4.12.4/messageviewer/viewer/objecttreeparser.cpp:353
#44 0x00007f5c719fe5d9 in MessageViewer::ObjectTreeParser::parseObjectTree (this=this@entry=0x7fff4c1ae3f0, node=node@entry=0x2fe35c0) at /usr/src/debug/kdepim-4.12.4/messageviewer/viewer/objecttreeparser.cpp:266
#45 0x00007f5c71a1df48 in MessageViewer::ViewerPrivate::parseContent (this=this@entry=0x22eb930, content=0x2fe35c0) at /usr/src/debug/kdepim-4.12.4/messageviewer/viewer/viewer_p.cpp:1007
#46 0x00007f5c71a1e6f2 in MessageViewer::ViewerPrivate::displayMessage (this=this@entry=0x22eb930) at /usr/src/debug/kdepim-4.12.4/messageviewer/viewer/viewer_p.cpp:879
#47 0x00007f5c71a1f34e in MessageViewer::ViewerPrivate::updateReaderWin (this=0x22eb930) at /usr/src/debug/kdepim-4.12.4/messageviewer/viewer/viewer_p.cpp:2298
#48 0x00007f5c71a2685d in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0x22eb930, _c=QMetaObject::InvokeMetaMethod, _id=582108, _a=0x3) at /usr/src/debug/kdepim-4.12.4/build/messageviewer/viewer_p.moc:259
#49 0x00007f5cd7e17d68 in QMetaObject::activate (sender=0x22eb9c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#50 0x00007f5cd7e1bf31 in QObject::event (this=0x22eb9c0, e=<optimized out>) at kernel/qobject.cpp:1165
#51 0x00007f5cd88128ac in QApplicationPrivate::notify_helper (this=this@entry=0x1c537f0, receiver=receiver@entry=0x22eb9c0, e=e@entry=0x7fff4c1aebb0) at kernel/qapplication.cpp:4562
#52 0x00007f5cd8818e70 in QApplication::notify (this=this@entry=0x7fff4c1aef30, receiver=receiver@entry=0x22eb9c0, e=e@entry=0x7fff4c1aebb0) at kernel/qapplication.cpp:4348
#53 0x00007f5cd952947a in KApplication::notify (this=0x7fff4c1aef30, receiver=0x22eb9c0, event=0x7fff4c1aebb0) at /usr/src/debug/kdelibs-4.12.4/kdeui/kernel/kapplication.cpp:311
#54 0x00007f5cd7e040ad in QCoreApplication::notifyInternal (this=0x7fff4c1aef30, receiver=0x22eb9c0, event=0x7fff4c1aebb0) at kernel/qcoreapplication.cpp:949
#55 0x00007f5cd7e3383c in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#56 QTimerInfoList::activateTimers (this=0x1c49c60) at kernel/qeventdispatcher_unix.cpp:636
#57 0x00007f5cd7e30b21 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#58 0x00007f5cd11af316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#59 0x00007f5cd11af668 in ?? () from /usr/lib64/libglib-2.0.so.0
#60 0x00007f5cd11af70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#61 0x00007f5cd7e30d55 in QEventDispatcherGlib::processEvents (this=0x1c105b0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#62 0x00007f5cd88af936 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#63 0x00007f5cd7e02d0f in QEventLoop::processEvents (this=this@entry=0x7fff4c1aee30, flags=...) at kernel/qeventloop.cpp:149
#64 0x00007f5cd7e03005 in QEventLoop::exec (this=this@entry=0x7fff4c1aee30, flags=...) at kernel/qeventloop.cpp:204
#65 0x00007f5cd7e0813b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#66 0x00007f5cd881106c in QApplication::exec () at kernel/qapplication.cpp:3823
#67 0x0000000000403960 in main (argc=1, argv=0x7fff4c1af078) at /usr/src/debug/kdepim-4.12.4/kontact/src/main.cpp:219

Reported using DrKonqi
Comment 1 Sean 2014-04-03 11:49:35 UTC
Created attachment 85932 [details]
New crash information added by DrKonqi

kontact (4.12.4) on KDE Platform 4.12.4 using Qt 4.8.5

- What I was doing when the application crashed:

Selecting any email seems to make Kontact crash

-- Backtrace (Reduced):
#6  _strnlen (maxlen=582108, str=0x7f3486e52fdc "video/quicktime, variant=(string)iso"<Address 0x7f3486e53000 out of bounds>) at gstregistrychunks.c:52
#7  gst_registry_chunks_load_pad_template (end=0x7f3486ee11b8 "", in=0x7fffe6574178, factory=0x4561c60) at gstregistrychunks.c:526
#8  gst_registry_chunks_load_feature (plugin=0x4546750, end=0x7f3486ee11b8 "", in=0x7fffe6574178, registry=0x4547060) at gstregistrychunks.c:625
#9  _priv_gst_registry_chunks_load_plugin (registry=registry@entry=0x4547060, in=in@entry=0x7fffe6574178, end=end@entry=0x7f3486ee11b8 "", out_plugin=out_plugin@entry=0x0) at gstregistrychunks.c:861
#10 0x00007f34fec04470 in gst_registry_binary_read_cache (registry=registry@entry=0x4547060, location=location@entry=0x45491c0 "/home/seansloanejohnson/.gstreamer-0.10/registry.x86_64.bin") at gstregistrybinary.c:600
Comment 2 Jekyll Wu 2014-04-04 13:22:02 UTC
problem of  qtwebkit and gstreamer.
Comment 3 Sean 2014-04-04 19:30:12 UTC
Is this something that will be patched soon? Or should I rebuild my machine?
Comment 4 Denis Kurz 2016-09-24 19:31:31 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 5 Denis Kurz 2017-01-07 21:43:32 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.