Bug 168513 - KMail crashes when dragging or selecting folders in 'Folder' window
Summary: KMail crashes when dragging or selecting folders in 'Folder' window
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.10.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-06 13:49 UTC by Alexey Chernov
Modified: 2009-02-09 01:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Crash report (3.92 KB, text/plain)
2008-08-06 13:50 UTC, Alexey Chernov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Chernov 2008-08-06 13:49:45 UTC
Version:            (using KDE 4.1.0)
Installed from:    Compiled From Sources
Compiler:          GCC 4.1.2 Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.1.2/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib Thread model: posix
OS:                Linux

KMail suddenly crashes when I drag some folder to another folder or (sometimes) when I select some folder on the left Folder panel. Backtrace follows.
Comment 1 Alexey Chernov 2008-08-06 13:50:11 UTC
Created attachment 26696 [details]
Crash report
Comment 2 Christophe Marin 2008-08-06 16:26:11 UTC
Приложение: KMail (kmail), сигнал SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x7f1aeeacb700 (LWP 6383)]
[KCrash handler]
#5  0x00007f1aee40d73c in KMFolder::folderType (this=0x43b)
    at /usr/src/packages/kde4/4.1.0/kdepim-4.1.0/kmail/kmfolder.cpp:245
#6  0x00007f1aee39636f in KMFolderTree::doFolderSelected (this=0x9c6290, 
    qlvi=0xc41850, keepSelection=true)
    at /usr/src/packages/kde4/4.1.0/kdepim-4.1.0/kmail/kmfoldertree.cpp:997
#7  0x00007f1aee397e7e in KMFolderTree::contentsMouseReleaseEvent (
    this=0x9c6290, me=0x7ffff6b16980)
    at /usr/src/packages/kde4/4.1.0/kdepim-4.1.0/kmail/kmfoldertree.cpp:1195
#8  0x00007f1ae8e1b049 in Q3ScrollView::viewportMouseReleaseEvent (
    this=0x9c6290, e=0x7ffff6b172a0) at widgets/q3scrollview.cpp:1761
#9  0x00007f1ae8e1c477 in Q3ScrollView::eventFilter (this=0x9c6290, 
    obj=0x9c6260, e=0x7ffff6b172a0) at widgets/q3scrollview.cpp:1479
#10 0x00007f1ae8dc96be in Q3ListView::eventFilter (this=0x9c6290, o=0x9c6260, 
    e=0x7ffff6b172a0) at itemviews/q3listview.cpp:3777
#11 0x00007f1aee390f34 in KMFolderTree::eventFilter (this=0x9c6290, 
    o=0x9c6260, e=0x7ffff6b172a0)
    at /usr/src/packages/kde4/4.1.0/kdepim-4.1.0/kmail/kmfoldertree.cpp:1811
#12 0x00007f1aea0f7a0d in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x9c6260, event=0x7ffff6b172a0)
    at kernel/qcoreapplication.cpp:698
#13 0x00007f1ae794515f in QApplicationPrivate::notify_helper (this=0x552980, 
    receiver=0x9c6260, e=0x7ffff6b172a0) at kernel/qapplication.cpp:3796
#14 0x00007f1ae794a19f in QApplication::notify (this=<value optimized out>, 
    receiver=0x9c6260, e=0x7ffff6b172a0) at kernel/qapplication.cpp:3527
#15 0x00007f1aeb286b52 in KApplication::notify (this=0x7ffff6b17ed0, 
    receiver=0x9c6260, event=0x7ffff6b172a0)
    at /usr/src/packages/kde4/4.1.0/kdelibs-4.1.0/kdeui/kernel/kapplication.cpp:311
#16 0x00007f1aea0f7748 in QCoreApplication::notifyInternal (
    this=0x7ffff6b17ed0, receiver=0x9c6260, event=0x7ffff6b172a0)
    at kernel/qcoreapplication.cpp:591
#17 0x00007f1ae7947d31 in QApplicationPrivate::sendMouseEvent (
    receiver=0x9c6260, event=0x7ffff6b172a0, alienWidget=0x9c6260, 
    nativeWidget=0x730510, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f1ae81b2360)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#18 0x00007f1ae79a7b2d in QETWidget::translateMouseEvent (this=0x730510, 
    event=<value optimized out>) at kernel/qapplication_x11.cpp:4048
#19 0x00007f1ae79a6bcf in QApplication::x11ProcessEvent (this=0x13b, 
    event=0x7ffff6b17960) at kernel/qapplication_x11.cpp:3166
#20 0x00007f1ae79cb433 in x11EventSourceDispatch (s=0x555ef0, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#21 0x00007f1ae54afcc7 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#22 0x00007f1ae54b04f2 in g_main_context_iterate ()
   from /usr/lib/libglib-2.0.so.0
#23 0x00007f1ae54b09a8 in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#24 0x00007f1aea1204ee in QEventDispatcherGlib::processEvents (this=0x550f60, 
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#25 0x00007f1ae79cb24f in QGuiEventDispatcherGlib::processEvents (this=0x43b, 
    flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f1aea0f6b65 in QEventLoop::processEvents (
    this=<value optimized out>, flags=@0x7ffff6b17cd0)
    at kernel/qeventloop.cpp:149
#27 0x00007f1aea0f6cc8 in QEventLoop::exec (this=0x7ffff6b17d10, 
    flags=@0x7ffff6b17d20) at kernel/qeventloop.cpp:200
#28 0x00007f1aea0f8cce in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:849
#29 0x0000000000403846 in main (argc=1, argv=0x7ffff6b18068)
    at /usr/src/packages/kde4/4.1.0/kdepim-4.1.0/kmail/main.cpp:146
#0  0x00007f1ae690a9b0 in __nanosleep_nocancel () from /lib/libc.so.6
Comment 3 Dario Andres 2008-12-31 14:42:08 UTC
*** Bug 170076 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2008-12-31 14:42:45 UTC
Can anyone else reproduce this bug with a recent KDE (4.1.3 / 4.2beta2 /
4.2svn) ? Thanks :)
Comment 5 Dario Andres 2009-02-07 00:13:13 UTC
No news from the bug reporter, closing. Please reopen this bug report if you experience the same bug again with a recent KDE (4.1.4 / 4.2.0 / 4.2svn / 4.3svn) . Thanks :)
Comment 6 Alexey Chernov 2009-02-07 00:24:18 UTC
Yeah, Dario, i a little bit forgot about it ) As i remember, with some 4.1.x release it was reproducible, I wanted to close it but it was there. Now I tried in 4.2.0 and wasn't able to reproduce it, so I think you're right to close it.
Comment 7 Dario Andres 2009-02-07 00:47:22 UTC
:)
Comment 8 Unai Garro 2009-02-08 21:16:30 UTC
First, my bug report gets configured as duppe of this one (which is not), then, this one gets closed, which means mine was also "fixed". Unfortunately, this sort of bug close race attitude won't fix the actual bugs.

"I changed the bug from crash status to grave, since now it doesn't crash but e-mails get lost after the move."

That's my last comment in the original bug, which, obviously wasn't read. Rather old one and still valid.

And I can reconfirm the bug in svn trunk (4.2.61): Big folder F in local folders root. Just now imported from thunderbird.  It contains subfolder A which contains tons of subfolders B1, B2, B3, B4.... I move A to root (same level as F). It shows all e-mails okay! wohooo! ain't it? But no, you close kmail, reopen, and e-mails are gone.

Isn't it a good idea to read bugs before marking duppes?