Number: 214
Title: Labels in record shapes limited to ~1500 characters
Submitter: Preston Jackson
Date: Fri Nov 8 15:54:23 2002
Subsys: Dot
Version: 1.8.6
System: Mac-OSX-10.2
Severity: major
Problem:
dot version 1.8.6 (Sun Jun 23 12:25:06 CEST 2002)

It seems that the labels of of vertices in dot (at least when using the record shape) are limited in size to about 1500 characters. For any normal label, this length seems adequate. However, when using the record shape it is somewhat limiting, especially when whitespace is added to make the dot file easier to read.

Here's the error I get:


*** malloc[12295]: error for object 0x8a7e0: Incorrect checksum for freed
object - object was probably modified after being freed; break at szone_error
Segmentation fault

I'm running dot on Mac OS X 10.2 on a 450Mhz PowerMac G4 with 512 MB memory.
Input file: b214.dot
Comments:
I'm including a graph that doesn't work. Remove the last line in the record label and it should work just fine.

We're using dot to help us debug a VLIWish compiler. Hence the large blocks and the pseudo op codes.
Fix:
Feels like a buffer overflow error. (how about partial credit :)

[erg] We have fixed various things since 1.8.6 and Preston reports that it's okay in 1.8.10.
Owner: erg
Status: Fixed (13 November 2002)