View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008704CMakeCMakepublic2009-03-09 04:132009-03-12 19:26
ReporterKevin Kofler 
Assigned ToAlex Neundorf 
PrioritynormalSeveritycrashReproducibilityrandom
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0008704: CMake 2.6.2 and 2.6.3 (and possibly earlier versions) sometimes crash during the build of kdepimlibs
DescriptionCMake 2.6.2 and 2.6.3 (and possibly earlier versions) sometimes (mostly randomly, though under some conditions it can be reproduced quite reliably) crash during the build of kdepimlibs. This has been observed at least on the Fedora PPC64 builders - see https://bugzilla.redhat.com/show_bug.cgi?id=475876 [^] - and by a Debian user on x86_64.
Additional InformationWe have tracked down the problem in the referenced Fedora bug to be caused by the calls to ret.erase in cmIncludeDirectoryCommand::AddDirectory. The stopping criteria in the while loops are faulty.

Here's a 2-line patch which appears to fix the problem:
http://cvs.fedoraproject.org/viewvc/rpms/cmake/devel/cmake-2.6.3-%23475876.patch?revision=1.1&view=markup [^]
(I'm also attaching it to this report.)
TagsNo tags attached.
Attached Filespatch file icon cmake-2.6.3-#475876.patch [^] (723 bytes) 2009-03-09 04:13 [Show Content]

 Relationships

  Notes
(0015678)
Alex Neundorf (developer)
2009-03-12 19:26

Fixed in cvs HEAD with a slightly different patch.
Please try to verify that it works for you.

Alex

 Issue History
Date Modified Username Field Change
2009-03-09 04:13 Kevin Kofler New Issue
2009-03-09 04:13 Kevin Kofler File Added: cmake-2.6.3-#475876.patch
2009-03-12 19:26 Alex Neundorf Note Added: 0015678
2009-03-12 19:26 Alex Neundorf Assigned To => Alex Neundorf
2009-03-12 19:26 Alex Neundorf Status new => closed
2009-03-12 19:26 Alex Neundorf Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team