PR# 19010 Operating system signal in {AST_ROUNDTRIP_COMPILER_FACTORY}.new_integer_as in EiffelStudio.
Problem Report Summary
Submitter: jinnydev
Category: EiffelStudio
Priority: Medium
Date: 2015/01/05
Class: Bug
Severity: Serious
Number: 19010
Release: 14.05.9.5417
Confidential: No
Status: Closed
Responsible:
Environment: EiffelStudio 14.05.9.5417 Enterprise Edition - windows
Synopsis: Operating system signal in {AST_ROUNDTRIP_COMPILER_FACTORY}.new_integer_as in EiffelStudio.
Description
I have not looked yet to see if the number is too large for INTEGER_64, but every time I add one more "9" to the left of the number where the cursor is (below), I get this exception.
9|9_999_999_999_999_990_000
where "|" = cursor position. The "9" to the left is the one I am adding and the number to the right is valid (e.g. does not cause this crash).
Project loaded: True
Project compiled: True
Is compiling: False
Last known class processed: FP_HEADER_TEST_SET
******************************** Thread exception *****************************
In thread Root thread 0x0 (thread id)
*******************************************************************************
-------------------------------------------------------------------------------
Class / Object Routine Nature of exception Effect
-------------------------------------------------------------------------------
AST_ROUNDTRIP_COMPILER_FACTORY
new_integer_as @7 Segmentation violation:
<0000000010DF1A2C> Operating system signal. Fail
-------------------------------------------------------------------------------
AST_ROUNDTRIP_COMPILER_FACTORY
new_integer_as @7
<0000000010DF1A2C> Routine failure. Fail
-------------------------------------------------------------------------------
AST_ROUNDTRIP_COMPILER_FACTORY
new_integer_value @20
<0000000010DF1A2C> (From AST_FACTORY) Routine failure. Fail
-------------------------------------------------------------------------------
EIFFEL_PARSER yy_do_action_587 @1
<000000000E4AA1E0> Routine failure. Fail
-------------------------------------------------------------------------------
EIFFEL_PARSER yy_do_action_401_600 @188
<000000000E4AA1E0> Routine failure. Fail
-------------------------------------------------------------------------------
EIFFEL_PARSER yy_do_action @6
<000000000E4AA1E0> Routine failure. Fail
-------------------------------------------------------------------------------
EIFFEL_PARSER parse @73
<000000000E4AA1E0> (From YY_PARSER_SKELETON)
Routine failure. Fail
-------------------------------------------------------------------------------
EIFFEL_PARSER parse_from_utf8_string @17
<000000000E4AA1E0> (From EIFFEL_PARSER_SKELETON)
Routine failure. Fail
-------------------------------------------------------------------------------
EIFFEL_PARSER_WRAPPER
parse @8
<0000000010DF4D80> Routine failure. Fail
-------------------------------------------------------------------------------
EIFFEL_PARSER_WRAPPER
parse_with_option @7
<0000000010DF4D80> Routine failure. Fail
-------------------------------------------------------------------------------
EIFFEL_PARSER_WRAPPER
parse_with_option_32 @1
<0000000010DF4D80> Routine failure. Fail
-------------------------------------------------------------------------------
ES_CLASS_TEXT_AST_MODIFIER_DATA
prepare @12
<00000000090ACEF8> Routine failure. Fail
-------------------------------------------------------------------------------
ES_EIS_CLASS_MODIFIER
prepare @2
<0000000009072F08> (From ES_CLASS_TEXT_MODIFIER)
Routine failure. Fail
-------------------------------------------------------------------------------
ES_EIS_CLASS_EXTRACTOR
real_extract @2
<0000000009072278> Routine failure. Fail
-------------------------------------------------------------------------------
ES_EIS_CLASS_EXTRACTOR
extract @14
<0000000009072278> Routine failure. Fail
-------------------------------------------------------------------------------
ES_EIS_CLASS_EXTRACTOR
make @2
<0000000009072278> Routine failure. Fail
-------------------------------------------------------------------------------
ES_INFORMATION_TOOL_PANEL
class_entries @1
<0000000010BE3AC0> Routine failure. Fail
-------------------------------------------------------------------------------
ES_INFORMATION_TOOL class_entries @3
<000000000993B45C> Routine failure. Fail
-------------------------------------------------------------------------------
EB_SMART_EDITOR setup_eis_links @3
<000000000E9720DC> Routine failure. Fail
-------------------------------------------------------------------------------
EB_SMART_EDITOR on_text_saved @2
<000000000E9720DC> Routine failure. Fail
-------------------------------------------------------------------------------
EB_DEVELOPMENT_WINDOW
on_text_saved @3
<0000000009809D98> Routine failure. Fail
-------------------------------------------------------------------------------
EB_SAVE_FILE_COMMAND
real_save @4
<00000000098C7DAC> Routine failure. Fail
-------------------------------------------------------------------------------
EB_SAVE_FILE_COMMAND
execute @11
<00000000098C7DAC> Routine failure. Fail
-------------------------------------------------------------------------------
EB_SAVE_ALL_FILE_COMMAND
execute @15
<000000000988838C> Routine failure. Fail
-------------------------------------------------------------------------------
EB_DEVELOPMENT_WINDOW
save_all @1
<0000000009809D98> (From EB_FILEABLE) Routine failure. Fail
-------------------------------------------------------------------------------
EB_DEVELOPMENT_WINDOW
save_before_compiling @2
<0000000009809D98> Routine failure. Fail
-------------------------------------------------------------------------------
EB_WINDOW_MANAGER save_before_compiling_action @3
<0000000009880064> Routine failure. Fail
-------------------------------------------------------------------------------
EB_WINDOW_MANAGER for_all @4
<0000000009880064> Routine failure. Fail
-------------------------------------------------------------------------------
EB_WINDOW_MANAGER save_all_before_compiling @1
<0000000009880064> Routine failure. Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
save_and_compile @1
<0000000009825338> Routine failure. Fail
-------------------------------------------------------------------------------
ES_DISCARDABLE_COMPILE_SAVE_FILES_PROMPT
on_dialog_button_pressed @9
<0000000009009DA0> (From ES_DIALOG) Routine failure. Fail
-------------------------------------------------------------------------------
ES_DISCARDABLE_COMPILE_SAVE_FILES_PROMPT
show_on_active_window @3
<0000000009009DA0> (From ES_DISCARDABLE_PROMPT)
Routine failure. Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
execute_with_c_compilation_flag @15
<0000000009825338> Routine failure. Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
go_on_compile @1
<0000000009825338> Routine failure. Fail
-------------------------------------------------------------------------------
EB_MELT_PROJECT_COMMAND
execute @12
<0000000009825338> Routine failure. Fail
-------------------------------------------------------------------------------
EV_NOTIFY_ACTION_SEQUENCE
call @21
<0000000009AAFEB8> (From ACTION_SEQUENCE) Routine failure. Fail
-------------------------------------------------------------------------------
EV_NOTIFY_ACTION_SEQUENCE
call @3
<0000000009AAFEB8> (From EV_LITE_ACTION_SEQUENCE)
Routine failure. Fail
-------------------------------------------------------------------------------
EB_SD_COMMAND_TOOL_BAR_DUAL_POPUP_BUTTON
on_pointer_release @7
<0000000009AAFA20> (From SD_TOOL_BAR_DUAL_POPUP_BUTTON)
Routine failure. Fail
-------------------------------------------------------------------------------
SD_TOOL_BAR on_pointer_release @10
<0000000009AAF93C> Routine failure. Fail
-------------------------------------------------------------------------------
EV_POINTER_BUTTON_ACTION_SEQUENCE
call @21
<0000000009B82BB4> (From ACTION_SEQUENCE) Routine failure. Fail
-------------------------------------------------------------------------------
EV_POINTER_BUTTON_ACTION_SEQUENCE
call @3
<0000000009B82BB4> (From EV_LITE_ACTION_SEQUENCE)
Routine failure. Fail
-------------------------------------------------------------------------------
SD_DRAWING_AREA_IMP call_pointer_actions @2
<0000000009AAF6D8> (From EV_WIDGET_IMP) Routine failure. Fail
-------------------------------------------------------------------------------
SD_DRAWING_AREA_IMP on_button_up @5
<0000000009AAF6D8> (From EV_WIDGET_IMP) Routine failure. Fail
-------------------------------------------------------------------------------
SD_DRAWING_AREA_IMP on_left_button_up @2
<0000000009AAF6D8> (From EV_WIDGET_IMP) Routine failure. Fail
-------------------------------------------------------------------------------
SD_DRAWING_AREA_IMP window_process_message @11
<0000000009AAF6D8> (From WEL_WINDOW) Routine failure. Fail
-------------------------------------------------------------------------------
SD_DRAWING_AREA_IMP process_message @22
<0000000009AAF6D8> (From WEL_COMPOSITE_WINDOW)
Routine failure. Fail
-------------------------------------------------------------------------------
WEL_DISPATCHER window_procedure @7
<000000000993B87C> (From WEL_ABSTRACT_DISPATCHER)
Routine failure. Fail
-------------------------------------------------------------------------------
WEL_MSG dispatch @1
<000000000993B834> Routine failure. Fail
-------------------------------------------------------------------------------
EV_APPLICATION_IMP process_message @10
<000000000993AF28> Routine failure. Fail
-------------------------------------------------------------------------------
EV_APPLICATION_IMP process_underlying_toolkit_event_queue @6
<000000000993AF28> Routine failure. Fail
-------------------------------------------------------------------------------
EV_APPLICATION_IMP process_event_queue @2
<000000000993AF28> (From EV_APPLICATION_I)
Routine failure. Fail
-------------------------------------------------------------------------------
EV_APPLICATION_HANDLER
process_application_event_queue @1
<000000000993B864> Routine failure. Fail
-------------------------------------------------------------------------------
EV_APPLICATION_HANDLER
launch @4
<000000000993B864> Routine failure. Fail
-------------------------------------------------------------------------------
EV_APPLICATION internal_launch_application @3
<000000000993B138> Routine failure. Fail
-------------------------------------------------------------------------------
EV_APPLICATION launch @2
<000000000993B138> Routine failure. Fail
-------------------------------------------------------------------------------
ES_GRAPHIC make @12
<000000000993B120> Routine failure. Fail
-------------------------------------------------------------------------------
EB_KERNEL make @4
<000000000982364C> Routine failure. Fail
-------------------------------------------------------------------------------
EB_KERNEL root's creation
<000000000982364C> Routine failure. Exit
-------------------------------------------------------------------------------
To Reproduce
Problem Report Interactions
This is fixed in rev#96434. The issue only occurs within EiffelStudio when loading/saving a file. in the environment This is most likely what causes the compilation issue you noticed.
The attached PNG file shows the code that is breaking. The number shown is one-9-too-large (apparently). Interestingly enough—If I: 1. Ignore the error 2. F7 compile --> syntax error 3. Alt+F8 --> successful compile Apparently, the syntax error following the F7 is handled by the Alt+F8. You can see the content of the syntax error in the second PNG file.