Package: kontact
Version: 4:21.04.1-1
Severity: important

I'm filing it against kontact, but kmail is maybe more appropriate.
However with kontact I could generate a stacktrace, which failed with
kmail, so therefor I chose kontact. Feel free to reassign.

In 'Local Folder' I have a Mail-Achive folder with 2 subfolders 
for 2 of my mail accounts.
Earlier today I moved a bunch of mails from my (IMAP) account to the
corresponding Mail-Archive folder and that seems to went fine.
When you right-click on a folder, you can choose 'Archive Folder...' to
make an export of that folder to a .tar.bz2 file and I use that for
backup purposes. It starts the process (no idea where the/a temp file is
created though) and then at some point it crashes.

=== KCrash output 1 ===
Application: Kontact (kontact), signal: Aborted

[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5  0x00007fe28cc98537 in __GI_abort () at abort.c:79
#6  0x00007fe28ced27ec in __gnu_cxx::__verbose_terminate_handler () at 
../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
#7  0x00007fe28cedd966 in __cxxabiv1::__terminate (handler=<optimized out>) at 
../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:48
#8  0x00007fe28cedd9d1 in std::terminate () at 
../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:58
#9  0x00007fe28ceddc65 in __cxxabiv1::__cxa_throw 
(obj=obj@entry=0x55c80b21ebd0, tinfo=0x7fe1d83ef348 <typeinfo for 
Akonadi::PayloadException>, dest=0x7fe1d82b01f0 
<Akonadi::PayloadException::~PayloadException()>) at 
../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:95
#10 0x00007fe1d8265b41 in Akonadi::Item::throwPayloadException 
(this=this@entry=0x55c818322738, spid=spid@entry=-1, mtid=mtid@entry=-1) at 
./src/core/item.cpp:463
#11 0x00007fe1b900ae92 in Akonadi::Item::payload<QSharedPointer<KMime::Message> 
> (this=0x55c818322738) at /usr/include/KF5/AkonadiCore/item.h:791
#12 MailCommon::BackupJob::processMessage (this=0x7fe270009790, item=...) at 
./src/job/backupjob.cpp:232
#13 0x00007fe1b900b048 in MailCommon::BackupJob::itemFetchJobResult 
(this=0x7fe270009790, job=0x7ffef3a31cd0) at ./src/job/backupjob.cpp:271
#14 0x00007fe28d2eb5a6 in QtPrivate::QSlotObjectBase::call (a=0x7ffef3a31e20, 
r=0x7fe270009790, this=0x55c8016c4130) at 
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate<false> (sender=0x7fe19c46a4b0, signal_index=6, 
argv=argv@entry=0x7ffef3a31e20) at kernel/qobject.cpp:3886
#16 0x00007fe28d2e4900 in QMetaObject::activate 
(sender=sender@entry=0x7fe19c46a4b0, m=m@entry=0x7fe28e40dca0 
<KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, 
argv=argv@entry=0x7ffef3a31e20) at kernel/qobject.cpp:3946
#17 0x00007fe28e3b76fc in KJob::result (this=this@entry=0x7fe19c46a4b0, 
_t1=<optimized out>, _t1@entry=0x7fe19c46a4b0, _t2=...) at 
./obj-x86_64-linux-gnu/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:636
#18 0x00007fe28e3b8433 in KJob::finishJob (this=0x7fe19c46a4b0, 
emitResult=<optimized out>) at ./src/lib/jobs/kjob.cpp:94
#19 0x00007fe28d2e0ff1 in QObject::event (this=0x7fe19c46a4b0, 
e=0x55c80c32d5d0) at kernel/qobject.cpp:1314
#20 0x00007fe28dd7715f in QApplicationPrivate::notify_helper (this=<optimized 
out>, receiver=0x7fe19c46a4b0, e=0x55c80c32d5d0) at kernel/qapplication.cpp:3632
#21 0x00007fe28d2b4fca in QCoreApplication::notifyInternal2 
(receiver=0x7fe19c46a4b0, event=0x55c80c32d5d0) at 
kernel/qcoreapplication.cpp:1063
#22 0x00007fe28d2b7a01 in QCoreApplicationPrivate::sendPostedEvents 
(receiver=0x0, event_type=0, data=0x55c7ff9a28f0) at 
kernel/qcoreapplication.cpp:1817
#23 0x00007fe28d30ce93 in postEventSourceDispatch (s=0x55c7ffadae00) at 
kernel/qeventdispatcher_glib.cpp:277
#24 0x00007fe2836e1e6b in g_main_dispatch (context=0x7fe270005000) at 
../../../glib/gmain.c:3325
#25 g_main_context_dispatch (context=0x7fe270005000) at 
../../../glib/gmain.c:4043
#26 0x00007fe2836e2118 in g_main_context_iterate 
(context=context@entry=0x7fe270005000, block=block@entry=1, 
dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4119
#27 0x00007fe2836e21cf in g_main_context_iteration (context=0x7fe270005000, 
may_block=may_block@entry=1) at ../../../glib/gmain.c:4184
#28 0x00007fe28d30c51f in QEventDispatcherGlib::processEvents 
(this=0x55c7ffadbd60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007fe28d2b398b in QEventLoop::exec (this=this@entry=0x7ffef3a32210, 
flags=..., flags@entry=...) at 
../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x00007fe28d2bbc00 in QCoreApplication::exec () at 
../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x000055c7fe2cb02b in main (argc=<optimized out>, argv=<optimized out>) at 
./src/main.cpp:208
[Inferior 1 (process 2390) detached]

=== end KCrash output 1 ===

Then I rebooted my machine and tried again. And it crashed again:

=== KCrash output 2 ===
Application: Kontact (kontact), signal: Aborted

[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5  0x00007f2bfb2e2537 in __GI_abort () at abort.c:79
#6  0x00007f2bfb51c7ec in __gnu_cxx::__verbose_terminate_handler () at 
../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
#7  0x00007f2bfb527966 in __cxxabiv1::__terminate (handler=<optimized out>) at 
../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:48
#8  0x00007f2bfb5279d1 in std::terminate () at 
../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:58
#9  0x00007f2bfb527c65 in __cxxabiv1::__cxa_throw 
(obj=obj@entry=0x555892fd6a20, tinfo=0x7f2b5c25c348 <typeinfo for 
Akonadi::PayloadException>, dest=0x7f2b5c11d1f0 
<Akonadi::PayloadException::~PayloadException()>) at 
../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:95
#10 0x00007f2b5c0d2b41 in Akonadi::Item::throwPayloadException 
(this=this@entry=0x555892fd80f8, spid=spid@entry=-1, mtid=mtid@entry=-1) at 
./src/core/item.cpp:463
#11 0x00007f2b16e5ce92 in Akonadi::Item::payload<QSharedPointer<KMime::Message> 
> (this=0x555892fd80f8) at /usr/include/KF5/AkonadiCore/item.h:791
#12 MailCommon::BackupJob::processMessage (this=0x555892edc020, item=...) at 
./src/job/backupjob.cpp:232
#13 0x00007f2b16e5d048 in MailCommon::BackupJob::itemFetchJobResult 
(this=0x555892edc020, job=0x7ffd092876d0) at ./src/job/backupjob.cpp:271
#14 0x00007f2bfb9355a6 in QtPrivate::QSlotObjectBase::call (a=0x7ffd09287820, 
r=0x555892edc020, this=0x7f2b001c9f90) at 
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate<false> (sender=0x7f2b003f18e0, signal_index=6, 
argv=argv@entry=0x7ffd09287820) at kernel/qobject.cpp:3886
#16 0x00007f2bfb92e900 in QMetaObject::activate 
(sender=sender@entry=0x7f2b003f18e0, m=m@entry=0x7f2bfca57ca0 
<KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, 
argv=argv@entry=0x7ffd09287820) at kernel/qobject.cpp:3946
#17 0x00007f2bfca016fc in KJob::result (this=this@entry=0x7f2b003f18e0, 
_t1=<optimized out>, _t1@entry=0x7f2b003f18e0, _t2=...) at 
./obj-x86_64-linux-gnu/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:636
#18 0x00007f2bfca02433 in KJob::finishJob (this=0x7f2b003f18e0, 
emitResult=<optimized out>) at ./src/lib/jobs/kjob.cpp:94
#19 0x00007f2bfb92aff1 in QObject::event (this=0x7f2b003f18e0, 
e=0x555893309080) at kernel/qobject.cpp:1314
#20 0x00007f2bfc3c115f in QApplicationPrivate::notify_helper (this=<optimized 
out>, receiver=0x7f2b003f18e0, e=0x555893309080) at kernel/qapplication.cpp:3632
#21 0x00007f2bfb8fefca in QCoreApplication::notifyInternal2 
(receiver=0x7f2b003f18e0, event=0x555893309080) at 
kernel/qcoreapplication.cpp:1063
#22 0x00007f2bfb901a01 in QCoreApplicationPrivate::sendPostedEvents 
(receiver=0x0, event_type=0, data=0x55588fe988f0) at 
kernel/qcoreapplication.cpp:1817
#23 0x00007f2bfb956e93 in postEventSourceDispatch (s=0x55588ffdf180) at 
kernel/qeventdispatcher_glib.cpp:277
#24 0x00007f2bf1d2be6b in g_main_dispatch (context=0x7f2be0005000) at 
../../../glib/gmain.c:3325
#25 g_main_context_dispatch (context=0x7f2be0005000) at 
../../../glib/gmain.c:4043
#26 0x00007f2bf1d2c118 in g_main_context_iterate 
(context=context@entry=0x7f2be0005000, block=block@entry=1, 
dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4119
#27 0x00007f2bf1d2c1cf in g_main_context_iteration (context=0x7f2be0005000, 
may_block=may_block@entry=1) at ../../../glib/gmain.c:4184
#28 0x00007f2bfb95651f in QEventDispatcherGlib::processEvents 
(this=0x55588ffde140, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f2bfb8fd98b in QEventLoop::exec (this=this@entry=0x7ffd09287c10, 
flags=..., flags@entry=...) at 
../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x00007f2bfb905c00 in QCoreApplication::exec () at 
../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x000055588e54302b in main (argc=<optimized out>, argv=<optimized out>) at 
./src/main.cpp:208
[Inferior 1 (process 2409) detached]

=== end KCrash output 2 ===

I haven't checked, but they may be ~ identical.

Then I started 'kmail' (alone) from a Konsole window, hoping that that
might provide more useful info. No useful/any output in KCrash handler
though.

===== KMail Konsole output =====
diederik@bagend:~$ kmail
Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, 
"urls")
org.kde.kitinerary: Cannot find external extractor: "kitinerary-extractor"
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 5405, resource 
id: 14680181, major code: 40 (TranslateCoords), minor code: 0
terminate called after throwing an instance of 'Akonadi::PayloadException'
  what():  Akonadi::PayloadException: No payload set
