PR# 11766 Crash from scratch when checking code involving complex inheritance tree of generics

Problem Report Summary
Submitter: manus_eiffel
Category: Compiler
Priority: Low
Date: 2006/12/22
Class: Bug
Severity: Serious
Number: 11766
Release: 6.0x
Confidential: No
Status: Closed
Responsible:
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Synopsis: Crash from scratch when checking code involving complex inheritance tree of generics

Description
Compiling from scratch a project you may get:

******************************** Thread exception *****************************
In thread           Root thread            0x0 (thread id)
*******************************************************************************
-------------------------------------------------------------------------------
Class / Object      Routine                Nature of exception           Effect
-------------------------------------------------------------------------------
GEN_TYPE_A          instantiate @3         Segmentation violation:      
<0000000007D17628>                         Operating system signal.      Fail
-------------------------------------------------------------------------------
GEN_TYPE_A          instantiate @3                                      
<0000000007D17628>                         Routine failure.              Fail
-------------------------------------------------------------------------------
GEN_TYPE_A          instantiate @15                                     
<0000000007D17628>                         Routine failure.              Fail
-------------------------------------------------------------------------------
GEN_TYPE_A          parent_type @1                                      
<0000000007D17628>                         Routine failure.              Fail
-------------------------------------------------------------------------------
GEN_TYPE_A          generic_conform_to @5                               
<0000000007D17628>  (From CL_TYPE_A)       Routine failure.              Fail
-------------------------------------------------------------------------------
GEN_TYPE_A          valid_generic @11                                   
<000000001E5EDDD8>                         Routine failure.              Fail
-------------------------------------------------------------------------------
GEN_TYPE_A          conform_to @8                                       
<0000000007D17628>  (From CL_TYPE_A)       Routine failure.              Fail
-------------------------------------------------------------------------------
GEN_TYPE_A          generic_conform_to @6                               
<0000000007D176B8>  (From CL_TYPE_A)       Routine failure.              Fail
-------------------------------------------------------------------------------
GEN_TYPE_A          valid_generic @11                                   
<000000001E5EDDD8>                         Routine failure.              Fail
-------------------------------------------------------------------------------
GEN_TYPE_A          conform_to @8                                       
<0000000007D176B8>  (From CL_TYPE_A)       Routine failure.              Fail
-------------------------------------------------------------------------------
CL_TYPE_A           generic_conform_to @6                               
<0000000007BFD7D8>                         Routine failure.              Fail
-------------------------------------------------------------------------------
GEN_TYPE_A          valid_generic @11                                   
<000000001E5EDDD8>                         Routine failure.              Fail
-------------------------------------------------------------------------------
CL_TYPE_A           conform_to @8                                       
<0000000007BFD7D8>                         Routine failure.              Fail
-------------------------------------------------------------------------------
DYN_PROC_I          check_signature @33                                 
<0000000007BFD6A8>  (From FEATURE_I)       Routine failure.              Fail
-------------------------------------------------------------------------------
REDEFINITION        check_list @5                                       
<0000000007D0BBD8>  (From DEFINITION)      Routine failure.              Fail
-------------------------------------------------------------------------------
REDEFINITION        check_adaptation @8                                 
<0000000007D0BBD8>  (From DEFINITION)      Routine failure.              Fail
-------------------------------------------------------------------------------
REDEFINITION        check_adaptation @1                                 
<0000000007D0BBD8>                         Routine failure.              Fail
-------------------------------------------------------------------------------
INHERIT_TABLE       check_validity3 @3                                  
<000000001782CD28>                         Routine failure.              Fail
-------------------------------------------------------------------------------
INHERIT_TABLE       pass2 @37                                           
<000000001782CD28>                         Routine failure.              Rescue
-------------------------------------------------------------------------------
DEGREE_4            process_class @10                                   
<0000000008F95B18>                         Routine failure.              Fail
-------------------------------------------------------------------------------
DEGREE_4            execute @23                                         
<0000000008F95B18>                         Routine failure.              Fail
-------------------------------------------------------------------------------
SYSTEM_I            process_degree_4 @1                                 
<000000000D7C08C8>                         Routine failure.              Fail
-------------------------------------------------------------------------------
SYSTEM_I            do_recompilation @44                                
<000000000D7C08C8>                         Routine failure.              Fail
-------------------------------------------------------------------------------
SYSTEM_I            recompile @6                                        
<000000000D7C08C8>                         Routine failure.              Rescue
-------------------------------------------------------------------------------
WORKBENCH_I         recompile @25                                       
<000000000D74B808>                         Routine failure.              Rescue
-------------------------------------------------------------------------------
E_PROJECT           melt @5                                             
<0000000008FDD608>                         Routine failure.              Rescue
-------------------------------------------------------------------------------
E_PROJECT           quick_melt @3                                       
<0000000008FDD608>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    perform_compilation @1 
<000000000C90DA18>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    compile @5             
<000000000C90DA18>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    compile_and_run @1     
<000000000C90DA18>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    confirm_execution_halt @2
<000000000C90DA18>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    confirm_and_compile @1 
<000000000C90DA18>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    compile_no_save @2     
<000000000C90DA18>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    execute_with_c_compilation_flag @14
<000000000C90DA18>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    go_on_compile @2       
<000000000C90DA18>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    execute @4             
<000000000C90DA18>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EV_NOTIFY_ACTION_SEQUENCE
                    call @21               
<000000000C8F4048>  (From ACTION_SEQUENCE) Routine failure.              Fail
-------------------------------------------------------------------------------
EV_NOTIFY_ACTION_SEQUENCE
                    call @3                
<000000000C8F4048>  (From EV_LITE_ACTION_SEQUENCE)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
EV_APPLICATION_IMP  process_event_queue @14
<000000000C8F3D58>  (From EV_APPLICATION_I)
                                           Routine failure.              Retry
===============================================================================

To Reproduce
Not yet reproducible. Eweasel test to come.
Problem Report Interactions
From:manus_eiffel    Date:2006/12/22    Status: Closed    Download   
This is fixed in rev#65726.

From:manus_eiffel    Date:2006/12/22    Status: Analyzed    Download   
Added eweasel test#term146 for reproducing the problem.