PR# 13790 Watch expression `default_create' when stopped in {INTEGER_32}.out causes crash
Problem Report Summary
Submitter: prestoat2000
Category: Debugger
Priority: Medium
Date: 2007/12/18
Class: Bug
Severity: Serious
Number: 13790
Release: 6.1.71477
Confidential: No
Status: Open
Responsible: jfiat_es
Environment: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.8.1.9) Gecko/20071111 Firefox/2.0.0.9
Solaris 10 on x86
Synopsis: Watch expression `default_create' when stopped in {INTEGER_32}.out causes crash
Description
A watch expression `default_create' entered when stopped in {INTEGER_32}.out causes a crash if no precompiled EiffelBase is used.
To Reproduce
Freeze with attached class and config file. Put break on {INTEGER_32}.out. Click on Start. When execution stops at breakpoint, switch to Watch tab and enter watch expression `default_create'. System being debugged crashes with a run-time panic and then estudio crashes when I click on Step into Routine.
Problem Report Interactions
The original problem is still present but the two extra bugs (involving Watch expressions `Current // 1' and `3 / 1') are fixed in 6.2.72969.
A related bug (possibly the same) is to freeze with the attached class and config file, then Step into Routine, then add Watch expression `Current // 1'. Click on Step into Routine a few more times and estudio crashes with no trace of any kind. However, in this case it doesn't seem to matter whether or not a precompiled EiffelBase is used - the crash happens either way. A third case that also seems like a bug is to freeze with attached class and config file (using precompiled EiffelBase). Click on Step into Routine. Enter watch expression '3 / 1'. Correctly displays value of 3. Click on Step into Routine again. Now it can't evaluate the expression and says "type checking failed". Maybe I'm missing something here but this seems wrong.