*** KMail got signal 6 (Exiting)
*** Dead letters dumped.
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...
QSocketNotifier: Invalid socket 20 and type 'Read', disabling...
[warn] epoll_wait: Bad file descriptor
[warn] epoll_wait: Bad file descriptor
<very long list of the same msg>
[warn] epoll_wait: Bad file descriptor

[1]+  Stopped                 kmail
diederik@bagend:~$ [warn] epoll_wait: Bad file descriptor
QSocketNotifier: Invalid socket 101 and type 'Read', disabling...
[warn] epoll_wait: Bad file descriptor
QSocketNotifier: Invalid socket 99 and type 'Read', disabling...
QSocketNotifier: Invalid socket 23 and type 'Read', disabling...
QSocketNotifier: Invalid socket 79 and type 'Read', disabling...
QSocketNotifier: Invalid socket 25 and type 'Read', disabling...
[warn] epoll_wait: Bad file descriptor
QSocketNotifier: Invalid socket 16 and type 'Read', disabling...
QSocketNotifier: Invalid socket 100 and type 'Read', disabling...
[warn] epoll_wait: Bad file descriptor
...
[warn] epoll_wait: Bad file descriptor
QSocketNotifier: Invalid socket 19 and type 'Read', disabling...
[warn] epoll_wait: Bad file descriptor
...
[warn] epoll_wait: Bad file descriptor
QSocketNotifier: Invalid socket 102 and type 'Read', disabling...
[warn] epoll_wait: Bad file descriptor
...
[warn] epoll_wait: Bad file descriptor
QSocketNotifier: Invalid socket 17 and type 'Read', disabling...
[3760:3820:0609/223324.857024:FATAL:scoped_file.cc(43)] Check failed: . : Bad 
file descriptor (9)
[warn] epoll_wait: Bad file descriptor
...
[warn] epoll_wait: Bad file descriptor
ptrace: No such process.
/tmp/drkonqi.ofTUzF:2: Error in sourced command file:
No symbol table is loaded.  Use the "file" command.
/tmp/drkonqi.dDssCP:1: Error in sourced command file:
No thread selected
ptrace: No such process.
/tmp/drkonqi.EfRibl:2: Error in sourced command file:
No symbol table is loaded.  Use the "file" command.
/tmp/drkonqi.Nvumfw:1: Error in sourced command file:
No thread selected
diederik@bagend:~$
===== end KMail Konsole output =====

