[kmail2] [Bug 462877] KMail crash when clicking on an Email

2023-09-05 Thread Marc Joliet
https://bugs.kde.org/show_bug.cgi?id=462877

--- Comment #7 from Marc Joliet  ---
Created attachment 161434
  --> https://bugs.kde.org/attachment.cgi?id=161434&action=edit
New crash information added by DrKonqi

kmail (5.24.0 (23.08.0)) using Qt 5.15.10

Same reproducer as usual: click away from GPG signed email before the signature
was verified (this time coincidentally to an email that was *also* GPG signed,
in case that might make a difference).

(I guess I'm just going to keep adding these until somebody says otherwise.)

-- Backtrace (Reduced):
#4  0x7fdc99c54a3e in QVector::begin
(this=) at /usr/include/qt5/QtCore/qvector.h:220
#5  KMime::Content::headerByType (this=this@entry=0x55fe0cffe0c0,
type=0x7fdc99c6d040 "Content-Transfer-Encoding") at
/usr/src/debug/kmime-23.08.0/src/kmime_content.cpp:626
#6  0x7fdc99c558aa in
KMime::Content::header (create=true,
this=0x55fe0cffe0c0) at /usr/src/debug/kmime-23.08.0/src/kmime_content.h:681
#7  KMime::Content::contentTransferEncoding (this=this@entry=0x55fe0cffe0c0,
create=create@entry=true) at
/usr/src/debug/kmime-23.08.0/src/kmime_content.cpp:883
#8  0x7fdc99c5687f in KMime::ContentPrivate::decodeText (this=0x0,
q=q@entry=0x55fe0cffe0c0) at
/usr/src/debug/kmime-23.08.0/src/kmime_content.cpp:738

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 462877] KMail crash when clicking on an Email

2023-07-12 Thread Marc Joliet
https://bugs.kde.org/show_bug.cgi?id=462877

--- Comment #6 from Marc Joliet  ---
Created attachment 160257
  --> https://bugs.kde.org/attachment.cgi?id=160257&action=edit
New crash information

I hadn't been able to reproduce the bug recently (maybe for a few weeks, but
I'm not exactly sure), so I got adventurous and stopped waiting for the first
PGP signature to be verified before looking at other emails.  But then it
happened again this week, see attached crash report.  The reproducer remains
the same: launch KMail, select a PGP signed email to read, then select a
different email to read before the first one's PGP signature has finished
verifying, and KMail should crash.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 462877] KMail crash when clicking on an Email

2023-01-27 Thread Marc Joliet
https://bugs.kde.org/show_bug.cgi?id=462877

--- Comment #5 from Marc Joliet  ---
Created attachment 155711
  --> https://bugs.kde.org/attachment.cgi?id=155711&action=edit
New crash information added by DrKonqi

kmail (5.22.1 (22.12.1)) using Qt 5.15.8

Just adding a new backtrace to show that the bug still occurs, and it still
happens consistently when opening an email before PGP signature verification
has finished.

-- Backtrace (Reduced):
#4  0x7ffbec33d7fe in QVector::begin
(this=) at /usr/include/qt5/QtCore/qvector.h:220
#5  KMime::Content::headerByType (this=this@entry=0x56336fe6cd40,
type=0x7ffbec356046 "Content-Transfer-Encoding") at
/usr/src/debug/kmime-22.12.1/src/kmime_content.cpp:617
#6  0x7ffbec33e65a in
KMime::Content::header (create=true,
this=0x56336fe6cd40) at /usr/src/debug/kmime-22.12.1/src/kmime_content.h:681
#7  KMime::Content::contentTransferEncoding (this=0x56336fe6cd40,
create=) at
/usr/src/debug/kmime-22.12.1/src/kmime_content.cpp:874
#8  0x7ffbec33f63f in KMime::ContentPrivate::decodeText (this=0x21,
q=q@entry=0x56336fe6cd40) at
/usr/src/debug/kmime-22.12.1/src/kmime_content.cpp:729

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 462877] KMail crash when clicking on an Email

2022-12-26 Thread Marc Joliet
https://bugs.kde.org/show_bug.cgi?id=462877

--- Comment #4 from Marc Joliet  ---
OK, I think I've determined the precise cause of the crashes.  They
consistently happen when:
- clicking away from an Email,
- that is signed with a PGP key,
- *before* KMail has finished verifying the signature.
If I wait for signature verification to finish, KMail does not crash.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 462877] KMail crash when clicking on an Email

2022-12-14 Thread Marc Joliet
https://bugs.kde.org/show_bug.cgi?id=462877

--- Comment #3 from Marc Joliet  ---
Created attachment 154581
  --> https://bugs.kde.org/attachment.cgi?id=154581&action=edit
New crash information added by DrKonqi

kmail (5.22.0 (22.12.0)) using Qt 5.15.7

