Open GoogleCodeExporter opened 9 years ago
Segfault also occurs with the 2.1 branch.
Original comment by yarmond
on 20 Nov 2013 at 4:39
Original comment by yarmond
on 20 Nov 2013 at 4:39
At least on my system, this still crashes when running in gdb.
Unfortunately, I don't think a fix similar to the one in r2211 will work here.
In that case, there is code to handle the case where kspec < m_numComponents as
long as irxn is given the special value 'npos'. But in
vcs_popPhaseRxnStepSizes, I'm not sure what's supposed to happen when kspec <
m_numComponents.
Original comment by yarmond
on 22 Nov 2013 at 4:40
Attached is a version of the script updated for the 'new' Python module.
Running this code in Valgrind shows errors in two locations, both related to
using 'kspec - m_numComponents' as an index:
One is in VCS_SOLVE::vcs_popPhaseID, where irxn is calculated under the
condition 'Vphase->m_singleSpecies'. (Line 285 of vcs_phaseStability.cpp in
r2990).
The second is the previously-reported one in
VCS_SOLVE::vcs_popPhaseRxnStepSizes (Line 367 of vcs_phaseStability.cpp in
r2990).
Original comment by yarmond
on 7 Jun 2014 at 5:59
Attachments:
Original issue reported on code.google.com by
chdoi...@gmail.com
on 18 Nov 2013 at 5:27