PR# 14578 Finalized system with root creation procedure with args can't rescue exception
Problem Report Summary
Submitter: prestoat2000
Category: Runtime
Priority: Medium
Date: 2008/07/11
Class: Bug
Severity: Serious
Number: 14578
Release: 6.2.73753
Confidential: No
Status: Closed
Responsible:
Environment: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.8.1.14) Gecko/20080421 Firefox/2.0.0.14
OpenSolaris 2008.05 snv_91 on x86
Synopsis: Finalized system with root creation procedure with args can't rescue exception
Description
Finalizing a system with a root creation procedure that has a single argument of type ARRAY [STRING] works fine. The procedure calls args.item (1).to_integer. Executing the system with no arguments should result in either a call on Void target or a seg fault, depending on compilation options in the config file and the resulting exception should be able to be rescued. Instead, system execution crashes with a seg fault and no exception trace. It appears that no exception is raised or that if it is, the rescue clause cannot retry it. This might be a compiler problem rather a runtime problem.
To Reproduce
Finalize with attached class and config file. Execute system with no arguments. Crashes with segmentation fault. A frozen system correctly prints "Retry OK".
Problem Report Interactions
This bug was fixed in rev 77835 (I verified that eweasel test except029 now passes on Solaris SPARC 64-bit). Closing report.
This test also fails on OpenSolaris x86 and OpenSolaris x64.
Reopening since this test still fails on Solaris-Sparc 64-bit.
test#except029 has been added. And fixed in rev#74142. Thank you for reporting.