PR# 12548 Exception rebuilding on top of a 5.7 EIFGENS

Problem Report Summary
Submitter: peter_gummer
Category: Compiler
Priority: Medium
Date: 2007/04/27
Class: Bug
Severity: Serious
Number: 12548
Release: 6.0.6.7948
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Synopsis: Exception rebuilding on top of a 5.7 EIFGENS

Description
I have a project that I had partially finalized in 5.7. (It was not able to finalize completely because the linker was unable to find a lib in a relative path.)

To see if 6.0 would link successfully, I issued the following from the command line (without deleting the EIFGENs directory):

ec -batch -config foo.ecf -target foo -finalize -c_compile

Late in the compilation, immediately after printing out some warnings, the exception below occurred.

I then deleted the EIFGENs directory and ran the same command line again. This time there was no exception (although linking failed in the same way as it did in 5.7).
To Reproduce
ec: PANIC: Unexpected harmful signal (Segmentation violation) ...

ec: system execution failed.
Following is the set of recorded exceptions.
NB: The raised panic may have induced completely inconsistent information:

******************************** Thread exception *****************************
In thread           Root thread            0x0 (thread id)
*******************************************************************************
-------------------------------------------------------------------------------
Class / Object      Routine                Nature of exception           Effect
-------------------------------------------------------------------------------
BREAK_LIST          correct_mismatch @90680816
                                           Unexpected harmful signal (Segmentation violation):
<0000000005619E20>  (From HASH_TABLE)      Eiffel run-time panic.        Panic
-------------------------------------------------------------------------------
BREAK_LIST          correct_mismatch @12
<0000000005619E20>  (From HASH_TABLE)      Routine failure.              Panic
-------------------------------------------------------------------------------
BREAK_LIST          internal_correct_mismatch @3
<0000000005619E20>  (From ANY)             Routine failure.              Panic
-------------------------------------------------------------------------------
RAW_FILE            retrieved @2
<0000000005619820>  (From FILE)            Routine failure.              Panic
-------------------------------------------------------------------------------
DEBUGGER_DATA       load @5
<00000000056192B0>                         Routine failure.              Panic
-------------------------------------------------------------------------------
TTY_DEBUGGER_MANAGER
                    load_debugger_data @3
<0000000005619138>  (From DEBUGGER_MANAGER)
                                           Routine failure.              Panic
-------------------------------------------------------------------------------
EB_PROJECT_MANAGER  on_project_loaded @1
<00000000067E2920>                         Routine failure.              Panic
-------------------------------------------------------------------------------
E_PROJECT           melt @10
<000000000607AE60>                         Routine failure.              Panic
-------------------------------------------------------------------------------
E_PROJECT           finalize @2
<000000000607AE60>                         Routine failure.              Panic
-------------------------------------------------------------------------------
EWB_FINALIZE        perform_compilation @3
<0000000005FB84A8>                         Routine failure.              Panic
-------------------------------------------------------------------------------
EWB_FINALIZE        compile @3
<0000000005FB84A8>  (From EWB_COMP)        Routine failure.              Panic
-------------------------------------------------------------------------------
EWB_FINALIZE        execute @5
<0000000005FB84A8>                         Routine failure.              Panic
-------------------------------------------------------------------------------
ES                  execute @43
<0000000005FD5468>                         Routine failure.              Panic
-------------------------------------------------------------------------------
ES                  make @8
<0000000005FD5468>                         Routine failure.              Panic
-------------------------------------------------------------------------------
EB_KERNEL           make @22
<0000000005FD5330>                         Routine failure.              Panic
-------------------------------------------------------------------------------
EB_KERNEL           root's creation
<0000000005FD5330>                         Routine failure.              Bye
-------------------------------------------------------------------------------
Problem Report Interactions