PR# 13117 Workbench estudio crashes with no trace when exit debugger
Problem Report Summary
Submitter: prestoat2000
Category: EiffelStudio
Priority: Medium
Date: 2007/06/12
Class: Bug
Severity: Serious
Number: 13117
Release: 6.0.69039
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.0.7) Gecko/20060915 Firefox/1.5.0.7
Solaris 9 on SPARC
Synopsis: Workbench estudio crashes with no trace when exit debugger
Description
Stepping to the first instruction of a system with a workbench version of estudio works fine. But when the application is terminated (either by stepping to end of root creation procedure or by the Stop Application button) estudio crashes with no trace or with an empty trace. I don't think it matters what the system is - I used a frozen system with no precompile and a very simple root creation procedure.
To Reproduce
Problem Report Interactions
The problem is that {IPC_ENGINE}.close_ecdbgd sleeps for only 1 millisecond (1_000_000 nanoseconds) for up to `ise_ending_timeout' times before exiting the loop and checking whether the daemon is dead. Perhaps the intention was for it to sleep for 1 second each time around the loop, instead of only 1 millisecond (though 1 second seems like a long time). Currently, it will only wait a total of 100 milliseconds. Or maybe `ise_ending_timeout' defaults to a value that is too small.
I ran this workbench estudio from within estudio and got a stack trace for this problem. The check assertion `not_is_ecdbgd_alive' is violated in {IPC_ENGINE}.close_ecdbgd. Trace attached.