#2 referrer count assertion failure

closed-fixed
nobody
None
5
2009-12-15
2009-12-07
Richard Moxley
No

Pylibnet 2.0 beta rc2 seems to incorrectly decrement an object referrer count. This causes Python to abort with an assertion failure if pylibnet is used with a debug-enabled python. Example:

$ python
Python 2.4.3 (#1, Sep 3 2009, 15:37:12)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> import libnet
>>> sys.exit()
python: Modules/gcmodule.c:275: visit_decref: Assertion `gc->gc.gc_refs != 0' failed.
Aborted
$

Discussion

  • Nadeem Douba
    Nadeem Douba
    2009-12-15

    • status: open --> closed-fixed