[cmake-developers] [CMake 0012610]: Uncaught exception in automoc logic on a specific CMakeLists.txt

Mantis Bug Tracker mantis at public.kitware.com
Tue Dec 6 16:50:50 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12610 
====================================================================== 
Reported By:                Georg Rudoy
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12610
Category:                   CMake
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-12-06 16:50 EST
Last Modified:              2011-12-06 16:50 EST
====================================================================== 
Summary:                    Uncaught exception in automoc logic on a specific
CMakeLists.txt
Description: 
When 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 Reproduce: 
1. Run CMake over the CMakeLists.txt from the attachment.
2. Get the uncaught exception.

Additional Information: 
The 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.
====================================================================== 

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                    
======================================================================




More information about the cmake-developers mailing list