PR# 16836 Assertion violation in "check Assertion then" construct crashes estudio

Problem Report Summary
Submitter: prestoat2000
Category: Debugger
Priority: High
Date: 2010/06/10
Class: Bug
Severity: Critical
Number: 16836
Release: 6.6.83355
Confidential: No
Status: Closed
Responsible: larryl
Environment: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.9.0.10) Gecko/2009042715 Firefox/3.0.10 Solaris 10 on SPARC
Synopsis: Assertion violation in "check Assertion then" construct crashes estudio

Description
An assertion violation in a construct of the form

    check Assertion then
    end

crashes estudio with no exception trace when the program is run
from within estudio.  Estudio tries to display some sort of error window
but then disappears immediately.  In the xterm from which estudio was
started, I see:

   GLib:ERROR:gmain.c:2095:g_main_dispatch: assertion failed: (source)

To Reproduce
Compile with attached class and config file.
Click on Run button.
Estudio crashes.
Problem Report Interactions
From:larryl    Date:2010/06/17    Status: Closed    Download   
This bug is fixed in revision#83598. The fix will available in next EiffelStudio intermediate release.

Thanks for your report.

From:prestoat2000    Date:2010/06/16    Download   
The workaround works just fine.  I didn't realize I had set this preference to True.

From:manus_eiffel    Date:2010/06/16    Status: Analyzed    Download   
This is a GTK issue. The change is that now when an assertion violation occurs we display a dialog and that makes GTK crash for some reason.

The workaround for the time being is to disable the dialog by setting the "Confirm ignore contract violation " to False.

After that you should be able to debug.

From:prestoat2000    Date:2010/06/16    Download   
An assertion violation while running under the debugger
also crashes estudio on OpenSolaris on x86.  This is
an absolute showstopper.

From:prestoat2000    Date:2010/06/10    Download   
Looks like this is a more general problem.  Any assertion violation while
running under the debugger in estudio seems to crash estudio, at least
on Solaris SPARC.


From:prestoat2000    Date:2010/06/10    Download   
Attachments for problem report #16836

Attachment: test.e     Size:127
Attachment: test.ecf     Size:1055