MantisBT - CMake
View Issue Details
0013892CMake(No Category)public2013-02-04 18:562013-07-01 09:36
Orion E. Poplawski 
Brad King 
normalminoralways
closedfixed 
Linux
CMake 2.8.10.2 
CMake 2.8.11CMake 2.8.11 
0013892: Don't abort if current working directory is deleted
$ mkdir build
$ cd build
$ rm -rf ../build
$ cmake ..
No current working directory
Aborted (core dumped)

Please have cmake just exit without the abort and core dump. I get Fedora bug reports filed on this periodically.
No tags attached.
Issue History
2013-02-04 18:56Orion E. PoplawskiNew Issue
2013-02-05 06:32Rolf Eike BeerNote Added: 0032195
2013-02-05 08:40Brad KingNote Added: 0032196
2013-02-05 08:40Brad KingAssigned To => Brad King
2013-02-05 08:40Brad KingStatusnew => assigned
2013-02-05 08:40Brad KingTarget Version => CMake 2.8.11
2013-02-05 08:40Brad KingNote Edited: 0032196bug_revision_view_page.php?bugnote_id=32196#r1022
2013-02-08 09:28Brad KingNote Added: 0032221
2013-02-08 09:28Brad KingStatusassigned => resolved
2013-02-08 09:28Brad KingResolutionopen => fixed
2013-02-08 09:28Brad KingFixed in Version => CMake 2.8.11
2013-07-01 09:36Robert MaynardNote Added: 0033415
2013-07-01 09:36Robert MaynardStatusresolved => closed

Notes
(0032195)
Rolf Eike Beer   
2013-02-05 06:32   
It's the abort in Getcwd() in kwsys. Maybe this should be changed to exit(ENOENT) or something.
(0032196)
Brad King   
2013-02-05 08:40   
Thanks Eike. I've submitted a fix to upstream KWSys for testing:

 http://review.source.kitware.com/9619 [^]

(0032221)
Brad King   
2013-02-08 09:28   
Fixed:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9d66f743 [^]
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a943b5c4 [^]
(0033415)
Robert Maynard   
2013-07-01 09:36   
Closing resolved issues that have not been updated in more than 4 months.