PR# 5041 IL Generation Error while compiling

Problem Report Summary
Submitter: peter_gummer
Category: EiffelStudio
Priority: High
Date: 2005/06/30
Class: Bug
Severity: Serious
Number: 5041
Release: 5.6.1023
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Synopsis: IL Generation Error while compiling

Description
I had been helping Manu track down the cause of problem report 4129.

After doing some investigation, I decided to clean up the header of the generic class from the original problem report, so I made a couple of minor changes during which I compiled a couple of times.

The IL generation error below appeared in the Output pane.

Compiling again produced this:

-------------------------------------------------------------------------------

IL Generation Error:
Cannot create PDB file associated to module:
C:\Eiffel\EasyReporting\Project-Publisher\EIFGEN\W_code\Publisher.exe.
System compilation aborted.

-------------------------------------------------------------------------------
Degree: 6 Processed: 40 To go: 0 Total: 40


The two errors kept alternating, even after exiting EiffelStudio and reopening the project. I had to delete EIFGEN and rebuild the project.
To Reproduce
-------------------------------------------------------------------------------

IL Generation Error:
-------------------------------------------------------------------------------
Class / Object      Routine                Nature of exception           Effect
-------------------------------------------------------------------------------
Invalid_object      is_il_external @1      Segmentation violation:      
<0000000000000000>  (From FEATURE_I)       Operating system signal.      Fail
-------------------------------------------------------------------------------
Invalid_object      is_il_external @1                                   
<0000000000000000>  (From FEATURE_I)       Routine failure.              Fail
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    define_feature_reference @7
<00000000069DDDE0>  (From CIL_CODE_GENERATOR)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
IL_MODULE           feature_token @3                                    
<0000000003B829A0>                         Routine failure.              Fail
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    feature_token @1       
<00000000069DDDE0>  (From CIL_CODE_GENERATOR)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    internal_generate_feature_access @4
<00000000069DDDE0>  (From CIL_CODE_GENERATOR)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    generate_feature_access @6
<00000000069DDDE0>  (From CIL_CODE_GENERATOR)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
FORMAL_I            generate_gen_type_il @5
<0000000003CCCD80>                         Routine failure.              Fail
-------------------------------------------------------------------------------
CREATE_FORMAL_TYPE  generate_il @2                                      
<0000000003CCCD90>                         Routine failure.              Fail
-------------------------------------------------------------------------------
CREATION_EXPR_B     generate_il @12                                     
<0000000003CCCDE0>                         Routine failure.              Fail
-------------------------------------------------------------------------------
ASSIGN_B            generate_il @3                                      
<0000000003CCCE08>                         Routine failure.              Fail
-------------------------------------------------------------------------------
BYTE_LIST           generate_il @4                                      
<0000000003CCD470>                         Routine failure.              Fail
-------------------------------------------------------------------------------
STD_BYTE_CODE       generate_il_body @57                                
<0000000003CCD490>  (From BYTE_CODE)       Routine failure.              Fail
-------------------------------------------------------------------------------
STD_BYTE_CODE       generate_il @5                                      
<0000000003CCD490>  (From BYTE_CODE)       Routine failure.              Fail
-------------------------------------------------------------------------------
DYN_PROC_I          generate_il @5                                      
<0000000003CC7690>  (From FEATURE_I)       Routine failure.              Fail
-------------------------------------------------------------------------------
CLASS_TYPE          generate_il_feature @2                              
<0000000005ECF050>                         Routine failure.              Fail
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    generate_feature_code @14
<00000000069DDDE0>  (From CIL_CODE_GENERATOR)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    generate_local_feature @7
<00000000069DDDE0>                         Routine failure.              Fail
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    generate_il_implementation_local @9
<00000000069DDDE0>                         Routine failure.              Fail
-------------------------------------------------------------------------------
INTERFACE_IL_CODE_GENERATOR
                    generate_il_implementation @16
<00000000069DDDE0>                         Routine failure.              Fail
-------------------------------------------------------------------------------
CIL_GENERATOR       generate_features_implementation @30
<0000000003C85180>                         Routine failure.              Fail
-------------------------------------------------------------------------------
CIL_GENERATOR       generate_types @8                                   
<0000000003C85180>                         Routine failure.              Fail
-------------------------------------------------------------------------------
CIL_GENERATOR       generate_all_types @8                               
<0000000003C85180>                         Routine failure.              Fail
-------------------------------------------------------------------------------
CIL_GENERATOR       generate @51                                        
<0000000003C85180>                         Routine failure.              Rescue
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
Degree: 1 Processed: 0 To go: 5 Total: 5
Problem Report Interactions
From:peter_gummer    Date:2005/06/30    Download   
From: Peter Gummer <pgummer@decisions-made-easy.com.au>
To: bugs@support.eiffel.com
Cc: 
Subject: RE: EiffelStudio/5041: IL Generation Error while compiling
Date: Fri, 1 Jul 2005 15:31:59 +1000 

 This message is in MIME format. Since your mail reader does not understand
 this format, some or all of this message may not be legible.
 
 ------_=_NextPart_001_01C57DFE.33C438F0
 Content-Type: text/plain
 
 The problem happened again. I can provoke it by various simple changes: very
 odd, but similar to problem report 4129. I have to rebuild the project to
 fix it, but then it happens again whenever I make a simple change. I've done
 this at least half a dozen times. It's very strange, because I was editing
 the class before without this happening. Maybe something got corrupted when
 I was testing 4129.
 
 - Peter
 
 -----Original Message-----
 From: bugs@support.eiffel.com [mailto:bugs@support.eiffel.com] 
 Sent: Friday, 1 July 2005 15:09
 To: pgummer@decisions-made-easy.com.au
 Subject: EiffelStudio/5041: IL Gen
....
Output truncated, Click download to get the full message