PR# 12928 Diagram tool crashes when removing a midpoint via context menu
Problem Report Summary
Submitter: juliant
Category: EiffelStudio
Priority: High
Date: 2007/05/31
Class: Bug
Severity: Critical
Number: 12928
Release: 6.0.68787
Confidential: No
Status: Closed
Responsible:
Environment: Win 64
Synopsis: Diagram tool crashes when removing a midpoint via context menu
Description
When a midpoint is removed via the context menu, the diagram tool crashes. When the diagram is reset, it works again. The following trace is given: ******************************** Thread exception ***************************** In thread Root thread 0x0 (thread id) ******************************************************************************* ------------------------------------------------------------------------------- Class / Object Routine Nature of exception Effect ------------------------------------------------------------------------------- EG_EDGE on_start_resizing @1 capture_figure: <00000000101088F8> (From EV_MODEL_MOVE_HANDLE) Feature call on void target. Fail ------------------------------------------------------------------------------- EG_EDGE on_start_resizing @1 <00000000101088F8> (From EV_MODEL_MOVE_HANDLE) Routine failure. Fail ------------------------------------------------------------------------------- PROCEDURE fast_call <0000000010108F68> Routine failure. Fail ------------------------------------------------------------------------------- PROCEDURE call @3 <0000000010108F68> Routine failure. Fail ------------------------------------------------------------------------------- EV_POINTER_BUTTON_ACTION_SEQUENCE call @22 <0000000010108ED8> (From ACTION_SEQUENCE) Routine failure. Fail ------------------------------------------------------------------------------- EV_POINTER_BUTTON_ACTION_SEQUENCE call @3 <0000000010108ED8> (From EV_LITE_ACTION_SEQUENCE) Routine failure. Fail ------------------------------------------------------------------------------- EIFFEL_PROJECTOR button_press @11 <000000001D24B1A8> (From EV_MODEL_WIDGET_PROJECTOR) Routine failure. Fail ------------------------------------------------------------------------------- PROCEDURE fast_call <000000001D2546A8> Routine failure. Fail ------------------------------------------------------------------------------- PROCEDURE call @3 <000000001D2546A8> Routine failure. Fail ------------------------------------------------------------------------------- EV_POINTER_BUTTON_ACTION_SEQUENCE call @22 <000000001D2545E8> (From ACTION_SEQUENCE) Routine failure. Fail ------------------------------------------------------------------------------- EV_POINTER_BUTTON_ACTION_SEQUENCE call @3 <000000001D2545E8> (From EV_LITE_ACTION_SEQUENCE) Routine failure. Fail ------------------------------------------------------------------------------- EV_DRAWING_AREA_IMP call_pointer_actions @2 <000000001C84C058> (From EV_WIDGET_IMP) Routine failure. Fail ------------------------------------------------------------------------------- EV_DRAWING_AREA_IMP on_button_down @14 <000000001C84C058> (From EV_WIDGET_IMP) Routine failure. Fail ------------------------------------------------------------------------------- EV_DRAWING_AREA_IMP on_right_button_down @1 <000000001C84C058> (From EV_WIDGET_IMP) Routine failure. Fail ------------------------------------------------------------------------------- EV_DRAWING_AREA_IMP on_right_button_down @2 <000000001C84C058> Routine failure. Fail ------------------------------------------------------------------------------- EV_DRAWING_AREA_IMP window_process_message @17 <000000001C84C058> (From WEL_WINDOW) Routine failure. Fail ------------------------------------------------------------------------------- EV_DRAWING_AREA_IMP process_message @23 <000000001C84C058> (From WEL_COMPOSITE_WINDOW) Routine failure. Fail ------------------------------------------------------------------------------- WEL_DISPATCHER window_procedure @10 <000000001C9B90E8> (From WEL_ABSTRACT_DISPATCHER) Routine failure. Retry =============================================================================== See the attached screenshot for the debugger information.
To Reproduce
* Open ANY in the diagram tool * Add a midpoint to a line * right click on the midpoint * choose either * "Remove from diagram" * click on the diagram again, it crashes * or "Pick" and drop the midpoint on the "Remove from diagram" button * it crashes
Problem Report Interactions
Protection was added to avoid the crash, it should be fixed now.