[brlcad-commits] SF.net SVN: brlcad:[49067] brlcad/trunk
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2012-01-25 05:43:38
|
Revision: 49067 http://brlcad.svn.sourceforge.net/brlcad/?rev=49067&view=rev Author: brlcad Date: 2012-01-25 05:43:31 +0000 (Wed, 25 Jan 2012) Log Message: ----------- fixed the database corruption bug being seen on 64-bit big-endian systems (sparc, power7, etc). looks like the size mismatch was limited to the ebm, dsp, vol, and hf (deprecated) primitives. issue caused by trying to serialize a 64-bit value into 32-bits without taking the input type into account (code assumes it's 32-bit) via bu_vls_struct_print('%d') serialization. Modified Paths: -------------- brlcad/trunk/BUGS brlcad/trunk/NEWS brlcad/trunk/TODO Modified: brlcad/trunk/BUGS =================================================================== --- brlcad/trunk/BUGS 2012-01-25 05:37:34 UTC (rev 49066) +++ brlcad/trunk/BUGS 2012-01-25 05:43:31 UTC (rev 49067) @@ -15,14 +15,6 @@ Recent Bugs ----------- -* big-endian bug writing out ebm and dsp objects due to the automatic - bu_structparse conversion of the 64-bit size_t struct members into - 32-bit serialized types. structparse export assumes a size match. - this means any ebm/dsp written out on a big endian since bug was - introduced (2010-12) will be probably zero-dimensioned (corrupt). - repeatable via regress-solids on 64-bit big-endian system. - encountered on big endian fc16 system (gcc110, power7). - * TIE seems to be corrupting the application structure during shot(). see m1151 with ambient occlusion patch (butler). may also be ignoring the onehit flag and returning a hit for segments behind the Modified: brlcad/trunk/NEWS =================================================================== --- brlcad/trunk/NEWS 2012-01-25 05:37:34 UTC (rev 49066) +++ brlcad/trunk/NEWS 2012-01-25 05:43:31 UTC (rev 49067) @@ -13,6 +13,7 @@ --- 2012-02-XX Release 7.21.X --- ---------------------------------------------------------------------- +* fixed ebm/dsp/vol/hf corruption on 64-bit big endian - Sean Morrison * fixed step-g importer memory management issues - Keith Bowman * improved tab-completion behavior for mged and archer - Sean Morrison * fixed pervasive string handling memory leak - Tom Browder Modified: brlcad/trunk/TODO =================================================================== --- brlcad/trunk/TODO 2012-01-25 05:37:34 UTC (rev 49066) +++ brlcad/trunk/TODO 2012-01-25 05:43:31 UTC (rev 49067) @@ -18,9 +18,6 @@ THESE TASKS SHOULD HAPPEN BEFORE THE NEXT RELEASE ------------------------------------------------- -* fix big-endian ebm/dsp bug, review all '%d' callers to - bu_struct_export() looking for size_t mismatches. - * test nirt template file loading * g-nff is crashing, fix it; g-dot outputs garbage This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |