Description of problem: The crash occurs when building WebKit trunk, e.g. r238291 (or git: 9d8c5e02eaf09fc399aef57eb556f000c5ed4bec) The problem occurs since Fedora 29. Upstream binaries from https://cmake.org/download/ work just fine. Version-Release number of selected component: cmake-3.12.1-1.fc29 Additional info: reporter: libreport-2.9.6 backtrace_rating: 4 cmdline: cmake -DPORT=GTK -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug -G Eclipse CDT4 - Ninja -DDEVELOPER_MODE=ON -DENABLE_EXPERIMENTAL_FEATURES=ON /webkit crash_function: cmGeneratorTarget::IsSystemIncludeDirectory executable: /usr/bin/cmake journald_cursor: s=2482529c5c444f7ba49b3c67a23f96b9;i=5ba53;b=68e4c201b80f4d6a8cd19356cfb1745b;m=35244cf3a;t=57ace2d817543;x=411b8612d8b75491 kernel: 4.18.18-300.fc29.x86_64 rootdir: / runlevel: N 5 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (10 frames) #4 cmGeneratorTarget::IsSystemIncludeDirectory at /usr/include/c++/8/bits/stl_vector.h:1654 #5 cmLocalGenerator::<lambda(const string&, const string&)>::operator() at /usr/src/debug/cmake-3.12.1-1.fc29.x86_64/Source/cmLocalGenerator.cxx:216 #6 __gnu_cxx::__ops::_Iter_comp_iter<cmLocalGenerator::MoveSystemIncludesToEnd(std::vector<std::__cxx11::basic_string<char> >&, const string&, const string&, const cmGeneratorTarget*) const::<lambda(const string&, const string&)> >::operator()<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >, __gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > > > at /usr/include/c++/8/bits/predefined_ops.h:143 #7 std::__insertion_sort<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >, __gnu_cxx::__ops::_Iter_comp_iter<cmLocalGenerator::MoveSystemIncludesToEnd(std::vector<std::__cxx11::basic_string<char> >&, const string&, const string&, const cmGeneratorTarget*) const::<lambda(const string&, const string&)> > >(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, __gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, __gnu_cxx::__ops::_Iter_comp_iter<cmLocalGenerator::MoveSystemIncludesToEnd(std::vector<std::__cxx11::basic_string<char> >&, const string&, const string&, const cmGeneratorTarget*) const::<lambda(const string&, const string&)> >) at /usr/include/c++/8/bits/stl_algo.h:1847 #8 std::__chunk_insertion_sort<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >, long int, __gnu_cxx::__ops::_Iter_comp_iter<cmLocalGenerator::MoveSystemIncludesToEnd(std::vector<std::__cxx11::basic_string<char> >&, const string&, const string&, const cmGeneratorTarget*) const::<lambda(const string&, const string&)> > > at /usr/include/c++/8/bits/stl_iterator.h:783 #9 std::__merge_sort_with_buffer<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >, std::__cxx11::basic_string<char>*, __gnu_cxx::__ops::_Iter_comp_iter<cmLocalGenerator::MoveSystemIncludesToEnd(std::vector<std::__cxx11::basic_string<char> >&, const string&, const string&, const cmGeneratorTarget*) const::<lambda(const string&, const string&)> > >(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, __gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > *, __gnu_cxx::__ops::_Iter_comp_iter<cmLocalGenerator::MoveSystemIncludesToEnd(std::vector<std::__cxx11::basic_string<char> >&, const string&, const string&, const cmGeneratorTarget*) const::<lambda(const string&, const string&)> >) at /usr/include/c++/8/bits/stl_algo.h:2716 #10 std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >, std::__cxx11::basic_string<char>*, long int, __gnu_cxx::__ops::_Iter_comp_iter<cmLocalGenerator::MoveSystemIncludesToEnd(std::vector<std::__cxx11::basic_string<char> >&, const string&, const string&, const cmGeneratorTarget*) const::<lambda(const string&, const string&)> > >(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, __gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > *, long, __gnu_cxx::__ops::_Iter_comp_iter<cmLocalGenerator::MoveSystemIncludesToEnd(std::vector<std::__cxx11::basic_string<char> >&, const string&, const string&, const cmGeneratorTarget*) const::<lambda(const string&, const string&)> >) at /usr/include/c++/8/bits/stl_iterator.h:966 #11 std::__stable_sort<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >, __gnu_cxx::__ops::_Iter_comp_iter<cmLocalGenerator::MoveSystemIncludesToEnd(std::vector<std::__cxx11::basic_string<char> >&, const string&, const string&, const cmGeneratorTarget*) const::<lambda(const string&, const string&)> > > at /usr/include/c++/8/bits/stl_algo.h:4992 #12 std::stable_sort<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >, cmLocalGenerator::MoveSystemIncludesToEnd(std::vector<std::__cxx11::basic_string<char> >&, const string&, const string&, const cmGeneratorTarget*) const::<lambda(const string&, const string&)> > at /usr/include/c++/8/bits/stl_algo.h:5075 #13 cmLocalGenerator::MoveSystemIncludesToEnd at /usr/src/debug/cmake-3.12.1-1.fc29.x86_64/Source/cmLocalGenerator.cxx:213
Created attachment 1506554 [details] File: backtrace
Created attachment 1506555 [details] File: cgroup
Created attachment 1506556 [details] File: core_backtrace
Created attachment 1506557 [details] File: cpuinfo
Created attachment 1506558 [details] File: dso_list
Created attachment 1506559 [details] File: environ
Created attachment 1506560 [details] File: limits
Created attachment 1506561 [details] File: maps
Created attachment 1506562 [details] File: mountinfo
Created attachment 1506563 [details] File: open_fds
Created attachment 1506564 [details] File: proc_pid_status
The crash is reproducible every time when using Fedora 29's packaged CMake in both my recently updated desktop and laptop. Output at the time of the crash: [...] -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-sign-compare -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-sign-compare - Success -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-dangling-else -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-dangling-else - Success -- Platform-specific CMakeLists not found: /webkit/PerformanceTests/MallocBench/MallocBench/PlatformGTK.cmake -- Platform-specific CMakeLists not found: /webkit/PerformanceTests/PlatformGTK.cmake -- Enabled features: -- ENABLE_ACCELERATED_2D_CANVAS .......... OFF -- ENABLE_BUBBLEWRAP_SANDBOX ON -- ENABLE_DRAG_SUPPORT ................... ON -- ENABLE_GEOLOCATION ON -- ENABLE_GLES2 .......................... OFF -- ENABLE_GTKDOC OFF -- ENABLE_ICONDATABASE ................... ON -- ENABLE_INTROSPECTION ON -- ENABLE_JIT ............................ ON -- ENABLE_MEDIA_SOURCE ON -- ENABLE_MINIBROWSER .................... ON -- ENABLE_OPENGL ON -- ENABLE_PLUGIN_PROCESS_GTK2 ............ ON -- ENABLE_QUARTZ_TARGET OFF -- ENABLE_SAMPLING_PROFILER .............. ON -- ENABLE_SPELLCHECK ON -- ENABLE_TOUCH_EVENTS ................... ON -- ENABLE_VIDEO ON -- ENABLE_WAYLAND_TARGET ................. ON -- ENABLE_WEBDRIVER ON -- ENABLE_WEB_AUDIO ...................... ON -- ENABLE_WEB_CRYPTO ON -- ENABLE_X11_TARGET ..................... ON -- USE_LIBHYPHEN ON -- USE_LIBNOTIFY ......................... ON -- USE_LIBSECRET ON -- USE_SYSTEM_MALLOC ..................... OFF -- USE_WOFF2 ON -- Configuring done CMake Warning in CMakeLists.txt: The build directory is a subdirectory of the source directory. This is not supported well by Eclipse. It is strongly recommended to use a build directory which is a sibling of the source directory. cmake: /builddir/build/BUILD/cmake-3.12.1/Source/cmGeneratorTarget.cxx:746: bool cmGeneratorTarget::IsSystemIncludeDirectory(const string&, const string&, const string&) const: Assertion `this->GetType() != cmStateEnums::INTERFACE_LIBRARY' failed.
FEDORA-2019-0e802c1590 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0e802c1590
cmake-3.14.5-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-0e802c1590
cmake-3.14.5-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-c88e6fbfba
cmake-3.14.5-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
cmake-3.14.5-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.