PR# 11471 IL Generation Error

Problem Report Summary
Submitter: peter_gummer
Category: EiffelStudio
Priority: High
Date: 2006/10/02
Class: Bug
Severity: Serious
Number: 11471
Release: 5.7.63909
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Synopsis: IL Generation Error

Description
The IL generation error below appeared in the Errors pane near the end of compilation.

I had just added INTEGER_32_REF to an override cluster. Its implementation is identical to the original, except that I've added an alias:

class
	INTEGER_32_REF
alias
	"openehr.base.kernel.INTEGER"

I made a mistake: it should be INTEGER_REF. I'm not sure whether this is why the IL generation error occurred.
To Reproduce
-------------------------------------------------------------------------------

IL Generation Error:
******************************** Thread exception *****************************
In thread           Root thread            0x0 (thread id)
*******************************************************************************
-------------------------------------------------------------------------------
Class / Object      Routine                Nature of exception           Effect
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    define_feature_reference @5
                                           Segmentation violation:
<00000000090F1A18>  (From CIL_CODE_GENERATOR)
                                           Operating system signal.      Fail
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    define_feature_reference @5
<00000000090F1A18>  (From CIL_CODE_GENERATOR)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
IL_MODULE           feature_token @3                                    
<0000000009E66D60>                         Routine failure.              Fail
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    feature_token @1       
<00000000090F1A18>  (From CIL_CODE_GENERATOR)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    internal_generate_feature_access @4
<00000000090F1A18>  (From CIL_CODE_GENERATOR)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    generate_feature_access @6
<00000000090F1A18>  (From CIL_CODE_GENERATOR)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    generate_type_feature_call @12
<00000000090F1A18>  (From CIL_CODE_GENERATOR)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
FORMAL_I            generate_gen_type_il @1
<0000000009BAC5F0>                         Routine failure.              Fail
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    generate_type_feature @42
<00000000090F1A18>  (From CIL_CODE_GENERATOR)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    generate_il_type_features @4
<00000000090F1A18>                         Routine failure.              Fail
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    generate_il_features @7
<00000000090F1A18>                         Routine failure.              Fail
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    generate_il_implementation @5
<00000000090F1A18>                         Routine failure.              Fail
-------------------------------------------------------------------------------
CIL_GENERATOR       generate_features_implementation @30
<0000000010204BE0>                         Routine failure.              Fail
-------------------------------------------------------------------------------
CIL_GENERATOR       generate_types @8                                   
<0000000010204BE0>                         Routine failure.              Fail
-------------------------------------------------------------------------------
CIL_GENERATOR       generate_all_types @8                               
<0000000010204BE0>                         Routine failure.              Fail
-------------------------------------------------------------------------------
CIL_GENERATOR       generate @53                                        
<0000000010204BE0>                         Routine failure.              Rescue
-------------------------------------------------------------------------------

Problem Report Interactions
From:peter_gummer    Date:2006/10/02    Download   
I forgot to mention that this occurred while finalising, keeping assertions.