[konsole] [Bug 432376] Use after free when reflowing

Carlos Alves bugzilla_noreply at kde.org
Sat Apr 10 12:35:21 BST 2021


https://bugs.kde.org/show_bug.cgi?id=432376

--- Comment #20 from Carlos Alves <cbc.alves at gmail.com> ---
Created attachment 137470
  --> https://bugs.kde.org/attachment.cgi?id=137470&action=edit
sanitizer enabled

(In reply to Martin Sandsmark from comment #13)
> That doesn't print anything, for some reason.
> 
> But it's fairly easy to build with asan and ubsan to get stacktraces to the
> usage of freed memory (and other invalid memory stuff), just add
> "include(ECMEnableSanitizers)" to the CMakeLists.txt, i. e.:
> 
> diff --git a/CMakeLists.txt b/CMakeLists.txt
>   index df5da50a..9accafa2 100644
>   --- a/CMakeLists.txt
>   +++ b/CMakeLists.txt
>   @@ -36,6 +36,7 @@ include(ECMGenerateHeaders)
>    include(GenerateExportHeader)
>    include(FeatureSummary)
>    include(ECMQtDeclareLoggingCategory)
>   +include(ECMEnableSanitizers)
>    
>    ecm_setup_version(${RELEASE_SERVICE_VERSION} VARIABLE_PREFIX
> KONSOLEPRIVATE
>        SOVERSION ${RELEASE_SERVICE_VERSION_MAJOR}
> 
> 
> and then run cmake with "cmake -DECM_ENABLE_SANITIZERS='address;undefined'
> [... whatever other options you use]"

I never had this error here. I just attached a video running with those
options.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list