Bug 484869 - Kmail crashes on closing identity dialog
Summary: Kmail crashes on closing identity dialog
Status: CLOSED NOT A BUG
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 485190 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-04-01 13:20 UTC by nmset
Modified: 2024-04-08 15:13 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Postpone identitydialog deletion (321 bytes, patch)
2024-04-04 06:48 UTC, shivarryn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nmset 2024-04-01 13:20:58 UTC
Hello,

This crash happens with this message in stdout:

double free or corruption (out)
*** KMail got signal 6 (Exiting)
*** Dead letters dumped.

Steps to reproduce:

 Open the configuration dialog
 Edit an identity or create a new identity
 Apply or cancel, an edit is not required
 Wait for 1 second
If an edit has been made, it is applied.

Using:

Operating System: Arch Linux 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.9.0-rc1-git-00002-g613796e2b960-dirty (64-bit)
Graphics Platform: Wayland

There is crash dialog nor the 'Sad face' icon in the system tray.

Regards.
Comment 1 shivarryn 2024-04-04 06:48:54 UTC
Created attachment 168128 [details]
Postpone identitydialog deletion

Can reproduce.

Attached patch fixes the problem for me; can any dev have a look?
Comment 2 shivarryn 2024-04-04 07:50:07 UTC
nmset, I'm afraid it was a false positive.
I noticed that simply recompiling manually the Arch kmail package, (the very same package you're executing), the problem disappears. So, it is possible that arch kmail was compiled with some outdated library (or a library that is still in testing -- qt 5.7 is the suspect). It happens on Arch, sometimes.
Can you try to simply recompile the package locally?
Comment 3 nmset 2024-04-04 11:17:54 UTC
(In reply to shivarryn from comment #2)
> Can you try to simply recompile the package locally?

Yes, I recompiled the package 'kmail-24.02.1-1-x86_64.pkg.tar.zst' and installed it. kmail no longer crashes in the above described scenario.

Thank you for this simple resolution and regards.
Comment 4 shivarryn 2024-04-04 11:48:00 UTC
Qt 6.7 should reach Arch stable shortly. If the problem will still appear on the Arch package, we should ping the Arch mantainers then.
This bug can be closed.
Comment 5 Antonio Rojas 2024-04-08 11:38:00 UTC
*** Bug 485190 has been marked as a duplicate of this bug. ***
Comment 6 pipapo 2024-04-08 15:13:20 UTC
(In reply to nmset from comment #0)
> Hello,
> 
> This crash happens with this message in stdout:
> 
> double free or corruption (out)
> *** KMail got signal 6 (Exiting)
> *** Dead letters dumped.
> 
> Steps to reproduce:
> 
>  Open the configuration dialog
>  Edit an identity or create a new identity
>  Apply or cancel, an edit is not required
>  Wait for 1 second
> If an edit has been made, it is applied.
> 
> Using:
> 
> Operating System: Arch Linux 
> KDE Plasma Version: 6.0.3
> KDE Frameworks Version: 6.0.0
> Qt Version: 6.6.2
> Kernel Version: 6.9.0-rc1-git-00002-g613796e2b960-dirty (64-bit)
> Graphics Platform: Wayland
> 
> There is crash dialog nor the 'Sad face' icon in the system tray.
> 
> Regards.

Exact the same Problem in KDE Neon:

Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Graphics Platform: Wayland