Vanilla List Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [VANILLA-LIST:2603] base etempbug...



Quoting Carlos Y. Villalpando <unbelver@brain.jpl.nasa.gov>: 

> I'm leaning towards something more going on as well as these two.
> I'll keep looking.

One final brainstorm before I go to bed, but I notice that there's no
semaphore on p_docked. (the "how many ships are docked on me" counter)

I notice a lot of code (esp 1 func in orbit.c) that goes:

check value of p_docked for value less that max

<tons of code that assumes value is valid>

base->p_docked++;
base->p_port[port_id] = me->p_no;

And that code is in ntserv (and there are 16 of those running
around).  Could there be corruption going on there?

--Carlos V.