team-galacticus team mailing list archive
-
team-galacticus team
-
Mailing list archive
-
Message #00003
[Bug 725315] Re: Segfault when using star formation histories (metallicity split)
The problem occurs because of faulty assumptions about star formation
history objects (namely that they won't change during evolution). When a
star formation history is output, it is extended to encompass the block
of time up to the next output time. The data from the existing history
is copied into a newly created one which has been suitably extended.
However, if the existing history has been modified (as can happen if,
for example, a merger occurs and material is transferred to a spheroid
from a disk that has a different history tabulation) then the existing
history can be larger than the newly created one. This leads to memory
writes outside of the allocated array which results in the segfault.
** Also affects: galacticus/trunk
Importance: High
Assignee: Andrew Benson (abenson)
Status: Confirmed
--
You received this bug notification because you are a member of Team
Galacticus, which is subscribed to trunk.
https://bugs.launchpad.net/bugs/725315
Title:
Segfault when using star formation histories (metallicity split)
Status in Galacticus: A Semi-Analytic Model of Galaxy Formation:
Confirmed
Status in Galacticus trunk series:
Confirmed
Bug description:
The attached parameter file causes a segfault with v0.9.0 r315,
seemingly related to a star formation history object.