So the crashes still happen, and it's really annoying.  The backtrace is a
little different, but the behaviour I encounter is the same, so I'm assuming
this is still the same bug.  This is after a recent KDE frameworks update in
OpenSuse Tumbleweed.

-- Backtrace (Reduced):
#4  0x7f076d33d7fe in QVector::begin
(this=) at /usr/include/qt5/QtCore/qvector.h:220
#5  KMime::Content::headerByType (this=this@entry=0x564c37c96040,
type=0x7f076d356046 "Content-Transfer-Encoding") at
/usr/src/debug/kmime-22.12.0/src/kmime_content.cpp:617
#6  0x7f076d33e65a in
KMime::Content::header (create=true,
this=0x564c37c96040) at /usr/src/debug/kmime-22.12.0/src/kmime_content.h:681
#7  KMime::Content::contentTransferEncoding (this=0x564c37c96040,
create=) at
/usr/src/debug/kmime-22.12.0/src/kmime_content.cpp:874
#8  0x7f076d33f63f in KMime::ContentPrivate::decodeText (this=0x30,
q=q@entry=0x564c37c96040) at
/usr/src/debug/kmime-22.12.0/src/kmime_content.cpp:729

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 462877] KMail crash when clicking on an Email

2022-12-12 Thread Marc Joliet
https://bugs.kde.org/show_bug.cgi?id=462877

--- Comment #2 from Marc Joliet  ---
Created attachment 154539
  --> https://bugs.kde.org/attachment.cgi?id=154539&action=edit
New crash information added by DrKonqi

kmail (5.22.0 (22.12.0)) using Qt 5.15.7

This is one of the latest crashes.  However, I then ran "akonadictl fsck" and
"akonadictl vacuum", and immediately afterwards I was finally able to read the
emails that were triggering the crash without any visible issue.

-- Backtrace (Reduced):
#4  0x7f96609fc7fe in KMime::Content::headerByType(char const*) const ()
from /lib64/libKF5Mime.so.5
#5  0x7f96609fd65a in KMime::Content::contentTransferEncoding(bool) () from
/lib64/libKF5Mime.so.5
[...]
#7  0x7f96609fe777 in KMime::Content::decodedText(bool, bool) () from
/lib64/libKF5Mime.so.5
#8  0x7f966106ed3d in MimeTreeParser::ObjectTreeParser::extractNodeInfos
(isFirstTextPart=, curNode=0x5562b987b240, this=0x7fff079626c0)
at
/usr/src/debug/messagelib-22.12.0/mimetreeparser/src/objecttreeparser.cpp:270
#9  MimeTreeParser::ObjectTreeParser::extractNodeInfos
(this=this@entry=0x7fff079626c0, curNode=0x5562b987b240,
isFirstTextPart=isFirstTextPart@entry=true) at
/usr/src/debug/messagelib-22.12.0/mimetreeparser/src/objecttreeparser.cpp:267

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 462877] KMail crash when clicking on an Email

2022-12-12 Thread Marc Joliet
https://bugs.kde.org/show_bug.cgi?id=462877

--- Comment #1 from Marc Joliet  ---
Created attachment 154529
  --> https://bugs.kde.org/attachment.cgi?id=154529&action=edit
New crash information added by DrKonqi

kmail (5.22.0 (22.12.0)) using Qt 5.15.7

This was one of many crashes I got today trying to read the same email several
times in a row.  So I suppose the bug is now at least partially reproducible.

-- Backtrace (Reduced):
#4  0x7f29caeff7fe in KMime::Content::headerByType(char const*) const ()
from /lib64/libKF5Mime.so.5
#5  0x7f29caf0065a in KMime::Content::contentTransferEncoding(bool) () from
/lib64/libKF5Mime.so.5
[...]
#7  0x7f29caf01777 in KMime::Content::decodedText(bool, bool) () from
/lib64/libKF5Mime.so.5
#8  0x7f29cb571d3d in MimeTreeParser::ObjectTreeParser::extractNodeInfos
(isFirstTextPart=, curNode=0x55ba8ec971a0, this=0x7ffccd3ab7d0)
at
/usr/src/debug/messagelib-22.12.0/mimetreeparser/src/objecttreeparser.cpp:270
#9  MimeTreeParser::ObjectTreeParser::extractNodeInfos
(this=this@entry=0x7ffccd3ab7d0, curNode=0x55ba8ec971a0,
isFirstTextPart=isFirstTextPart@entry=true) at
/usr/src/debug/messagelib-22.12.0/mimetreeparser/src/objecttreeparser.cpp:267

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 462877] KMail crash when clicking on an Email

2022-12-12 Thread Marc Joliet
https://bugs.kde.org/show_bug.cgi?id=462877

Marc Joliet  changed:

   What|Removed |Added

 CC||mar...@gmx.de

-- 
You are receiving this mail because:
You are watching all bug changes.