I was making some simple changes to fileobject.c yesterday (checking file() mode strings for validity) and started having test failures. After lots of head scratching and changes to my code I concluded it couldn't be my code and finally just ripped out the changes and ran with a fresh CVS checkout. Sure enough, I got the same problem. On Mac OS X I get this output (debug build): ... test_sys test_tarfile test_tcl test_tempfile *** malloc[24360]: error for object 0x680b408: Pointer being reallocated was not allocated [5939 refs] test test_tempfile failed -- Traceback (most recent call last): File "/Users/skip/tmp/python/dist/src/Lib/test/test_tempfile.py", line 155, in test_wanted_dirs os.environ[envname] = os.path.abspath(envname) File "/Users/skip/tmp/python/dist/src/Lib/os.py", line 445, in __setitem__ putenv(key, item) OSError: (0, 'Error') test_textwrap test_thread test_threaded_import test_threadedtempfile test_threading test_time make: *** [test] Bus error This stuff passes with no complaint on Linux (Mandrake 8.1-ish) but I'm having other problems there. Tests involving bsddb fail (I'm building with Berkeley DB 3.3 - is that too old now?) with something like this: test_anydbm U‰åSƒìcèí make: *** [quicktest] Segmentation fault On both Mac OS X and Linux (Mandrake 8.1-ish) test_site fails with: test test_site failed -- Traceback (most recent call last): File "/home/skip/tmp/python/dist/src/Lib/test/test_site.py", line 150, in test_sitepackages self.fail("'site-packages' directory missing'") AssertionError: 'site-packages' directory missing' This seems like a problem with the test itself. It should be okay to run the tests in the build directory without a site-packages directory. I'm doing a little further investigation into the malloc problem on Mac OS X using the debug stuff available in its malloc(3) implementation. Skip
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4