PR# 13170 Internal Error compiling

Problem Report Summary
Submitter: peter_gummer
Category: EiffelStudio
Priority: High
Date: 2007/06/15
Class: Bug
Severity: Serious
Number: 13170
Release: 6.0.6.8996
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Synopsis: Internal Error compiling

Description
The Internal Error below appeared after I hit F7, after doing a minor edit of a comment. This is weird, because a successful compile had just occurred, and nothing significant had changed.

I clicked Ignore, but the items in the Project menu were disabled so I exited. On exiting, issue 13031 occurred again, for the second time today!
To Reproduce
******************************** Thread exception *****************************
In thread           Root thread            0x0 (thread id)
*******************************************************************************
-------------------------------------------------------------------------------
Class / Object      Routine                Nature of exception           Effect
-------------------------------------------------------------------------------
AST_FEATURE_CHECKER_GENERATOR
                    process_feature_as @4  Segmentation violation:
<000000000A5DD770>                         Operating system signal.      Fail
-------------------------------------------------------------------------------
AST_FEATURE_CHECKER_GENERATOR
                    process_feature_as @4  
<000000000A5DD770>                         Routine failure.              Fail
-------------------------------------------------------------------------------
Invalid_object      process @1                                          
<0000000000000000>  (From FEATURE_AS)      Routine failure.              Fail
-------------------------------------------------------------------------------
AST_FEATURE_CHECKER_GENERATOR
                    type_check_only @15    
<000000000A5DD770>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EIFFEL_CLASS_C      pass3 @105                                          
<000000000B812B40>                         Routine failure.              Rescue
-------------------------------------------------------------------------------
DEGREE_3            process_class @2                                    
<000000000A5D9598>                         Routine failure.              Fail
-------------------------------------------------------------------------------
DEGREE_3            execute @14                                         
<000000000A5D9598>                         Routine failure.              Fail
-------------------------------------------------------------------------------
SYSTEM_I            process_degree_3 @2                                 
<000000000DEF4740>                         Routine failure.              Rescue
-------------------------------------------------------------------------------
SYSTEM_I            do_recompilation @48                                
<000000000DEF4740>                         Routine failure.              Fail
-------------------------------------------------------------------------------
SYSTEM_I            recompile @6                                        
<000000000DEF4740>                         Routine failure.              Rescue
-------------------------------------------------------------------------------
WORKBENCH_I         recompile @21                                       
<000000000A03DC38>                         Routine failure.              Rescue
-------------------------------------------------------------------------------
E_PROJECT           melt @6                                             
<0000000009FE9220>                         Routine failure.              Rescue
-------------------------------------------------------------------------------
E_PROJECT           quick_melt @3                                       
<0000000009FE9220>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    perform_compilation @1 
<0000000009B08368>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    compile @4             
<0000000009B08368>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    compile_and_run @1     
<0000000009B08368>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    confirm_execution_halt @2
<0000000009B08368>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    confirm_and_compile @1 
<0000000009B08368>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    compile_no_save @2     
<0000000009B08368>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    save_and_compile @2    
<0000000009B08368>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_DISCARDABLE_CONFIRMATION_DIALOG
                    show_modal_to_window @3
<0000000005423698>  (From DISCARDABLE_CONFIRMATION_DIALOG)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    execute_with_c_compilation_flag @13
<0000000009B08368>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    go_on_compile @2       
<0000000009B08368>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
                    execute @7             
<0000000009B08368>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EV_NOTIFY_ACTION_SEQUENCE
                    call @21               
<0000000009B082A0>  (From ACTION_SEQUENCE) Routine failure.              Fail
-------------------------------------------------------------------------------
EV_NOTIFY_ACTION_SEQUENCE
                    call @3                
<0000000009B082A0>  (From EV_LITE_ACTION_SEQUENCE)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
EV_TITLED_WINDOW_IMP
                    on_accelerator_command @1
<000000000BC25AE0>  (From EV_WINDOW_IMP)   Routine failure.              Fail
-------------------------------------------------------------------------------
EV_TITLED_WINDOW_IMP
                    on_wm_command @18      
<000000000BC25AE0>  (From WEL_COMPOSITE_WINDOW)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
EV_TITLED_WINDOW_IMP
                    process_message @8     
<000000000BC25AE0>  (From WEL_COMPOSITE_WINDOW)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
WEL_DISPATCHER      window_procedure @7                                 
<0000000009FE7548>  (From WEL_ABSTRACT_DISPATCHER)
                                           Routine failure.              Retry
===============================================================================
Problem Report Interactions
From:peter_gummer    Date:2007/06/15    Download   
This is very bad. After exiting and restarting EiffelStudio, I hit F7 again. The same internal error occurred.

This time I clicked the Restart button. When the start-up dialog appeared, I selected Freeze from the combo box. Again the same error occurred.

I clicked the Restart button again. This time in the start-up dialog I selected Freeze and Clean. A "Configuration Loading Error" dialog appeared: "Cannot create project in ... You may try again after fixing the permissions." I didn't have that directory open as far as I was aware, so I checked Process Explorer. It found TortoiseProc, and then I realised what the cause was: just before the first failed compilation, I had run an external command:

start tortoiseproc /command:log /path:"$file_name" /notempfile

This was still running, and it had the project's directory open for some reason. I closed the Tortoise Log window and then tried Freeze and Clean again. This time it succeeded.