PR# 13719 editor: crash when trying to Pick a classname (the related class does not exists)
Problem Report Summary
Submitter: jfiat_es
Category: EiffelStudio
Priority: Medium
Date: 2007/12/06
Class: Bug
Severity: Serious
Number: 13719
Release: 6.2 trunk
Confidential: No
Status: Closed
Responsible:
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7; .NET CLR 2.0.50727) Gecko/20070914 Firefox/2.0.0.7
Synopsis: editor: crash when trying to Pick a classname (the related class does not exists)
Description
******************************** Thread exception *****************************
In thread Root thread 0x0 (thread id)
*******************************************************************************
-------------------------------------------------------------------------------
Class / Object Routine Nature of exception Effect
-------------------------------------------------------------------------------
EB_CLICK_AND_COMPLETE_TOOL
process_bracket_type @11
Segmentation violation:
<0000000011A04788> (From EB_CLASS_INFO_ANALYZER)
Operating system signal. Fail
-------------------------------------------------------------------------------
EB_CLICK_AND_COMPLETE_TOOL
process_bracket_type @11
<0000000011A04788> (From EB_CLASS_INFO_ANALYZER)
Routine failure. Fail
-------------------------------------------------------------------------------
EB_CLICK_AND_COMPLETE_TOOL
searched_type @90
<0000000011A04788> (From EB_CLASS_INFO_ANALYZER)
Routine failure. Fail
-------------------------------------------------------------------------------
EB_CLICK_AND_COMPLETE_TOOL
described_feature @12
<0000000011A04788> (From EB_CLASS_INFO_ANALYZER)
Routine failure. Fail
-------------------------------------------------------------------------------
EB_CLICK_AND_COMPLETE_TOOL
stone_at_position @16
<0000000011A04788> Routine failure. Fail
-------------------------------------------------------------------------------
SMART_TEXT stone_at @3
<000000000A39FEC8> Routine failure. Fail
-------------------------------------------------------------------------------
EB_SMART_EDITOR pebble_from_x_y @9
<000000000A39C4C0> (From EB_CLICKABLE_EDITOR)
Routine failure. Fail
-------------------------------------------------------------------------------
EV_DRAWING_AREA_IMP call_pebble_function @2
<0000000011A70948> (From EV_PICK_AND_DROPABLE_I)
Routine failure. Fail
-------------------------------------------------------------------------------
EV_TITLED_WINDOW_IMP
source_at_pointer_position @14
<00000000120D3DE8> (From EV_WINDOW_IMP) Routine failure. Fail
-------------------------------------------------------------------------------
EV_TITLED_WINDOW_IMP
on_wm_mouseactivate @6
<00000000120D3DE8> (From EV_WINDOW_IMP) Routine failure. Fail
-------------------------------------------------------------------------------
EV_TITLED_WINDOW_IMP
default_process_message @2
<00000000120D3DE8> (From EV_WINDOW_IMP) Routine failure. Fail
-------------------------------------------------------------------------------
EV_TITLED_WINDOW_IMP
window_process_message @40
<00000000120D3DE8> (From WEL_WINDOW) Routine failure. Fail
-------------------------------------------------------------------------------
EV_TITLED_WINDOW_IMP
window_process_message @21
<00000000120D3DE8> (From EV_WINDOW_IMP) Routine failure. Fail
-------------------------------------------------------------------------------
EV_TITLED_WINDOW_IMP
process_message @22
<00000000120D3DE8> (From WEL_COMPOSITE_WINDOW)
Routine failure. Fail
-------------------------------------------------------------------------------
WEL_DISPATCHER window_procedure @7
<0000000012442E48> (From WEL_ABSTRACT_DISPATCHER)
Routine failure. Retry
===============================================================================
To Reproduce
Problem Report Interactions
I've fixed it in rev#71398.
It is very easy to reproduce. Compile a project successfully. Edit a feature f from a class B. Add a local `t' with an unknown type and add the following code `t [i] := 5'. Pick and dropping on t causes the crash.