Bug 481926

Summary: kmail crashes every time I try to reply a mail
Product: [Applications] kmail2 Reporter: Angel <angelbravo>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 5.24.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Angel 2024-02-28 11:37:45 UTC
Application: kmail (5.24.4 (23.08.4))

Qt Version: 5.15.12
Frameworks Version: 5.114.0
Operating System: Linux 6.5.0-21-generic x86_64
Windowing System: X11
Distribution: KDE neon 5.27
DrKonqi: 5.27.10 [CoredumpBackend]

-- Information about the crash:
When I try to send or reply to an email, I get a strange error on any account - server error 5.7.8 Error, authentication failed - and the message stays in drafts. If I click on the draft, the program always crashes.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#6  0x00007ff70cccf2eb in std::__atomic_base<QMutexData*>::compare_exchange_strong (__m2=std::memory_order_acquire, __m1=std::memory_order_acquire, __p2=0x1, __p1=<synthetic pointer>: 0x0, this=0x5672656461654895) at /usr/include/c++/11/bits/atomic_base.h:854
#7  std::atomic<QMutexData*>::compare_exchange_strong (__m2=std::memory_order_acquire, __m1=std::memory_order_acquire, __p2=0x1, __p1=<synthetic pointer>: 0x0, this=0x5672656461654895) at /usr/include/c++/11/atomic:624
#8  QAtomicOps<QMutexData*>::testAndSetAcquire<QMutexData*> (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, _q_value=<error reading variable: Cannot access memory at address 0x5672656461654895>) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:308
#9  QBasicAtomicPointer<QMutexData>::testAndSetAcquire (currentValue=<synthetic pointer>: <optimized out>, newValue=0x1, expectedValue=0x0, this=0x5672656461654895) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:273
#10 QBasicMutex::fastTryLock (current=<synthetic pointer>: <optimized out>, this=0x5672656461654895) at thread/qmutex.h:128


The reporter indicates this bug may be a duplicate of or related to bug 385593.

Reported using DrKonqi
Comment 1 Angel 2024-02-28 11:37:46 UTC
Created attachment 166153 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.