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

Loïc Yhuel <loic.yh...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
                 CC|                            |loic.yh...@gmail.com
         Resolution|---                         |DUPLICATE

--- Comment #1 from Loïc Yhuel <loic.yh...@gmail.com> ---
Same as https://bugs.kde.org/show_bug.cgi?id=408797, with a better stack.

QCoreGlobalData::~QCoreGlobalData calls free(0x7ffdef787608), this is a delete
of a QTextCodec*.
The KIOSlaveBase (ie the FileProtocol) address is 0x7ffdef787640, so
0x7ffdef787608 is very likely to be the address of the LegacyCodec declared
just before
(https://cgit.kde.org/kio.git/tree/src/ioslaves/file/file.cpp#n112).

The LegacyCodec is still in the valid stack (unlike the other variant
https://bugs.kde.org/show_bug.cgi?id=411441), so its contents were intact and
its destructor didn't crash.
But then free isn't happy since the address is on the stack, not allocated.

*** This bug has been marked as a duplicate of bug 408797 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to