PR# 13776 Assignment attempt on type with many parents causes seg fault

Problem Report Summary
Submitter: prestoat2000
Category: Runtime
Priority: Medium
Date: 2007/12/17
Class: Bug
Severity: Serious
Number: 13776
Release: 6.1.71477
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: Assignment attempt on type with many parents causes seg fault

Description
A class which inherits from 1000 parents and then does an assignment
attempt of `Current' into a local dies with a segmentation fault.
This is similar to the problem where a class with too many generics
causes a seg fault.  The problem seems to be that the runtime file
gen_conf.c has several declarations "int16 outtab[256]" and when there
are too many parents or generic parameters (or whatever), the code writes
past the end of the array and dies an ungracious death. 

This should be an eweasel test.  I have attached a file which has all
the necessary classes.  You just have to add an Ace file, tcf file and
"output" file and update the catalog, if you think this is an appropriate
test to add.


To Reproduce

										
Problem Report Interactions
From:prestoat2000    Date:2007/12/17    Download   
Attachments for problem report #13776

Attachment: many_parents.tar.bz2     Size:9072