I was getting *** stack smashing detected ***: ../../coregen terminated error when reading a cub file.
There is a char variable: char temp_name[80]; in routine:  Tqdcfr::parse_acis_attribs (line: 2282).

Increasing the size of temp_name solves the problem. Please let me know what should be the size of this variable. 

Rajeev