Bug 250007 - kmail 2 crash on forward email inline
Summary: kmail 2 crash on forward email inline
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 2.0.90
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2010-09-03 13:58 UTC by mps
Modified: 2018-10-21 04:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mps 2010-09-03 13:58:40 UTC
Application: kmail (2.0 beta1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.34.6-47.fc13.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

selected a message that has two attachments, press shift-F to forward inline, boom.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f0ff5d28820 (LWP 3134))]

Thread 2 (Thread 0x7f0fe97c9710 (LWP 3136)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000337180cb4e in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x000000337180cc69 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00000030de607761 in start_thread (arg=0x7f0fe97c9710) at pthread_create.c:301
#4  0x00000030ddae14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f0ff5d28820 (LWP 3134)):
[KCrash Handler]
#6  0x0000000000000031 in ?? ()
#7  0x00000031d5c42b61 in qDeleteAll<QList<KMime::Headers::Base*>::const_iterator> (this=0x10cd42b0, __in_chrg=<value optimized out>) at /usr/include/QtCore/qalgorithms.h:322
#8  qDeleteAll<KMime::Headers::Base::List> (this=0x10cd42b0, __in_chrg=<value optimized out>) at /usr/include/QtCore/qalgorithms.h:330
#9  KMime::Content::~Content (this=0x10cd42b0, __in_chrg=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.1/kmime/kmime_content.cpp:92
#10 0x00000031d5c42bb9 in KMime::Content::~Content (this=0x10cd42b0, __in_chrg=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.1/kmime/kmime_content.cpp:96
#11 0x00007f0ff6ea0006 in TemplateParser::TemplateParser::~TemplateParser (this=0x7fff042f0050, __in_chrg=<value optimized out>) at /usr/src/debug/kdepim-4.4.93/templateparser/templateparser.cpp:127
#12 0x00007f0ff73e2434 in MessageComposer::MessageFactory::createForward (this=0x7fff042f02a0) at /usr/src/debug/kdepim-4.4.93/messagecomposer/messagefactory.cpp:352
#13 0x00007f0ff7cc0867 in KMForwardCommand::execute (this=0x107ff150) at /usr/src/debug/kdepim-4.4.93/kmail/kmcommands.cpp:1194
#14 0x00007f0ff7cb6611 in KMCommand::slotPostTransfer (this=0x107ff150, result=KMCommand::OK) at /usr/src/debug/kdepim-4.4.93/kmail/kmcommands.cpp:258
#15 0x00007f0ff7cbb5fb in KMCommand::qt_metacall (this=0x107ff150, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff042f0890)
    at /usr/src/debug/kdepim-4.4.93/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:91
#16 0x0000003366f6e097 in QMetaObject::activate (sender=0x107ff150, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff042f0890) at kernel/qobject.cpp:3272
#17 0x00007f0ff7cb54ce in KMCommand::messagesTransfered (this=<value optimized out>, _t1=KMCommand::OK) at /usr/src/debug/kdepim-4.4.93/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:106
#18 0x00007f0ff7cbabc0 in KMCommand::slotJobFinished (this=0x107ff150) at /usr/src/debug/kdepim-4.4.93/kmail/kmcommands.cpp:373
#19 0x00007f0ff7cbb55c in KMCommand::qt_metacall (this=0x107ff150, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff042f0a40)
    at /usr/src/debug/kdepim-4.4.93/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:93
#20 0x0000003366f6e097 in QMetaObject::activate (sender=0x10705830, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff042f0a40) at kernel/qobject.cpp:3272
#21 0x00000031d1925d62 in KJob::result (this=<value optimized out>, _t1=0x10705830) at /usr/src/debug/kdelibs-4.5.1/x86_64-redhat-linux-gnu/kdecore/kjob.moc:194
#22 0x00000031d1926020 in KJob::emitResult (this=0x10705830) at /usr/src/debug/kdelibs-4.5.1/kdecore/jobs/kjob.cpp:312
#23 0x00000031d4cfa741 in delayedEmitResult (this=0x10705830, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x10705d70) at /usr/src/debug/kdepimlibs-4.5.1/akonadi/job.cpp:143
#24 Akonadi::Job::qt_metacall (this=0x10705830, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x10705d70)
    at /usr/src/debug/kdepimlibs-4.5.1/x86_64-redhat-linux-gnu/akonadi/job.moc:91
#25 0x00000031d4ceb485 in Akonadi::ItemFetchJob::qt_metacall (this=0x10705830, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x10705d70)
    at /usr/src/debug/kdepimlibs-4.5.1/x86_64-redhat-linux-gnu/akonadi/itemfetchjob.moc:73
#26 0x0000003366f68ba6 in QObject::event (this=0x10705830, e=<value optimized out>) at kernel/qobject.cpp:1211
#27 0x00000033687b368c in QApplicationPrivate::notify_helper (this=0x21d2e70, receiver=0x10705830, e=0x107487e0) at kernel/qapplication.cpp:4396
#28 0x00000033687b8cdd in QApplication::notify (this=<value optimized out>, receiver=0x10705830, e=0x107487e0) at kernel/qapplication.cpp:4277
#29 0x00000031d201be66 in KApplication::notify (this=0x7fff042f15d0, receiver=0x10705830, event=0x107487e0) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#30 0x0000003366f5793c in QCoreApplication::notifyInternal (this=0x7fff042f15d0, receiver=0x10705830, event=0x107487e0) at kernel/qcoreapplication.cpp:732
#31 0x0000003366f5af52 in sendEvent (receiver=0x0, event_type=0, data=0x2193cd0) at kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2193cd0) at kernel/qcoreapplication.cpp:1373
#33 0x0000003366f7fe43 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#35 0x00000030dfa3bd02 in g_main_dispatch (context=0x21dc520) at gmain.c:1960
#36 IA__g_main_context_dispatch (context=0x21dc520) at gmain.c:2513
#37 0x00000030dfa3fae8 in g_main_context_iterate (context=0x21dc520, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#38 0x00000030dfa3fc9c in IA__g_main_context_iteration (context=0x21dc520, may_block=1) at gmain.c:2654
#39 0x0000003366f7f983 in QEventDispatcherGlib::processEvents (this=0x2193450, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#40 0x000000336885425e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x0000003366f56782 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x0000003366f56a5c in QEventLoop::exec (this=0x7fff042f1470, flags=...) at kernel/qeventloop.cpp:201
#43 0x0000003366f5b1d9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#44 0x0000000000402f5c in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.4.93/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Tobias Koenig 2010-12-11 21:51:14 UTC
Hej,

can you still reproduce it with current version (4.6)?
Works fine here.

Ciao,
Tobias
Comment 2 Tobias Koenig 2010-12-11 22:51:33 UTC
SVN commit 1205634 by tokoe:

Emit the changed signal first, so that listening classes
can adapt their selection models to the current one and then
do the selection changes.

BUG: 250007


 M  +2 -2      pane.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1205634
Comment 3 Tobias Koenig 2010-12-12 00:00:23 UTC
err, sorry wrong commit number...
Comment 4 Tobias Koenig 2010-12-12 00:01:31 UTC
-changed status back to NEEDSINFO
Comment 5 Andrew Crouthamel 2018-09-20 22:02:01 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 6 Andrew Crouthamel 2018-10-21 04:33:19 UTC
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!