[CMake] CMake 2.8.8 : Reproducible Crash in Mac OS X 10.8

Jerry Krinock jerry at sheepsystems.com
Wed Aug 8 18:08:17 EDT 2012


On 2012 Aug 08, at 07:52, Bill Hoffman <bill.hoffman at kitware.com> wrote:

> On 8/8/2012 1:32 AM, Jerry Krinock wrote:
>> Upon upgrading to CMake 2.8.8 and Mac OS X 10.8, CMake crashes raises an exception and crashes repeatably.
> 1. Does the current RC have this issue?

Thank you, Bill.  I don't know.

> 2. Is the thing you are compiling open source?  Can you give instructions on how to build and reproduce the error?

I have since learned that the crash only occurs if I leave my old build directory (the product of CMake 2.8.7 on Mac OS X 10.7) in place.  If I remove the old build directory before invoking CMake 2.8.8, then CMake 2.8.8 does not crash, although unfortunately there are other issues :(

The thing I am building is an NPAPI Plugin based on Firebreath.  Firebreath is open source, and although the code I add is not open source, I can publish it freely.

> 3. Can you build cmake with debug, and run it in gdb and give a full call stack?

Usually when I try to build an open source project it takes me a long time to get it working, and I'm not always successful.  I'd rather not.

* * *

Although I have already worked around the problem by removing my old build directory, if Kitware wants to pursue this further, I shall try to zip up all needed files and send to you with instructions how to reproduce.  Before doing that, if someone would send me a Mac OS X binary of the latest RC, built with symbols unstripped if desired, I'll use that.  I presume that the CMake.app application is just a little GUI wrapper around use/bin/cmake, and that I only need the 'cmake' binary?

All that being said, you also realize that the crash report I posted earlier can by symbolized using gdb if someone archived the .dSYM file before shipping :)


More information about the CMake mailing list