Strange occasional marshal error

Tom Zych freethinker at pobox.com
Thu Mar 3 10:33:30 EST 2011


On Thu, 03 Mar 2011 07:09 -0800, "Graham Stratton"
<grahamstratton at gmail.com> wrote:
> Every corruption point occurs exactly three bytes above an extension
> point (rounded to the nearest word for the last two). This clearly
> isn't a coincidence, but I can't see where there could be a problem.
> I'd be grateful for any pointers.

The intermittency sounds like a race condition, doesn't it? It might
be worthwhile to look into the call that's extending the string and
see if it could affect other data. Maybe objects are getting shuffled
around? Don't put too much stock in this, I'm just speculating based
on a bug I had in a C program years ago. I have no idea how CPython
handles these things.

-- 
Tom Zych / freethinker at pobox.com
Quidquid latine dictum sit, altum viditur.



More information about the Python-list mailing list