Bug 344961

Summary: Kontakt crashed after copying videofile from Kontact Version 4.14.1
Product: [Applications] kontact Reporter: juergens.bjoern
Component: mailAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: juergens.bjoern
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description juergens.bjoern 2015-03-08 21:31:08 UTC
Application: kontact (4.14.1)
KDE Platform Version: 4.14.1
Qt Version: 4.8.6
Operating System: Linux 3.16.0-31-generic x86_64
Distribution: Ubuntu 14.10

-- Information about the crash:
- What I was doing when the application crashed:
 1. Make 2 Video on iPad
 2. Send them in 2 Emails to myself 
 3. Open Mail 1 in in Kontakt
 4. Copy Video (ctrl+c)
 5. Paste into Home-folder via dolphin.
 6. Copy Second Video
 7. Crash.
I'm not sure, if the Crash occured on copy or on paste or in between. The file didn't make it to the destination.
Then I reopened Kontact and Copied the Video again and it just worked.

- Custom settings of the application:
 My Mail-Account structured in multiple directories and get mails from different Mailaccounts and domains. Also I use the Kalender.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc307e20900 (LWP 3271))]

Thread 5 (Thread 0x7fc2e65e8700 (LWP 3272)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc302b0c81d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fc302b0c859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fc2ff2260a5 in start_thread (arg=0x7fc2e65e8700) at pthread_create.c:309
#4  0x00007fc305335cfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fc2a5cdd700 (LWP 3273)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc30284d20d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fc302b3bfd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fc2ff2260a5 in start_thread (arg=0x7fc2a5cdd700) at pthread_create.c:309
#4  0x00007fc305335cfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fc29b89b700 (LWP 3279)):
#0  0x00007fc30532b84d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc2fed40ee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc2fed40ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc305ab804e in QEventDispatcherGlib::processEvents (this=0x7fc28c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007fc305a894f1 in QEventLoop::processEvents (this=this@entry=0x7fc29b89ace0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc305a89805 in QEventLoop::exec (this=this@entry=0x7fc29b89ace0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc305987c39 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#7  0x00007fc30598a39f in QThreadPrivate::start (arg=0x17eed10) at thread/qthread_unix.cpp:349
#8  0x00007fc2ff2260a5 in start_thread (arg=0x7fc29b89b700) at pthread_create.c:309
#9  0x00007fc305335cfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fc298ae3700 (LWP 3299)):
#0  0x00007fc2fed40ed9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fc2fed40ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc305ab804e in QEventDispatcherGlib::processEvents (this=0x7fc2900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#3  0x00007fc305a894f1 in QEventLoop::processEvents (this=this@entry=0x7fc298ae2ca0, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007fc305a89805 in QEventLoop::exec (this=this@entry=0x7fc298ae2ca0, flags=...) at kernel/qeventloop.cpp:204
#5  0x00007fc305987c39 in QThread::exec (this=this@entry=0x1a9e290) at thread/qthread.cpp:538
#6  0x00007fc305a6b033 in QInotifyFileSystemWatcherEngine::run (this=0x1a9e290) at io/qfilesystemwatcher_inotify.cpp:265
#7  0x00007fc30598a39f in QThreadPrivate::start (arg=0x1a9e290) at thread/qthread_unix.cpp:349
#8  0x00007fc2ff2260a5 in start_thread (arg=0x7fc298ae3700) at pthread_create.c:309
#9  0x00007fc305335cfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fc307e20900 (LWP 3271)):
[KCrash Handler]
#6  KMime::Content::parent (this=this@entry=0x31000000000000) at ../../kmime/kmime_content.cpp:953
#7  0x00007fc2fbb421fb in KMime::Content::topLevel (this=this@entry=0x2b61650) at ../../kmime/kmime_content.cpp:962
#8  0x00007fc2fbb45724 in KMime::Content::index (this=this@entry=0x2b61650) at ../../kmime/kmime_content.cpp:970
#9  0x00007fc289d13c75 in MessageViewer::NodeHelper::persistentIndex (this=this@entry=0x1ecbad0, node=node@entry=0x2b61650) at ../../messageviewer/viewer/nodehelper.cpp:671
#10 0x00007fc289d13f8a in MessageViewer::NodeHelper::tempFileUrlFromNode (this=this@entry=0x1ecbad0, node=node@entry=0x2b61650) at ../../messageviewer/viewer/nodehelper.cpp:262
#11 0x00007fc289d1419d in MessageViewer::NodeHelper::writeNodeToTempFile (this=0x1ecbad0, node=0x2b61650) at ../../messageviewer/viewer/nodehelper.cpp:221
#12 0x00007fc289d4b66d in MessageViewer::ViewerPrivate::attachmentCopy (this=this@entry=0x1ecb720, contents=...) at ../../messageviewer/viewer/viewer_p.cpp:2622
#13 0x00007fc289d593e1 in MessageViewer::ViewerPrivate::slotHandleAttachment (this=0x1ecb720, choice=9) at ../../messageviewer/viewer/viewer_p.cpp:2723
#14 0x00007fc289dd7232 in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0x1ecb720, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_viewer_p.cpp:305
#15 0x00007fc305a9ea7a in QMetaObject::activate (sender=sender@entry=0x2c3e0e0, m=m@entry=0x7fc305dec480 <QSignalMapper::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffc8dba410) at kernel/qobject.cpp:3567
#16 0x00007fc305aa62de in QSignalMapper::mapped (this=this@entry=0x2c3e0e0, _t1=9) at .moc/release-shared/moc_qsignalmapper.cpp:114
#17 0x00007fc305aa63e6 in QSignalMapper::map (this=0x2c3e0e0, sender=0x2c5ce00) at kernel/qsignalmapper.cpp:266
#18 0x00007fc305a9ea7a in QMetaObject::activate (sender=sender@entry=0x2c5ce00, m=m@entry=0x7fc306f4f540 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffc8dba570) at kernel/qobject.cpp:3567
#19 0x00007fc30648dbf2 in QAction::triggered (this=this@entry=0x2c5ce00, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#20 0x00007fc30648f5c3 in QAction::activate (this=this@entry=0x2c5ce00, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#21 0x00007fc3068c59b9 in QMenuPrivate::activateCausedStack (this=this@entry=0x25a6910, causedStack=..., action=action@entry=0x2c5ce00, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1037
#22 0x00007fc3068ca059 in QMenuPrivate::activateAction (this=0x25a6910, action=0x2c5ce00, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1129
#23 0x00007fc3068cd9f9 in QMenu::mouseReleaseEvent (this=this@entry=0x164c990, e=e@entry=0x7fffc8dbabf0) at widgets/qmenu.cpp:2371
#24 0x00007fc307284253 in KMenu::mouseReleaseEvent (this=0x164c990, e=0x7fffc8dbabf0) at ../../kdeui/widgets/kmenu.cpp:464
#25 0x00007fc3064e3ce8 in QWidget::event (this=0x31000000000000, this@entry=0x164c990, event=0x2b61650, event@entry=0x7fffc8dbabf0) at kernel/qwidget.cpp:8775
#26 0x00007fc3068cde7b in QMenu::event (this=0x164c990, e=0x7fffc8dbabf0) at widgets/qmenu.cpp:2480
#27 0x00007fc30649411c in QApplicationPrivate::notify_helper (this=this@entry=0x16598c0, receiver=receiver@entry=0x164c990, e=e@entry=0x7fffc8dbabf0) at kernel/qapplication.cpp:4570
#28 0x00007fc30649a9be in QApplication::notify (this=this@entry=0x7fffc8dbc340, receiver=receiver@entry=0x164c990, e=e@entry=0x7fffc8dbabf0) at kernel/qapplication.cpp:4113
#29 0x00007fc3071bc57a in KApplication::notify (this=0x7fffc8dbc340, receiver=0x164c990, event=0x7fffc8dbabf0) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007fc305a8a86d in QCoreApplication::notifyInternal (this=0x7fffc8dbc340, receiver=receiver@entry=0x164c990, event=event@entry=0x7fffc8dbabf0) at kernel/qcoreapplication.cpp:953
#31 0x00007fc30649a07f in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x164c990, event=event@entry=0x7fffc8dbabf0, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x164c990, buttonDown=buttonDown@entry=0x7fc306f88578 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#33 0x00007fc30650ff6d in QETWidget::translateMouseEvent (this=this@entry=0x164c990, event=event@entry=0x7fffc8dbaf20) at kernel/qapplication_x11.cpp:4568
#34 0x00007fc30650f477 in QApplication::x11ProcessEvent (this=0x7fffc8dbc340, event=event@entry=0x7fffc8dbaf20) at kernel/qapplication_x11.cpp:3627
#35 0x00007fc306537432 in x11EventSourceDispatch (s=0x164ea40, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x00007fc2fed40c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fc2fed40f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fc2fed40ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fc305ab804e in QEventDispatcherGlib::processEvents (this=0x15d3a40, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#40 0x00007fc3065374e6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007fc305a894f1 in QEventLoop::processEvents (this=this@entry=0x7fffc8dbb310, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007fc305a89805 in QEventLoop::exec (this=this@entry=0x7fffc8dbb310, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007fc3068ccb97 in QMenu::exec (this=this@entry=0x164c990, p=..., action=action@entry=0x0) at widgets/qmenu.cpp:2124
#44 0x00007fc289d4f861 in MessageViewer::ViewerPrivate::showAttachmentPopup (this=this@entry=0x1ecb720, node=node@entry=0x2b61650, name=..., globalPos=...) at ../../messageviewer/viewer/viewer_p.cpp:675
#45 0x00007fc289d5c7b1 in (anonymous namespace)::AttachmentURLHandler::handleContextMenuRequest (this=<optimized out>, url=..., p=..., w=0x1ecb720) at ../../messageviewer/viewer/urlhandlermanager.cpp:850
#46 0x00007fc289d5f54b in MessageViewer::URLHandlerManager::handleContextMenuRequest (this=<optimized out>, url=..., p=..., w=w@entry=0x1ecb720) at ../../messageviewer/viewer/urlhandlermanager.cpp:410
#47 0x00007fc289d40c3f in MessageViewer::ViewerPrivate::slotUrlPopup (this=0x1ecb720, aUrl=..., imageUrl=..., aPos=...) at ../../messageviewer/viewer/viewer_p.cpp:2158
#48 0x00007fc289dd73fa in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0x1ecb720, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_viewer_p.cpp:263
#49 0x00007fc305a9ea7a in QMetaObject::activate (sender=sender@entry=0x1ef9090, m=m@entry=0x7fc28a02dc00 <MessageViewer::MailWebView::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffc8dbb700) at kernel/qobject.cpp:3567
#50 0x00007fc289da62cc in MessageViewer::MailWebView::popupMenu (this=this@entry=0x1ef9090, _t1=..., _t2=..., _t3=...) at ./moc_mailwebview.cpp:117
#51 0x00007fc289da8eb7 in MessageViewer::MailWebView::event (this=0x1ef9090, event=0x7fffc8dbbb60) at ../../messageviewer/viewer/mailwebview_webkit.cpp:158
#52 0x00007fc30649411c in QApplicationPrivate::notify_helper (this=this@entry=0x16598c0, receiver=receiver@entry=0x1ef9090, e=e@entry=0x7fffc8dbbb60) at kernel/qapplication.cpp:4570
#53 0x00007fc30649c165 in QApplication::notify (this=this@entry=0x7fffc8dbc340, receiver=receiver@entry=0x1ef9090, e=e@entry=0x7fffc8dbbb60) at kernel/qapplication.cpp:4192
#54 0x00007fc3071bc57a in KApplication::notify (this=0x7fffc8dbc340, receiver=0x1ef9090, event=0x7fffc8dbbb60) at ../../kdeui/kernel/kapplication.cpp:311
#55 0x00007fc305a8a86d in QCoreApplication::notifyInternal (this=0x7fffc8dbc340, receiver=receiver@entry=0x1ef9090, event=event@entry=0x7fffc8dbbb60) at kernel/qcoreapplication.cpp:953
#56 0x00007fc30650fc4d in sendSpontaneousEvent (event=0x7fffc8dbbb60, receiver=0x1ef9090) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#57 QETWidget::translateMouseEvent (this=this@entry=0x1e65b70, event=event@entry=0x7fffc8dbbe90) at kernel/qapplication_x11.cpp:4639
#58 0x00007fc30650f477 in QApplication::x11ProcessEvent (this=0x7fffc8dbc340, event=event@entry=0x7fffc8dbbe90) at kernel/qapplication_x11.cpp:3627
#59 0x00007fc306537432 in x11EventSourceDispatch (s=0x164ea40, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#60 0x00007fc2fed40c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007fc2fed40f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007fc2fed40ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007fc305ab8031 in QEventDispatcherGlib::processEvents (this=0x15d3a40, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#64 0x00007fc3065374e6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x00007fc305a894f1 in QEventLoop::processEvents (this=this@entry=0x7fffc8dbc270, flags=...) at kernel/qeventloop.cpp:149
#66 0x00007fc305a89805 in QEventLoop::exec (this=this@entry=0x7fffc8dbc270, flags=...) at kernel/qeventloop.cpp:204
#67 0x00007fc305a8ef67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#68 0x00007fc3064924dc in QApplication::exec () at kernel/qapplication.cpp:3828
#69 0x0000000000403509 in main (argc=1, argv=0x7fffc8dbc498) at ../../../kontact/src/main.cpp:219

Possible duplicates by query: bug 323190.

An https://bugs.kde.org/ berichten

Reproducible: Couldn't Reproduce

Steps to Reproduce:
 1. Make 2 Video on iPad
 2. Send them in 2 Emails to myself 
 3. Open Mail 1 in in Kontakt
 4. Copy Video (ctrl+c)
 5. Paste into Home-folder via dolphin.
 6. Copy Second Video
 7. Crash.
I'm not sure, if the Crash occured on copy or on paste or in between. 

Actual Results:  
The first file was in the filesystem. The second file wasn't.
Konact crashed and I got the Bug-Report-Window.

Expected Results:  
Both files are there and Kontakt stays uncrashed.

After that I reopened Kontact and Copied the Video again and it just worked.
Comment 1 Denis Kurz 2017-06-23 19:37:08 UTC
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks (5.x). Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the oportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 2 Denis Kurz 2018-02-01 09:47:05 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input.