[yt-dev] rockstar issues

Stephen Skory s at skory.us
Fri Nov 9 13:02:51 PST 2012


Hi Matt,

Thanks for the reply!

>> - When you run rockstar, does it always die with a segfault? On both
>> mac and linux, after everything is done the run dies with a segfault
>> that I can't make heads or tails of right now. It doesn't seem to
>> affect the content of the output, but it's obviously wrong.
>>
>
> This sounds familiar, but I thought it had been addressed.  I think it
> might be related to communicators not being deallocated correctly.
> Figuring out where it dies would be step 0 to fixing it ... :)

I think I've found it. What was essentially happening is the
workgroups are supposed to be deleted inside a loop:

for wg in workgroups:
    del wg

but this doesn't actually delete items from the list, of course.
However, because there was some deletion of things inside wg in that
loop, I think there were references that were left dangling. I'll
issue a PR soon for just that fix.

Regarding the duplicate halos, I haven't tracked that one down yet.

-- 
Stephen Skory
s at skory.us
http://stephenskory.com/
510.621.3687 (google voice)



More information about the yt-dev mailing list