[ET Trac] [Einstein Toolkit] #1220: OPTIONAL_IFACTIVE

Einstein Toolkit trac-noreply at einsteintoolkit.org
Sun Jan 20 17:10:24 CST 2013


#1220: OPTIONAL_IFACTIVE
--------------------------+-------------------------------------------------
  Reporter:  eschnett     |       Owner:          
      Type:  enhancement  |      Status:  reopened
  Priority:  major        |   Milestone:          
 Component:  Cactus       |     Version:          
Resolution:               |    Keywords:          
--------------------------+-------------------------------------------------
Changes (by rhaas):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 This patch causes segfaults in line 961 of main/ActiveThorns.c when a
 thorn in ActiveThornss is not compiled into the executable.
 {{{
       this_thorn = ((t_sktree *) SKTreeFindNode(thornlist, thorn))->data;
 }}}
 needs to be replaced by the equivalent of
 {{{
 t_sktree *node = SKTreeFindNode(thornlist, thorn);
 if (!node)
   continue;
 this_thorn = node->data;
 }}}

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


More information about the Trac mailing list