Bug 420484 - Entering a string in the search field of the message list crashes the application
Summary: Entering a string in the search field of the message list crashes the applica...
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: search (show other bugs)
Version: Git (master)
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-23 22:15 UTC by Arcadie Cracan
Modified: 2020-04-27 10:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.14.1


Attachments
gdb.txt (3.96 KB, text/plain)
2020-04-24 20:54 UTC, Arcadie Cracan
Details

Note You need to log in before you can comment on or make changes to this bug.
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.