[ET Trac] [Einstein Toolkit] #1516: using GRHydro::reconstruct_Wv with recon_method = WENO segfaults

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon Jan 13 11:08:40 CST 2014


#1516: using GRHydro::reconstruct_Wv with recon_method = WENO segfaults
-----------------------------------+----------------------------------------
 Reporter:  rhaas                  |       Owner:                     
     Type:  defect                 |      Status:  new                
 Priority:  major                  |   Milestone:                     
Component:  EinsteinToolkit thorn  |     Version:  development version
 Keywords:  GRhydro backport       |  
-----------------------------------+----------------------------------------
 revision 587 of GRHydro intoruced a regression and causes the code to
 abort with a segfault if GRHydro::reconstruct_Wv = yes and
 GRHydro:recon_method = WENO are both set.

 The problem is access to an uninitialized pointer. The attached patch
 removes the pointers and moves the function call using the pointer inside
 of a set of if statements which makes the usage of pointer unnecessary.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1516>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list