Bug 286781 - Carshes when saving an attachment
Summary: Carshes when saving an attachment
Status: RESOLVED WORKSFORME
Alias: None
Product: kdepim
Classification: Applications
Component: messageviewer (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2011-11-16 14:24 UTC by SZÉKELYI Szabolcs
Modified: 2018-10-27 04:17 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SZÉKELYI Szabolcs 2011-11-16 14:24:58 UTC
Application: kontact (4.7.2)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
Kontact often (vut not always) crashes When I hit "Save As" on an attachment. A backtrace of such an occasion follows.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f3de15c07a0 (LWP 2288))]

Thread 5 (Thread 0x7f3dc753b700 (LWP 2289)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3ddde13c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f3ddde13d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f3dd9212efc in start_thread (arg=0x7f3dc753b700) at pthread_create.c:304
#4  0x00007f3ddeb2189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f3dc6d32700 (LWP 2290)):
#0  0x00007f3ddeb15773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3dd8744f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3dd8745429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3ddff5cf3e in QEventDispatcherGlib::processEvents (this=0x1fd2ca0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f3ddff30cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3ddff30ef7 in QEventLoop::exec (this=0x7f3dc6d31de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f3ddfe4827f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f3ddfe4ad05 in QThreadPrivate::start (arg=0x1fd23b0) at thread/qthread_unix.cpp:331
#8  0x00007f3dd9212efc in start_thread (arg=0x7f3dc6d32700) at pthread_create.c:304
#9  0x00007f3ddeb2189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3d77d92700 (LWP 2302)):
#0  0x00007f3ddeb15773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3dd8744f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3dd8745429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3ddff5cf3e in QEventDispatcherGlib::processEvents (this=0x266efc0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f3ddff30cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3ddff30ef7 in QEventLoop::exec (this=0x7f3d77d91db0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f3ddfe4827f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f3ddff13cbf in QInotifyFileSystemWatcherEngine::run (this=0x28c5e00) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f3ddfe4ad05 in QThreadPrivate::start (arg=0x28c5e00) at thread/qthread_unix.cpp:331
#9  0x00007f3dd9212efc in start_thread (arg=0x7f3d77d92700) at pthread_create.c:304
#10 0x00007f3ddeb2189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3d741cb700 (LWP 3680)):
#0  0x00007f3ddeb15773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3dd8744f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3dd8745429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3ddff5cf3e in QEventDispatcherGlib::processEvents (this=0xa93a750, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f3ddff30cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3ddff30ef7 in QEventLoop::exec (this=0x7f3d741cadb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f3ddfe4827f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f3ddff13cbf in QInotifyFileSystemWatcherEngine::run (this=0x12800c70) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f3ddfe4ad05 in QThreadPrivate::start (arg=0x12800c70) at thread/qthread_unix.cpp:331
#9  0x00007f3dd9212efc in start_thread (arg=0x7f3d741cb700) at pthread_create.c:304
#10 0x00007f3ddeb2189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3de15c07a0 (LWP 2288)):
[KCrash Handler]
#6  0x00007f3dd5e0e2c2 in length (this=0x30) at /usr/include/qt4/QtCore/qbytearray.h:338
#7  KMime::Content::decodedContent (this=0x79cfe90) at ../../kmime/kmime_content.cpp:356
#8  0x00007f3d7cc1edbb in MessageViewer::Util::saveContent (parent=0x26709f0, content=<optimized out>, url=...) at ../../messageviewer/util.cpp:340
#9  0x00007f3d7cc20c14 in MessageViewer::Util::saveContents (parent=0x26709f0, contents=...) at ../../messageviewer/util.cpp:268
#10 0x00007f3d7cc38874 in MessageViewer::ViewerPrivate::openAttachment (this=0x26d3c90, node=0x79cfe90, name=<optimized out>) at ../../messageviewer/viewer_p.cpp:358
#11 0x00007f3d7cc171dd in (anonymous namespace)::AttachmentURLHandler::handleClick (this=<optimized out>, url=<optimized out>, w=0x26d3c90) at ../../messageviewer/urlhandlermanager.cpp:781
#12 0x00007f3d7cc1c0d5 in MessageViewer::URLHandlerManager::handleClick (this=0xa991a20, url=..., w=0x26d3c90) at ../../messageviewer/urlhandlermanager.cpp:369
#13 0x00007f3d7cc2c7f3 in MessageViewer::ViewerPrivate::slotUrlOpen (this=0x26d3c90, url=<optimized out>) at ../../messageviewer/viewer_p.cpp:1790
#14 0x00007f3d7cc3d0f1 in MessageViewer::ViewerPrivate::qt_metacall (this=0x26d3c90, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0x127e3f20) at ./viewer_p.moc:212
#15 0x00007f3ddff48a5e in QObject::event (this=0x26d3c90, e=<optimized out>) at kernel/qobject.cpp:1217
#16 0x00007f3ddf2e2424 in notify_helper (e=0x127d3960, receiver=0x26d3c90, this=0x1fcf840) at kernel/qapplication.cpp:4486
#17 QApplicationPrivate::notify_helper (this=0x1fcf840, receiver=0x26d3c90, e=0x127d3960) at kernel/qapplication.cpp:4458
#18 0x00007f3ddf2e7291 in QApplication::notify (this=0x7fffa00ec330, receiver=0x26d3c90, e=0x127d3960) at kernel/qapplication.cpp:4365
#19 0x00007f3de0967126 in KApplication::notify (this=0x7fffa00ec330, receiver=0x26d3c90, event=0x127d3960) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007f3ddff31afc in QCoreApplication::notifyInternal (this=0x7fffa00ec330, receiver=0x26d3c90, event=0x127d3960) at kernel/qcoreapplication.cpp:787
#21 0x00007f3ddff3551f in sendEvent (event=0x127d3960, receiver=0x26d3c90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1f998e0) at kernel/qcoreapplication.cpp:1428
#23 0x00007f3ddff5ca73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#24 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#25 0x00007f3dd8744a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f3dd8745258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f3dd8745429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f3ddff5ced6 in QEventDispatcherGlib::processEvents (this=0x1f9afd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#29 0x00007f3ddf38a07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f3ddff30cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f3ddff30ef7 in QEventLoop::exec (this=0x7fffa00ec2c0, flags=...) at kernel/qeventloop.cpp:201
#32 0x00007f3ddff35789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#33 0x0000000000403629 in main (argc=1, argv=0x7fffa00ec958) at ../../../kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Torgny Nyblom 2011-12-02 12:13:08 UTC
If this can be reproduced using a mail on every occation, could you please 
attach that mail to this bug as an mbox file or send the same to me in private?
Comment 2 Laurent Montel 2012-09-02 11:53:40 UTC
Still crash ?
Comment 3 Andrew Crouthamel 2018-09-23 02:19:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 04:17:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!