View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012610CMakeCMakepublic2011-12-06 16:502012-01-04 14:59
ReporterGeorg Rudoy 
Assigned ToAlex Neundorf 
PrioritynormalSeveritycrashReproducibilitysometimes
StatusclosedResolutionno change required 
PlatformLinuxOSGentoo LinuxOS VersionAMD64
Product VersionCMake 2.8.7 
Target VersionFixed in Version 
Summary0012610: Uncaught exception in automoc logic on a specific CMakeLists.txt
DescriptionWhen running CMake over the given CMakeLists.txt (see the attachment), it fails in cmQtAutomoc::SetupAutomocTarget(cmTarget*).

The issue fails to reproduce with any other CMakeLists.txt I've tried (so there is no sane minimal reproducing example, sorry), but it always reproduces with this CMakeLists.txt.
Steps To Reproduce1. Run CMake over the CMakeLists.txt from the attachment.
2. Get the uncaught exception.
Additional InformationThe whole app is available at git://github.com/0xd34df00d/leechcraft.git [^] , the CMakeLists.txt in question is at /src/plugins/azoth/plugins/acetamide/ in that repo. The commit hash where this is observed is 9ce67f2958e695e6a616f14ab52568be99ae296e. It hasn't been observed earlier, since that CMakeLists.txt had no support for being ran over directly until this commit.

I'm using gcc 4.5.3 and Qt 4.8 from their master.

There are CMake output, backtrace and CMakeLists.txt in question in the attachment, as well as a couple of files it uses.
TagsNo tags attached.
Attached Filesbz2 file icon issue.tar.bz2 [^] (3,124 bytes) 2011-12-06 16:50

 Relationships

  Notes
(0027929)
Alex Neundorf (developer)
2011-12-06 17:00

Can you please check whether this still happens with the current master branch (or cmake 2.8.7 RC1 which will be released very soon) ?
I fixed a similar problem already, maybe yours is fixed too by this.

Alex
(0027944)
Alex Neundorf (developer)
2011-12-11 10:40

Please check cmake 2.8.7rc1, it includes a fix for a crash in cmQtAutomoc::SetupAutomocTargets(), caused by an empty string.

Please let me know if that works for you or not.

Alex
(0028169)
Alex Neundorf (developer)
2012-01-04 14:59

This has been already fixed for 2.8.7.
Feel free to reopen this bug if you can reproduce this crash with cmake 2.8.7.

Alex

 Issue History
Date Modified Username Field Change
2011-12-06 16:50 Georg Rudoy New Issue
2011-12-06 16:50 Georg Rudoy File Added: issue.tar.bz2
2011-12-06 16:59 Alex Neundorf Assigned To => Alex Neundorf
2011-12-06 16:59 Alex Neundorf Status new => assigned
2011-12-06 17:00 Alex Neundorf Note Added: 0027929
2011-12-11 10:40 Alex Neundorf Note Added: 0027944
2012-01-04 14:59 Alex Neundorf Note Added: 0028169
2012-01-04 14:59 Alex Neundorf Status assigned => closed
2012-01-04 14:59 Alex Neundorf Resolution open => no change required
2012-01-04 14:59 Alex Neundorf Product Version CMake 2.8.6 => CMake 2.8.7


Copyright © 2000 - 2018 MantisBT Team