Red Hat Bugzilla – Bug 1254815
[abrt] cmake: operator new(): cmake killed by SIGSEGV
Last modified: 2015-08-19 11:22:50 EDT
Description of problem:
ran cmake for dlib project after addign a FindOpenCV.cmake
Version-Release number of selected component:
cmdline: cmake ..
crash_function: operator new
runlevel: N 5
Potential duplicate: bug 1035624
Created attachment 1064563 [details]
Created attachment 1064564 [details]
Created attachment 1064565 [details]
Created attachment 1064566 [details]
Created attachment 1064567 [details]
Created attachment 1064568 [details]
Created attachment 1064569 [details]
Created attachment 1064570 [details]
Created attachment 1064571 [details]
Created attachment 1064572 [details]
Can you give a bit more details of what you did? Looks like there may be some king of recursion going on, perhaps by having the FindOpenCV.cmake file in the out of tree build directory?
Yes it could be. OpenCV cmake file was not found, so I copied a version of it to the `build` directory and then exported the `build` directory to `CMAKE_MODULE_PATH` (and in my tries to see what works I think also `CMAKE_PREFIX_PATH`).
Yeah, you really want to start with an empty build directory. No source files there. Let me know how that goes.
It works that way :) but is a core dump normal otherwise? i.e. is there no other way to avoid the recursion, I had never seen cmake crash.
Obviously a core dump is not ideal, but your usage was pretty far outside of normal as well. So I'm not sure it's worth spending too much more time on it.