> Printing a symbol 1032 characters long crashes for me, where a 1031
> character symbol does not crash.
The forums add spaces to the long symbols, and the email from the list
seems to be hard-wrapped at 1000 characters... so you might have to
remove the spaces to the patch I sent to get a crash. Or, just add a
lot more characters.
This may be just a "print" related bug, rather than something more
fundamental to max...
On 5-Apr-2006, at 23:51, /*j wrote:
> i heard from well informed sources (ddz) that the maximum length
> for a symbol is 1999 (or was it 2000?) chars...
From what you wrote, probably the buffer is 2000 chars, one of which
is the null terminator byte. So effectively 1999 charlen.
It might be a Good Thing if there were a #define somewhere in the SDK
headers so that all objects used the same bufsize. That said, text
parsing is usually handled by binbufs, so should be transparent to
Another Good Thing might be if Max wouldn't croak on Excessively
Enthusiastic Typing. Truncating strings is one thing, crashing another.
And Charlie's crash was at a mere 1032 chars. Strange. Maybe the
print object has a different sized buffer? Unusual choice.