Bug 420484

Summary: Entering a string in the search field of the message list crashes the application
Product: [Applications] kmail2 Reporter: Arcadie Cracan <acracan>
Component: searchAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: montel
Priority: NOR    
Version: Git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.14.1
Attachments: gdb.txt

Description Arcadie Cracan 2020-04-23 22:15:26 UTC
SUMMARY


STEPS TO REPRODUCE
1. Open kmail.
2. Enter a string in the message list search field.
3. Hit enter.

OBSERVED RESULT
Application crash.

EXPECTED RESULT
Filter the message list according to search term.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE Neon 5.18 User Edition / 5.18.4
(available in About System)
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
Comment 1 Laurent Montel 2020-04-24 04:55:51 UTC
Could you add a backtrace ?
Do you have a debug in console ?
Comment 2 Arcadie Cracan 2020-04-24 20:54:01 UTC
Created attachment 127837 [details]
gdb.txt

Backtrace attached.

Changing get_error_string() to get_description() in emailquery.cpp, line
205 solves the issue.
I have already committed a patch: https://phabricator.kde.org/D29164

Thank you for your help!

Kind regards,
   Arcadie Cracan


On Fri, Apr 24, 2020 at 7:55 AM Laurent Montel <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=420484
>
> Laurent Montel <montel@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |montel@kde.org
>
> --- Comment #1 from Laurent Montel <montel@kde.org> ---
> Could you add a backtrace ?
> Do you have a debug in console ?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Christophe Marin 2020-04-27 10:12:32 UTC
Closing manually.

The BUG/CCBUG keywords must be on a single line.