PR# 13107 Internal Error invoking autocompletion
Problem Report Summary
Submitter: peter_gummer
Category: EiffelStudio
Priority: High
Date: 2007/06/11
Class: Bug
Severity: Critical
Number: 13107
Release: 6.0.6.8996
Confidential: No
Status: Closed
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 invoking autocompletion
Description
I was entering a line of code into a class. I then hit F1, which is my shortcut for autocompletion. A dialog popped up saying that there was an unexpected error and that it was going to back up my changes. I hit OK, and the Internal Error below appeared. I hit Quit. I restarted EiffelStudio and reopened the project. I opened the class that I had been working on. A sequence of dialogs appeared asking if I wanted to restore my class, to which I replied OK. An error then appeared, saying that my class's file did not exist. Looking at the directory in Windows Explorer, the class's file had been deleted! The swap file was not there either!
To Reproduce
******************************** Thread exception ***************************** In thread Root thread 0x0 (thread id) ******************************************************************************* ------------------------------------------------------------------------------- Class / Object Routine Nature of exception Effect ------------------------------------------------------------------------------- CL_TYPE_A instantiation_of @5 Segmentation violation: <000000000A16DBF0> Operating system signal. Fail ------------------------------------------------------------------------------- CL_TYPE_A instantiation_of @5 <000000000A16DBF0> Routine failure. Fail ------------------------------------------------------------------------------- CL_TYPE_A instantiation_in @3 <000000000A036648> Routine failure. Fail ------------------------------------------------------------------------------- EB_CLICK_AND_COMPLETE_TOOL move_to_next_target @20 <000000000A1F33D8> (From EB_CLASS_INFO_ANALYZER) Routine failure. Fail ------------------------------------------------------------------------------- EB_CLICK_AND_COMPLETE_TOOL searched_type @105 <000000000A1F33D8> (From EB_CLASS_INFO_ANALYZER) Routine failure. Fail ------------------------------------------------------------------------------- EB_CLICK_AND_COMPLETE_TOOL class_c_to_complete_from @35 <000000000A1F33D8> (From EB_COMPLETE_INFO_ANALYZER) Routine failure. Fail ------------------------------------------------------------------------------- EB_CLICK_AND_COMPLETE_TOOL class_c_to_complete_from @18 <000000000A1F33D8> (From EB_COMPLETE_INFO_ANALYZER) Routine failure. Fail ------------------------------------------------------------------------------- EB_CLICK_AND_COMPLETE_TOOL class_c_to_complete_from @18 <000000000A1F33D8> (From EB_COMPLETE_INFO_ANALYZER) Routine failure. Fail ------------------------------------------------------------------------------- EB_CLICK_AND_COMPLETE_TOOL class_c_to_complete_from @18 <000000000A1F33D8> (From EB_COMPLETE_INFO_ANALYZER) Routine failure. Fail ------------------------------------------------------------------------------- EB_CLICK_AND_COMPLETE_TOOL class_c_to_complete_from @24 <000000000A1F33D8> (From EB_COMPLETE_INFO_ANALYZER) Routine failure. Fail ------------------------------------------------------------------------------- EB_CLICK_AND_COMPLETE_TOOL build_completion_list @21 <000000000A1F33D8> (From EB_COMPLETE_INFO_ANALYZER) Routine failure. Fail ------------------------------------------------------------------------------- EB_CLICK_AND_COMPLETE_TOOL build_completion_list @5 <000000000A1F33D8> Routine failure. Fail ------------------------------------------------------------------------------- SMART_TEXT prepare_auto_complete @5 <000000000A1E6C08> Routine failure. Fail ------------------------------------------------------------------------------- SMART_TEXT prepare_completion @5 <000000000A1E6C08> Routine failure. Fail ------------------------------------------------------------------------------- EB_SMART_EDITOR prepare_auto_complete @1 <000000000A1E2858> (From CODE_COMPLETABLE) Routine failure. Fail ------------------------------------------------------------------------------- EB_SMART_EDITOR prepare_auto_complete @2 <000000000A1E2858> Routine failure. Fail ------------------------------------------------------------------------------- EB_SMART_EDITOR complete_code @3 <000000000A1E2858> (From CODE_COMPLETABLE) Routine failure. Fail ------------------------------------------------------------------------------- EV_NOTIFY_ACTION_SEQUENCE call @21 <000000000A1F8290> (From ACTION_SEQUENCE) Routine failure. Fail ------------------------------------------------------------------------------- EV_NOTIFY_ACTION_SEQUENCE call @3 <000000000A1F8290> (From EV_LITE_ACTION_SEQUENCE) Routine failure. Fail ------------------------------------------------------------------------------- EV_TIMEOUT_IMP on_timeout @3 <000000000A1F8270> (From EV_TIMEOUT_I) Routine failure. Fail ------------------------------------------------------------------------------- EV_INTERNAL_TIMEOUT_IMP on_timer @3 <00000000064CF390> Routine failure. Fail ------------------------------------------------------------------------------- EV_INTERNAL_TIMEOUT_IMP window_process_message @20 <00000000064CF390> (From WEL_WINDOW) Routine failure. Fail ------------------------------------------------------------------------------- EV_INTERNAL_TIMEOUT_IMP process_message @22 <00000000064CF390> (From WEL_COMPOSITE_WINDOW) Routine failure. Fail ------------------------------------------------------------------------------- WEL_DISPATCHER window_procedure @7 <00000000062A6060> (From WEL_ABSTRACT_DISPATCHER) Routine failure. Retry ===============================================================================
Problem Report Interactions
This has been fixed in rev#69049. Thanks for reporting.
This has just happened again, when I was re-entering the code that EiffelStudio had just trashed. This time I made sure that the system had been successfully compiled before attempting the autocompletion. It happened at exactly the same place. I had entered this: my_cancel_button.select_actions. I had used autocompletion to enter both parts of this. After the dot, I hit F1. Again the "unexpected error occurred". This time I made a manual backup. When I restarted EiffelStudio and opened the class, it again asked me if I wanted to use the backup. I varied my responses this time, because there are a couple of stupid questions in there about the file having been modified in another editor. I avoided trashing the class this time. The above half-complete line of code was there, so I hit F1 again, and the same error occurred. Obviously I'd better avoid autocompletion in this release!