Skip to content
Tcl Source Code View Ticket
Login

View Ticket

TclStackAlloc() alignment

Closed / Fixed1914503fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2008-03-14 19:31:05
TclStackAlloc() sometime returns
a pointer that is not 8-byte
aligned, and for some storage
uses on some platforms, this leads
to bus errors.

(Solaris + gcc sees bus error
crashes testing [lsort -real],
where memory alignment is
unsuitable for storing doubles.)

This seems to point to
GrowEvaluationStack() failing to
return an aligned pointer, even
though it appears to have a fair
bit of code trying to provide
some level of alignment.
dgp Closed ticket [1914503fff]. [History diff]2008-03-19 00:55:20
Log in (anonymous is fine) to add a comment.