Bug 386691 - The assitant for the import of email crashes after import of an archive. Emails seem to have been migrated correctly
Summary: The assitant for the import of email crashes after import of an archive. Emai...
Status: RESOLVED FIXED
Alias: None
Product: kdepim
Classification: Applications
Component: importwizard (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-11-09 19:27 UTC by stakanov.s
Modified: 2017-11-10 18:10 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 stakanov.s 2017-11-09 19:27:59 UTC
Application: importwizard (5.5.2)

Qt Version: 5.6.2
Frameworks Version: 5.32.0
Operating System: Linux 4.4.76-1-default x86_64
Distribution: "openSUSE Leap 42.3"

-- Information about the crash:
- What I was doing when the application crashed:
I was importing an tar.bz2 kmail archive to a new kmail5 (migrated). The automatic migration failed, no email was imported from the previous install.

- Unusual behavior I noticed:
After(!) importing the whole set of directories and messages to "local folders" the application crashed and konqi popped up. 
The emails seem(!) (have to check) to have been successfully imported though.

- Custom settings of the application:
Kmail was closed prior to import. The current messages from the server where downloaded previous to the import. The import was selected from the menu and the file choosen from the local Document folder of kde.
This is an import due to migration from Leap 42.2 to 42.3 that forces the migration from Kmail4 to Kmail5. Automatic migration - although visible in "top" was not working though. 
Manual seem to have worked but with the crash.

-- Backtrace:
Application: PIM-Import-Werkzeug (importwizard), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbc0924d940 (LWP 4119))]

Thread 3 (Thread 0x7fbbd42b9700 (LWP 4121)):
#0  0x00007fbc089fcd2d in read () from /lib64/libpthread.so.0
#1  0x00007fbc02425750 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbc023e4e49 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbc023e52a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fbc023e542c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fbc06f351ab in QEventDispatcherGlib::processEvents (this=0x7fbbcc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#6  0x00007fbc06ee2bfb in QEventLoop::exec (this=this@entry=0x7fbbd42b8c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:206
#7  0x00007fbc06d1df5a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#8  0x00007fbc02c0e295 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007fbc06d22a29 in QThreadPrivate::start (arg=0x7fbc02e77ce0) at thread/qthread_unix.cpp:365
#10 0x00007fbc089f5744 in start_thread () from /lib64/libpthread.so.0
#11 0x00007fbc06419aad in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fbbe1a49700 (LWP 4120)):
#0  0x00007fbc0641120d in poll () from /lib64/libc.so.6
#1  0x00007fbbf4eba3e2 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fbbf4ebbfcf in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fbbe352c0d9 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fbc06d22a29 in QThreadPrivate::start (arg=0x24b0f00) at thread/qthread_unix.cpp:365
#5  0x00007fbc089f5744 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fbc06419aad in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fbc0924d940 (LWP 4119)):
[KCrash Handler]
#6  0x0000000000000051 in ?? ()
#7  0x00007fbc056f4021 in MailImporter::Filter::Private::~Private (this=0x29926d0, __in_chrg=<optimized out>) at /usr/src/debug/mailimporter-17.04.2/src/mailimporter/filters.cpp:51
#8  MailImporter::Filter::~Filter (this=0x28e11b0, __in_chrg=<optimized out>) at /usr/src/debug/mailimporter-17.04.2/src/mailimporter/filters.cpp:72
#9  0x00007fbc05712c69 in MailImporter::FilterKMailArchive::~FilterKMailArchive (this=0x28e11b0, __in_chrg=<optimized out>) at /usr/src/debug/mailimporter-17.04.2/src/mailimporter/filters/filterkmailarchive.cpp:61
#10 0x00007fbc08e92616 in qDeleteAll<QList<MailImporter::Filter*>::const_iterator> (end=..., begin=...) at /usr/include/qt5/QtCore/qalgorithms.h:317
#11 qDeleteAll<QList<MailImporter::Filter*> > (c=...) at /usr/include/qt5/QtCore/qalgorithms.h:325
#12 ManualSelectFilterPage::~ManualSelectFilterPage (this=0x28e5ef0, __in_chrg=<optimized out>) at /usr/src/debug/akonadi-import-wizard-17.04.2/src/manual/manualselectfilterpage.cpp:86
#13 0x00007fbc08e92689 in ManualSelectFilterPage::~ManualSelectFilterPage (this=0x28e5ef0, __in_chrg=<optimized out>) at /usr/src/debug/akonadi-import-wizard-17.04.2/src/manual/manualselectfilterpage.cpp:89
#14 0x00007fbc06f0d6c5 in QObjectPrivate::deleteChildren (this=this@entry=0x2656890) at kernel/qobject.cpp:1963
#15 0x00007fbc07c22b2f in QWidget::~QWidget (this=0x26770e0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#16 0x00007fbc036ec01e in KPageStackedWidget::~KPageStackedWidget (this=0x26770e0, __in_chrg=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.32.0/src/kpageview_p.h:37
#17 KPageStackedWidget::~KPageStackedWidget (this=0x26770e0, __in_chrg=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.32.0/src/kpageview_p.h:37
#18 0x00007fbc06f0d6c5 in QObjectPrivate::deleteChildren (this=this@entry=0x2658930) at kernel/qobject.cpp:1963
#19 0x00007fbc07c22b2f in QWidget::~QWidget (this=0x2658520, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#20 0x00007fbc036f0109 in KPageWidget::~KPageWidget (this=0x2658520, __in_chrg=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.32.0/src/kpagewidget.cpp:80
#21 0x00007fbc06f0d6c5 in QObjectPrivate::deleteChildren (this=this@entry=0x265be60) at kernel/qobject.cpp:1963
#22 0x00007fbc07c22b2f in QWidget::~QWidget (this=0x24eebe0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#23 0x00007fbc08e96079 in ImportWizard::~ImportWizard (this=0x24eebe0, __in_chrg=<optimized out>) at /usr/src/debug/akonadi-import-wizard-17.04.2/src/importwizard.cpp:112
#24 0x0000000000402538 in main (argc=3, argv=<optimized out>) at /usr/src/debug/akonadi-import-wizard-17.04.2/src/main.cpp:83

Reported using DrKonqi
Comment 1 Laurent Montel 2017-11-10 18:10:09 UTC
fixed in 5.6.x