[ET Trac] [Einstein Toolkit] #1321: Collisions in executable cache directory

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Apr 12 10:28:18 CDT 2013


#1321: Collisions in executable cache directory
-------------------------+--------------------------------------------------
  Reporter:  hinder      |       Owner:  eschnett           
      Type:  defect      |      Status:  new                
  Priority:  minor       |   Milestone:                     
 Component:  SimFactory  |     Version:  development version
Resolution:              |    Keywords:                     
-------------------------+--------------------------------------------------
Changes (by knarf):

  * priority:  major => minor


Comment:

 Looking through the code it seems to me that simfactory checks whether the
 srcfile has the same size as the cached file. This is likely false for two
 configurations, but not necessarily so (say, you compile the same thorns
 using the same configuration, but change just one little detail which just
 happens to not change the compiled code size, say a hard-coded number, a
 hard-coded parameter maybe?). simfactory also looks at the mtime of
 srcfile and the cached file, but treats files as equal if src.mtime <=
 dst.mtime, so with a certain order of building and sim-creation you can
 'hit' this.

 So yes, it is probably not 'major' since hitting this bug is not all that
 likely (and I'll downgrade the ticket because of that), but _if_ you hit
 it, results will be quite surprising.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1321#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list