.
D 2007-12-16T12:53:10
J assignee hobbs
J cmimetype text/plain
J comment While\sinvestigating\s[Bug\s1851524]\sI\snoticed\sthat\sTcl's\smemory\sallocators\smay\snot\sbe\sdoing\sthe\sright\sthing\swrt\salignment\sof\sthe\sallocated\smemory:\n\n-\sTclStackAlloc\sreturns\sa\spointer\sto\sa\smemory\saddress\sthat\sis\saligned\sto\sa\smultiple\sof\ssizeof(void\s*):\s4-byte\salignment\son\s32b\splatforms,\s8-byte\son\s64b\n\n-\sTcl_Alloc\sreturns\s16-aligned\smemory\son\sapple,\s8-aligned\sotherwise\s(ALLOCALIGN\smacros\sdefined\sboth\sin\stclAlloc.c\sand\stclThreadAlloc.c)\n\n-\sother\splatforms\sthan\sapple\s(especially\s64b)\srequire\s16-byte\salignment\s(see\seg\shttp://msdn2.microsoft.com/en-us/library/ycsb6wwf(VS.80).aspx)
J foundin obsolete:\s8.5b3
J is_private 0
J priority 9\sImmediate
J resolution None
J status Open
J submitter msofer
J subsystem 41.\sMemory\sAllocation
J title badly\saligned\smem\sallocations?
J type Bug
K 1851832fffffffffffffffffffffffffffffffff
U msofer
Z 854a7117feb6cb05fefac90406c1d305