https://bugs.kde.org/show_bug.cgi?id=386983
--- Comment #6 from Leslie Zhai <lesliez...@llvm.org.cn> --- Created attachment 109022 --> https://bugs.kde.org/attachment.cgi?id=109022&action=edit sanitizer.log 1. UndefinedBehaviorSanitizer: undefined-behavior /data/project/kde/k3b/src/option/k3bexternalbinpermissionmodel.cpp:109:44 in /data/project/kde/k3b/libk3b/core/k3bexternalbinmanager.cpp:117:12: runtime error: member access within address 0x6020001c9ab0 which does not point to an object of type 'const K3b::ExternalBin' 0x6020001c9ab0: note: object has invalid vptr 2. AddressSanitizer: heap-use-after-free on address 0x6020001c9ab8 at pc 0x7f7f6d951526 bp 0x7ffe4852c8b0 sp 0x7ffe4852c8a8 READ of size 8 at 0x6020001c9ab8 thread T0 #0 0x7f7f6d951525 in K3b::ExternalBin::path() const /data/project/kde/k3b/libk3b/core/k3bexternalbinmanager.cpp:117:12 3. 0x6020001c9ab8 is located 8 bytes inside of 16-byte region [0x6020001c9ab0,0x6020001c9ac0) freed by thread T0 here: #0 0x58f5fb in operator delete(void*) /data/project/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:149:3 #1 0x7f7f6d9508f7 in K3b::ExternalBin::~ExternalBin() /data/project/kde/k3b/libk3b/core/k3bexternalbinmanager.cpp:74:1 4. previously allocated by thread T0 here: #0 0x58e99b in operator new(unsigned long) /data/project/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:92:3 #1 0x7f7f6d956482 in K3b::SimpleExternalProgram::scan(QString const&) /data/project/kde/k3b/libk3b/core/k3bexternalbinmanager.cpp:346:33 Workaround patch is remove delete to bring in Memory-leak issue, but I want to find the root cause instead! -- You are receiving this mail because: You are watching all bug changes.