The severity may be too high as otherwise kontact/kmail works fine, but
not being able to make an archive/backup copy does make me nervous.

Cheers,
  Diederik

-- System Information:
Debian Release: 11.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'unstable'), (500, 'testing'), (101, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-7-amd64 (SMP w/16 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kontact depends on:
ii  kdepim-runtime                                           4:21.04.1-1
ii  libc6                                                    2.31-12
ii  libkf5configcore5                                        5.82.0-1
ii  libkf5configgui5                                         5.82.0-1
ii  libkf5configwidgets5                                     5.82.0-1
ii  libkf5coreaddons5                                        5.82.0-1
ii  libkf5crash5                                             5.82.0-1
ii  libkf5grantleetheme5 [libkf5grantleetheme5-21.04]        21.04.1-1
ii  libkf5i18n5                                              5.82.0-1
ii  libkf5iconthemes5                                        5.82.0-1
ii  libkf5jobwidgets5                                        5.82.0-1
ii  libkf5kcmutils5                                          5.82.0-1
ii  libkf5kiogui5                                            5.82.0-3
ii  libkf5kontactinterface5 [libkf5kontactinterface5-21.04]  21.04.1-1
ii  libkf5libkdepim5 [libkf5libkdepim5-21.04]                4:21.04.1-1
ii  libkf5parts5                                             5.82.0-1
ii  libkf5pimcommon5abi2 [libkf5pimcommon5-21.04]            4:21.04.1-1
ii  libkf5service-bin                                        5.82.0-1
ii  libkf5service5                                           5.82.0-1
ii  libkf5widgetsaddons5                                     5.82.0-1
ii  libkf5windowsystem5                                      5.82.0-1
ii  libkf5xmlgui5                                            5.82.0-2
ii  libqt5core5a                                             5.15.2+dfsg-7
ii  libqt5dbus5                                              5.15.2+dfsg-7
ii  libqt5gui5                                               5.15.2+dfsg-7
ii  libqt5webengine5                                         5.15.3+dfsg-5
ii  libqt5webenginecore5                                     5.15.3+dfsg-5
ii  libqt5webenginewidgets5                                  5.15.3+dfsg-5
ii  libqt5widgets5                                           5.15.2+dfsg-7
ii  libstdc++6                                               10.2.1-6

Versions of packages kontact recommends:
ii  accountwizard  4:21.04.1-1
ii  akregator      4:21.04.1-1
ii  kaddressbook   4:21.04.1-1
ii  kmail          4:21.04.1-1
ii  knotes         4:21.04.1-1
ii  korganizer     4:21.04.1-1

Versions of packages kontact suggests:
pn  gnokii  <none>

-- no debconf information

Reply via email to