1. 17 Oct, 2004 1 commit
  2. 15 Oct, 2004 4 commits
  3. 14 Oct, 2004 2 commits
  4. 13 Oct, 2004 1 commit
  5. 12 Oct, 2004 4 commits
  6. 11 Oct, 2004 1 commit
  7. 10 Oct, 2004 1 commit
  8. 09 Oct, 2004 1 commit
  9. 08 Oct, 2004 2 commits
    • Tim Peters's avatar
      Gentler treatment for issue #1350. · 3f0db85b
      Tim Peters authored
      The Python fatal errors occur only in a debug build now.
      
      In a release build, unghostify() raises a Python SystemError
      exception if it detects insanity, and ghostify() ignores the
      problem (as ZODB 3.2 did, although it looks like 3.2 ignored
      the problem by mistake).  This isn't *good*, because the
      system is insane.  But it can become insane only by breaking
      absolute threading rules, and that "should never happen".
      Unfortunately, hundreds of things can go wrong if it does
      happen, and we can't detect most of them.
      3f0db85b
    • Tim Peters's avatar
      Extreme sanction for collector #1350. · 17c89bd8
      Tim Peters authored
      In ghostify() and unghostify(), trigger a fatal error if the
      object is insane.  This prevents a segfault (or, worse, arbitrary
      memory corruption) later.
      
      The test suite isn't bothered by this, and neither is bringing
      up a Zope and playing around with it.  The only known cause
      appears to be threading problems related to Transience.py,
      partly explained in issue #1350.  It should be impossible for
      these fatal errors to trigger via thread-correct use of ZODB.
      
      I don't expect to keep these fatal errors in the code; indeed,
      I'm checking this in only in Zope's *copy* of ZODB.  The intent
      is to help whoever can make time for 1350 know whether that
      problem still exists, until that problem goes away.  Unfortunately,
      it's not even possible to raise an exception from ghostify()
      (it's a void routine that "can't fail"), so it takes an extreme
      measure to catch the problem as soon as it's visible.
      17c89bd8
  10. 06 Oct, 2004 2 commits
  11. 05 Oct, 2004 2 commits
  12. 04 Oct, 2004 3 commits
  13. 01 Oct, 2004 2 commits
  14. 30 Sep, 2004 7 commits
  15. 28 Sep, 2004 3 commits
  16. 27 Sep, 2004 3 commits
  17. 25 Sep, 2004 1 commit