Bug 212866 - kmail crash while moving messages from "Searches" forlder to local folder
Summary: kmail crash while moving messages from "Searches" forlder to local folder
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 212190 218874 263066 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-03 07:46 UTC by Nikita Bige
Modified: 2012-08-19 10:58 UTC (History)
6 users (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 Nikita Bige 2009-11-03 07:46:38 UTC
Application that crashed: kmail
Version of the application: 1.12.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.6.0
Operating System: Linux 2.6.30.9-90.fc11.x86_64 x86_64

What I was doing when the application crashed:
how to reproduce:
start search message, try to move founded messages (readed and unreaded) to persistent folder. -> crash


 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f5a4a88e021 in KMail::MessageListView::Widget::viewStartDragRequest (this=<value optimized out>) at /usr/src/debug/kdepim-4.3.2/kmail/messagelistview/widget.cpp:776
#6  0x00007f5a4a8d7df5 in KMail::MessageListView::Core::View::mouseMoveEvent (this=0x1aa9000, e=<value optimized out>) at /usr/src/debug/kdepim-4.3.2/kmail/messagelistview/core/view.cpp:2074
#7  0x000000387e1fcf7b in QWidget::event (this=0x1aa9000, event=0x7fff2a962aa0) at kernel/qwidget.cpp:7889
#8  0x000000387e5915e6 in QFrame::event (this=0x1aa9000, e=0x7fff2a962aa0) at widgets/qframe.cpp:557
#9  0x000000387e6bd26b in QAbstractItemView::viewportEvent (this=0x1aa9000, event=0x7fff2a962aa0) at itemviews/qabstractitemview.cpp:1585
#10 0x000000387e6f8860 in QTreeView::viewportEvent (this=0x1aa9000, event=0x7fff2a962aa0) at itemviews/qtreeview.cpp:1246
#11 0x000000387cf62a97 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x19d9110, event=0x7fff2a962aa0) at kernel/qcoreapplication.cpp:819
#12 0x000000387e1a9b7c in QApplicationPrivate::notify_helper (this=0x14eb970, receiver=0x19d9110, e=0x7fff2a962aa0) at kernel/qapplication.cpp:4273
#13 0x000000387e1b0ae1 in QApplication::notify (this=0x7fff2a9638a0, receiver=0x19d9110, e=0x7fff2a962aa0) at kernel/qapplication.cpp:3863
#14 0x000000387fe117f6 in KApplication::notify (this=0x7fff2a9638a0, receiver=0x19d9110, event=0x7fff2a962aa0) at /usr/src/debug/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#15 0x000000387cf6367c in QCoreApplication::notifyInternal (this=0x7fff2a9638a0, receiver=0x19d9110, event=0x7fff2a962aa0) at kernel/qcoreapplication.cpp:704
#16 0x000000387e1afc56 in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#17 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:3002
#18 0x000000387e225b55 in QETWidget::translateMouseEvent (this=0x19c8000, event=<value optimized out>) at kernel/qapplication_x11.cpp:4393
#19 0x000000387e224898 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff2a9633c0) at kernel/qapplication_x11.cpp:3532
#20 0x000000387e24d432 in x11EventSourceDispatch (s=0x14f5650, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#21 0x0000003d9f43790e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#22 0x0000003d9f43b0e8 in ?? () from /lib64/libglib-2.0.so.0
#23 0x0000003d9f43b20a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#24 0x000000387cf8c833 in QEventDispatcherGlib::processEvents (this=0x14af520, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#25 0x000000387e24d01e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#26 0x000000387cf61fc2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#27 0x000000387cf6239c in QEventLoop::exec (this=0x7fff2a9636f0, flags={i = 0}) at kernel/qeventloop.cpp:201
#28 0x000000387cf647a9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#29 0x0000000000402e69 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.3.2/kmail/main.cpp:146
Warning: the current language does not match this frame.

Reported using DrKonqi
Comment 1 Christophe Marin 2009-11-03 11:10:00 UTC
(In reply to comment #0)
> Application that crashed: kmail
> Version of the application: 1.12.2
> KDE Version: 4.3.2 (KDE 4.3.2)
> Qt Version: 4.6.0
> Operating System: Linux 2.6.30.9-90.fc11.x86_64 x86_64

@rdieter: Does Fedora 11 really ships KDE 4.3.2 with an unreleased Qt ?
Comment 2 Nikita Bige 2009-11-03 11:24:41 UTC
No, qt-4.6.0 installed from kde-unstable repo
Comment 3 Christophe Marin 2009-11-03 13:24:40 UTC
ok. Please fix your installation.
Comment 4 Nikita Bige 2009-11-03 14:15:13 UTC
I don't understand what I should fix? 
everything is working good, except this crash
Comment 5 Rex Dieter 2009-11-03 14:47:54 UTC
Christophe's asserting that debugging/diagnosing this using a non-final version of qt is likely not productive (and I partly agree).

What would be more fruitful is if you could reproduce this against stock/released versions of qt/kde.  If so, then please do re-open this.
Comment 6 Nikita Bige 2009-11-03 14:59:41 UTC
hm, it sounds strange for me. 
what for are we testing pre released soft? 
ok, I'll check it when qt-4.6 will be released.
thank you.
Comment 7 Christophe Marin 2009-11-03 15:28:46 UTC
The problem is that you use a KDE package which was built with a Qt version different than the one you installed.

Here's a simple example of the possible side effects: https://bugs.kde.org/212710

This is a korganizer report from a user who was using some packages linked against Qt 4.5.2 and had Qt 4.6.0tp1 installed.

After fixing his installation, the bug was gone.


Using Qt 4.5.3 instead of 4.5.2 would be harmless since it's only a patch level update.

Using Qt 4.6.0 instead of 4.5.x may have unexpected effects since it's a minor version update.
Comment 8 Kevin Kofler 2009-12-01 23:57:26 UTC
Well, while we also don't really support this combination in Fedora (the repository the reporter used is called "unstable" for a reason), it's still a bug somewhere if this doesn't work, as Qt is supposed to be backwards-compatible!
Comment 9 Dario Andres 2009-12-17 00:54:46 UTC
Mh... bug 218874 seems to be related to this but with Qt 4.5.2...
Comment 10 Nikita Bige 2010-01-13 10:20:03 UTC
Ok, now I have the same crash and there is no relation with binary compatability to qt-4.6, because now I use QT from stable repo 
qt-4.5.3-9.fc11.x86_64
kdebase-4.3.4-1.fc11.x86_64
kdepim-4.3.4-2.fc11.x86_64

Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f303dc3f631 in KMail::MessageListView::Widget::viewStartDragRequest (this=<value optimized out>) at /usr/src/debug/kdepim-4.3.4/kmail/messagelistview/widget.cpp:776
#6  0x00007f303dc893d5 in KMail::MessageListView::Core::View::mouseMoveEvent (this=0x1725e30, e=<value optimized out>) at /usr/src/debug/kdepim-4.3.4/kmail/messagelistview/core/view.cpp:2074
#7  0x0000003ece1ddc0a in QWidget::event (this=0x1725e30, event=0x7fffae8507d0) at kernel/qwidget.cpp:7539
#8  0x0000003ece535986 in QFrame::event (this=0x1725e30, e=0x7fffae8507d0) at widgets/qframe.cpp:559
#9  0x0000003ece666a6b in QAbstractItemView::viewportEvent (this=0x1725e30, event=0x7fffae8507d0) at itemviews/qabstractitemview.cpp:1476
#10 0x0000003ece69d990 in QTreeView::viewportEvent (this=0x1725e30, event=0x7fffae8507d0) at itemviews/qtreeview.cpp:1266
#11 0x000000362893dec7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x168ddf0, event=0x7fffae8507d0) at kernel/qcoreapplication.cpp:726
#12 0x0000003ece18f60c in QApplicationPrivate::notify_helper (this=0x11dbc30, receiver=0x168ddf0, e=0x7fffae8507d0) at kernel/qapplication.cpp:4061
#13 0x0000003ece1966e1 in QApplication::notify (this=<value optimized out>, receiver=0x168ddf0, e=0x7fffae8507d0) at kernel/qapplication.cpp:3767
#14 0x0000003432a11bd6 in KApplication::notify (this=0x7fffae8527e0, receiver=0x168ddf0, event=0x7fffae8507d0) at /usr/src/debug/kdelibs-4.3.4/kdeui/kernel/kapplication.cpp:302
#15 0x000000362893ebac in QCoreApplication::notifyInternal (this=0x7fffae8527e0, receiver=0x168ddf0, event=0x7fffae8507d0) at kernel/qcoreapplication.cpp:610
#16 0x0000003ece195fd0 in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:216
#17 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2924
#18 0x0000003ece1fba7e in QETWidget::translateMouseEvent (this=0x165e4c0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4408
#19 0x0000003ece1fab38 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffae852300) at kernel/qapplication_x11.cpp:3549
#20 0x0000003ece22287c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#21 0x00000030f763790e in g_main_dispatch (context=<value optimized out>) at gmain.c:1824
#22 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2377
#23 0x00000030f763b0e8 in g_main_context_iterate (context=0x11d5520, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2455
#24 0x00000030f763b20a in IA__g_main_context_iteration (context=0x11d5520, may_block=1) at gmain.c:2518
#25 0x0000003628966f36 in QEventDispatcherGlib::processEvents (this=0x119e770, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#26 0x0000003ece22202e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#27 0x000000362893d4b2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#28 0x000000362893d884 in QEventLoop::exec (this=0x7fffae852630, flags={i = 0}) at kernel/qeventloop.cpp:201
#29 0x000000362893fa19 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#30 0x0000000000402e69 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.3.4/kmail/main.cpp:146
Warning: the current language does not match this frame.
Comment 11 Nikita Bige 2010-01-13 10:25:04 UTC
What I was doing when the application crashed:
select all messages in "Searches" subfolder "asio" (created by filtering keyword on mailing list) folder and start to drag them to persistent folder
Comment 12 Björn Ruberg 2010-03-14 01:28:53 UTC
*** Bug 212190 has been marked as a duplicate of this bug. ***
Comment 13 Christophe Marin 2010-03-28 05:10:30 UTC
*** Bug 218874 has been marked as a duplicate of this bug. ***
Comment 14 Christophe Marin 2011-02-14 13:10:31 UTC
*** Bug 263066 has been marked as a duplicate of this bug. ***
Comment 15 Myriam Schweingruber 2012-08-19 10:58:45 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding