Bug 284526 - kmailCVT in kmail2 crashes on kmail folder import
Summary: kmailCVT in kmail2 crashes on kmail folder import
Status: RESOLVED DUPLICATE of bug 281190
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 288240 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-20 09:17 UTC by Andreas
Modified: 2011-12-28 16:21 UTC (History)
2 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 Andreas 2011-10-20 09:17:56 UTC
Application: kmailcvt (4.7.2)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic-pae i686
Distribution: Ubuntu 11.10

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

Importing mails from old kmail maildir. The maildir used to work with previous kmail installation (kubuntu 11.04) and olders. I did (translated to english) File->Import->Import from kmail folder; selecting local folder as target, then, in the next window, selected local folder to be imported. The converter starts to import and manages to do so for several sub folders but crashes while it is doing the sent-mail folder. Successfully imported mails are then available in KMail-Import dir but they are incomplete since the importer did not finish.

The crash can be reproduced every time.

-- Backtrace:
Application: KMailCVT (kmailcvt), signal: Aborted
[Current thread is 1 (Thread 0xb4c36710 (LWP 7169))]

Thread 3 (Thread 0xb281ab70 (LWP 7170)):
#0  0xb52dcd10 in __GI_clock_gettime (clock_id=1, tp=0xb281a028) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb68c27d5 in do_gettime (frac=0xb281a020, sec=0xb281a018) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb69954b6 in QTimerInfoList::updateCurrentTime (this=0x8d1e9b4) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb699580a in QTimerInfoList::timerWait (this=0x8d1e9b4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb6994053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb281a12c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb69940ed in timerSourcePrepare (source=0x8d1e980, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb522288c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb5223637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb5223c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb6994b37 in QEventDispatcherGlib::processEvents (this=0x8cd27c8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb69651dd in QEventLoop::processEvents (this=0xb281a2b0, flags=...) at kernel/qeventloop.cpp:149
#12 0xb6965421 in QEventLoop::exec (this=0xb281a2b0, flags=...) at kernel/qeventloop.cpp:201
#13 0xb686890b in QThread::exec (this=0x8cd2688) at thread/qthread.cpp:498
#14 0xb6945e2d in QInotifyFileSystemWatcherEngine::run (this=0x8cd2688) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb686b7b3 in QThreadPrivate::start (arg=0x8cd2688) at thread/qthread_unix.cpp:331
#16 0xb544ed31 in start_thread (arg=0xb281ab70) at pthread_create.c:304
#17 0xb5b870ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb19fbb70 (LWP 7172)):
#0  0xb52dcd10 in __GI_clock_gettime (clock_id=1, tp=0xb19fb028) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb68c27d5 in do_gettime (frac=0xb19fb020, sec=0xb19fb018) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb69954b6 in QTimerInfoList::updateCurrentTime (this=0x8d46f54) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb699580a in QTimerInfoList::timerWait (this=0x8d46f54, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb6994053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb19fb12c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb69940ed in timerSourcePrepare (source=0x8d46f20, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb522288c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb5223637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb5223c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb6994b37 in QEventDispatcherGlib::processEvents (this=0x9159dd0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb69651dd in QEventLoop::processEvents (this=0xb19fb2b0, flags=...) at kernel/qeventloop.cpp:149
#12 0xb6965421 in QEventLoop::exec (this=0xb19fb2b0, flags=...) at kernel/qeventloop.cpp:201
#13 0xb686890b in QThread::exec (this=0x8d4d648) at thread/qthread.cpp:498
#14 0xb6945e2d in QInotifyFileSystemWatcherEngine::run (this=0x8d4d648) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb686b7b3 in QThreadPrivate::start (arg=0x8d4d648) at thread/qthread_unix.cpp:331
#16 0xb544ed31 in start_thread (arg=0xb19fbb70) at pthread_create.c:304
#17 0xb5b870ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb4c36710 (LWP 7169)):
[KCrash Handler]
#7  0xb7761424 in __kernel_vsyscall ()
#8  0xb5ae2c8f in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0xb5ae62b5 in __GI_abort () at abort.c:92
#10 0xb5d004ed in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#11 0xb5cfe283 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#12 0xb5cfe2bf in std::terminate() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#13 0xb5cfe464 in __cxa_rethrow () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#14 0xb6965569 in QEventLoop::exec (this=0xbf860ba4, flags=...) at kernel/qeventloop.cpp:214
#15 0xb696a19d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#16 0xb5e8f8f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#17 0x080504a5 in main (argc=) at ../../kmailcvt/main.cpp:47

Possible duplicates by query: bug 284118, bug 284032, bug 283896, bug 283789, bug 283436.

Reported using DrKonqi
Comment 1 Andreas 2011-10-20 09:20:28 UTC
Occacionally I used maildirsync to syncronize with other maildir directories, but the latest version was working with older kmail.
Comment 2 Andreas 2011-10-20 09:30:05 UTC
I should mention that after partial import I get the system message
"Lokale Ordner: Das Maildir „“ für die Sammlung „“ ist ungültig.", translated to english "Local Folder: Maildir „“ for collection „“ is invalid.", obviously it is currupted. The message dissappears once I delete the Imported-Mail folder.
Comment 3 Myriam Schweingruber 2011-12-07 15:22:30 UTC
*** Bug 288240 has been marked as a duplicate of this bug. ***
Comment 4 Andreas 2011-12-07 15:30:44 UTC
I can add today that the same maildir works with akonadi maildir resource which I do use now instead of kmail import.
Comment 5 Christoph Feck 2011-12-28 16:21:28 UTC

*** This bug has been marked as a duplicate of bug 281190 ***