https://bugs.kde.org/show_bug.cgi?id=495261
Igor Kushnir <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REPORTED |CONFIRMED Ever confirmed|0 |1 --- Comment #32 from Igor Kushnir <[email protected]> --- (In reply to Matthew Woehlke from comment #31) > > See https://bugs.kde.org/show_bug.cgi?id=439592#c17. > > Thanks, that's helpful. I can now provide a much simpler test case. Copy > `Tests/RunCMake/Syntax/NullTerminatedArgument.cmake` from CMake's sources to > a `CMakeLists.txt` somewhere and try to load it as a project. I don't know > if this will *crash* a regular build of KDevelop, but it reproduces the asan > error without having to parse all of CMake. SIGABRT right after copying the contents of https://gitlab.kitware.com/cmake/cmake/-/blob/master/Tests/RunCMake/Syntax/NullTerminatedArgument.cmake into a CMakeLists.txt document open in KDevelop that belongs to an open project. Same after restarting KDevelop. The KDevelop output: free(): invalid next size (fast) The backtrace: #0 ??() at /usr/lib/libc.so.6 #1 raise() at /usr/lib/libc.so.6 #2 abort() at /usr/lib/libc.so.6 #3 ??() at /usr/lib/libc.so.6 #4 ??() at /usr/lib/libc.so.6 #5 ??() at /usr/lib/libc.so.6 #6 QMetaCallEvent::~QMetaCallEvent()() at /usr/lib/libQt6Core.so.6 #7 QMetaCallEvent::~QMetaCallEvent()() at /usr/lib/libQt6Core.so.6 #8 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)() at /usr/lib/libQt6Core.so.6 #9 ??() at /usr/lib/libQt6Core.so.6 #10 ??() at /usr/lib/libglib-2.0.so.0 #11 ??() at /usr/lib/libglib-2.0.so.0 #12 g_main_context_iteration() at /usr/lib/libglib-2.0.so.0 #13 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)() at /usr/lib/libQt6Core.so.6 #14 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)() at /usr/lib/libQt6Core.so.6 #15 QCoreApplication::exec()() at /usr/lib/libQt6Core.so.6 #16 main() at /path/to/kdevelop/app/main.cpp:836 I am too busy with other fixes and reviews to investigate further, but I'll be happy to review a merge request with a fix. -- You are receiving this mail because: You are watching all bug changes.
