Bug#989671: kontact: Trying to archive a Mail folder makes it crash

2021-06-09 Thread Diederik de Haas
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  0x7fe28cc98537 in __GI_abort () at abort.c:79
#6  0x7fe28ced27ec in __gnu_cxx::__verbose_terminate_handler () at 
../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
#7  0x7fe28cedd966 in __cxxabiv1::__terminate (handler=) at 
../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:48
#8  0x7fe28cedd9d1 in std::terminate () at 
../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:58
#9  0x7fe28ceddc65 in __cxxabiv1::__cxa_throw 
(obj=obj@entry=0x55c80b21ebd0, tinfo=0x7fe1d83ef348 , dest=0x7fe1d82b01f0 
) at 
../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:95
#10 0x7fe1d8265b41 in Akonadi::Item::throwPayloadException 
(this=this@entry=0x55c818322738, spid=spid@entry=-1, mtid=mtid@entry=-1) at 
./src/core/item.cpp:463
#11 0x7fe1b900ae92 in Akonadi::Item::payload 
> (this=0x55c818322738) at /usr/include/KF5/AkonadiCore/item.h:791
#12 MailCommon::BackupJob::processMessage (this=0x7fe270009790, item=...) at 
./src/job/backupjob.cpp:232
#13 0x7fe1b900b048 in MailCommon::BackupJob::itemFetchJobResult 
(this=0x7fe270009790, job=0x7ffef3a31cd0) at ./src/job/backupjob.cpp:271
#14 0x7fe28d2eb5a6 in QtPrivate::QSlotObjectBase::call (a=0x7ffef3a31e20, 
r=0x7fe270009790, this=0x55c8016c4130) at 
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate (sender=0x7fe19c46a4b0, signal_index=6, 
argv=argv@entry=0x7ffef3a31e20) at kernel/qobject.cpp:3886
#16 0x7fe28d2e4900 in QMetaObject::activate 
(sender=sender@entry=0x7fe19c46a4b0, m=m@entry=0x7fe28e40dca0 
, local_signal_index=local_signal_index@entry=3, 
argv=argv@entry=0x7ffef3a31e20) at kernel/qobject.cpp:3946
#17 0x7fe28e3b76fc in KJob::result (this=this@entry=0x7fe19c46a4b0, 
_t1=, _t1@entry=0x7fe19c46a4b0, _t2=...) at 
./obj-x86_64-linux-gnu/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:636
#18 0x7fe28e3b8433 in KJob::finishJob (this=0x7fe19c46a4b0, 
emitResult=) at ./src/lib/jobs/kjob.cpp:94
#19 0x7fe28d2e0ff1 in QObject::event (this=0x7fe19c46a4b0, 
e=0x55c80c32d5d0) at kernel/qobject.cpp:1314
#20 0x7fe28dd7715f in QApplicationPrivate::notify_helper (this=, receiver=0x7fe19c46a4b0, e=0x55c80c32d5d0) at kernel/qapplication.cpp:3632
#21 0x7fe28d2b4fca in QCoreApplication::notifyInternal2 
(receiver=0x7fe19c46a4b0, event=0x55c80c32d5d0) at 
kernel/qcoreapplication.cpp:1063
#22 0x7fe28d2b7a01 in QCoreApplicationPrivate::sendPostedEvents 
(receiver=0x0, event_type=0, data=0x55c7ff9a28f0) at 
kernel/qcoreapplication.cpp:1817
#23 0x7fe28d30ce93 in postEventSourceDispatch (s=0x55c7ffadae00) at 
kernel/qeventdispatcher_glib.cpp:277
#24 0x7fe2836e1e6b in g_main_dispatch (context=0x7fe270005000) at 
../../../glib/gmain.c:3325
#25 g_main_context_dispatch (context=0x7fe270005000) at 
../../../glib/gmain.c:4043
#26 0x7fe2836e2118 in g_main_context_iterate 
(context=context@entry=0x7fe270005000, block=block@entry=1, 
dispatch=dispatch@entry=1, self=) at ../../../glib/gmain.c:4119
#27 0x7fe2836e21cf in g_main_context_iteration (context=0x7fe270005000, 
may_block=may_block@entry=1) at ../../../glib/gmain.c:4184
#28 0x7fe28d30c51f in QEventDispatcherGlib::processEvents 
(this=0x55c7ffadbd60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x7fe28d2b398b in QEventLoop::exec (this=this@entry=0x7ffef3a32210, 
flags=..., flags@entry=...) at 
../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x7fe28d2bbc00 in QCoreApplication::exec () at 
../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x55c7fe2cb02b in main (argc=, argv=) 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  0x7f2bfb2e2537 in __GI_abort () at abort.c:79
#6  0x7f2bfb51c7ec in __gnu_cxx::__verbose_terminate_handler () at 
../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
#7  0x

Bug#971065: marked as done (korganizer: org.kde.korgac.desktop executable)

2021-06-09 Thread Debian Bug Tracking System
Your message dated Wed, 9 Jun 2021 17:39:37 +0200
with message-id <20210609153937.GA14370@Debian-50-lenny-64-minimal>
and subject line Re: Bug#971065: korganizer: org.kde.korgac.desktop executable
has caused the Debian Bug report #971065,
regarding korganizer: org.kde.korgac.desktop executable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
971065: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971065
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: korganizer
Version: 4:20.04.1-2
Severity: minor

In the logs I get the following error message:
Aug 15 21:46:20 samd systemd[232194]: Configuration file 
/etc/xdg/autostart/org.kde.korgac.desktop is marked executable. Please remove 
executable permission bits. Proceeding anyway.

And indeed, it is the only executable desktop file in this directory.

Please consider removing the executable bit.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages korganizer depends on:
ii  kdepim-runtime   4:20.04.1-2
ii  kio  5.70.1-1
ii  libc62.31-3
ii  libgcc-s110.2.0-9
ii  libkf5akonadicalendar5abi1 [libkf5akonadicalendar5-20.04]4:20.04.1-2
ii  libkf5akonadicontact5 [libkf5akonadicontact5-20.04]  4:20.04.1-2
ii  libkf5akonadicore5abi2 [libkf5akonadicore5-20.04]4:20.04.1-2+b1
ii  libkf5akonadimime5 [libkf5akonadimime5-20.04]4:20.04.1-2
ii  libkf5akonadinotes5 [libkf5akonadinotes5-20.04]  4:20.04.1-1
ii  libkf5akonadiwidgets5abi1 [libkf5akonadiwidgets5-20.04]  4:20.04.1-2+b1
ii  libkf5calendarcore5abi2  5:5.70.0-2
ii  libkf5calendarsupport5abi1 [libkf5calendarsupport5-20.04]4:20.04.1-2
ii  libkf5calendarutils5 [libkf5calendarutils5-20.04]4:20.04.1-2
ii  libkf5codecs55.70.0-1
ii  libkf5completion55.70.0-1
ii  libkf5configcore55.70.0-1
ii  libkf5configgui5 5.70.0-1
ii  libkf5configwidgets5 5.70.0-2
ii  libkf5contacts5  5:5.70.0-4
ii  libkf5coreaddons55.70.0-2
ii  libkf5crash5 5.70.0-1
ii  libkf5dbusaddons55.70.0-1
ii  libkf5eventviews5abi1 [libkf5eventviews5-20.04]  4:20.04.1-2
ii  libkf5holidays5  1:5.70.0-1
ii  libkf5i18n5  5.70.0-1
ii  libkf5iconthemes55.70.0-1
ii  libkf5identitymanagement5 [libkf5identitymanagement5-20.04]  20.04.1-2
ii  libkf5incidenceeditor5abi1 [libkf5incidenceeditor5-20.04]20.04.1-1
ii  libkf5itemmodels55.70.0-3
ii  libkf5itemviews5 5.70.0-1
ii  libkf5jobwidgets55.70.0-1
ii  libkf5kcmutils5  5.70.0-1
ii  libkf5kdepimdbusinterfaces5 [libkf5kdepimdbusinterfaces5-20  4:20.04.1-2
ii  libkf5kiocore5   5.70.1-1
ii  libkf5kiowidgets55.70.1-1
ii  libkf5kontactinterface5 [libkf5kontactinterface5-20.04]  20.04.1-2
ii  libkf5libkdepim5 [libkf5libkdepim5-20.04]4:20.04.1-2
ii  libkf5libkdepimakonadi5 [libkf5libkdepimakonadi5-20.04]  4:20.04.1-2
ii  libkf5mailtransport5 [libkf5mailtransport5-20.04]20.04.1-2
ii  libkf5mailtransportakonadi5 [libkf5mailtransportakonadi5-20  20.04.1-2
ii  libkf5mime5abi1 [libkf5mime5-20.04]  20.04.1-1
ii  libkf5newstuff5  5.70.0-1
ii  libkf5notifications5 5.70.0-1
ii  libkf5parts5  

Bug#971065: korganizer: org.kde.korgac.desktop executable

2021-06-09 Thread Diederik de Haas
On zondag 27 september 2020 07:39:42 CEST Helge Kreutzmann wrote:
> Package: korganizer
> Version: 4:20.04.1-2
> Severity: minor
> 
> In the logs I get the following error message:
> Aug 15 21:46:20 samd systemd[232194]: Configuration file
> /etc/xdg/autostart/org.kde.korgac.desktop is marked executable. Please
> remove executable permission bits. Proceeding anyway.
> 
> And indeed, it is the only executable desktop file in this directory.
> 
> Please consider removing the executable bit.

If I download the .deb file and look inside it, that file has 644 permissions, 
iow no executable bit set.

https://invent.kde.org/pim/korganizer/-/commit/14138650407be94cdecabecd40d1435420df8fdd
is the upstream commit from 2017-03-02 where the executable bit
was removed.
I don't know why +x is set on your system, but the package seem fine.

signature.asc
Description: This is a digitally signed message part.