Skip Montanaro wrote: > I'm getting a malloc() error in test_tcl when I run "make test": > > test_tarfile > test_tcl > *** malloc[3674]: error for object 0x4cca408: Pointer being reallocated was not allocated > make: *** [test] Bus error (core dumped) > > Platform is Mac OSX 10.2.8, "gcc version 3.3 20030304 (Apple Computer, > Inc. build 1493)", OPT=-Os. > > If I run it independently I get one failure but no core dump: > > testCall (__main__.TclTest) ... ok > testCallException (__main__.TclTest) ... ok > testCallException2 (__main__.TclTest) ... ok > testEval (__main__.TclTest) ... ok > testEvalException (__main__.TclTest) ... ok > testEvalException2 (__main__.TclTest) ... ok > testEvalFile (__main__.TclTest) ... ok > testEvalFileException (__main__.TclTest) ... ok > testGetVar (__main__.TclTest) ... ok > testGetVarArray (__main__.TclTest) ... ok > testGetVarArrayException (__main__.TclTest) ... ok > testGetVarException (__main__.TclTest) ... ok > testLoadTk (__main__.TclTest) ... ok > testLoadTkFailure (__main__.TclTest) ... FAIL > testPackageRequire (__main__.TclTest) ... ok > testPackageRequireException (__main__.TclTest) ... ok > testSetVar (__main__.TclTest) ... ok > testSetVarArray (__main__.TclTest) ... ok > testUnsetVar (__main__.TclTest) ... ok > testUnsetVarArray (__main__.TclTest) ... ok > testUnsetVarException (__main__.TclTest) ... ok > > ====================================================================== > FAIL: testLoadTkFailure (__main__.TclTest) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "../Lib/test/test_tcl.py", line 153, in testLoadTkFailure > self.assertRaises(TclError, tcl.loadtk) > AssertionError: TclError not raised > > ---------------------------------------------------------------------- > Ran 21 tests in 20.394s > > FAILED (failures=1) > Traceback (most recent call last): > File "../Lib/test/test_tcl.py", line 162, in ? > test_main() > File "../Lib/test/test_tcl.py", line 159, in test_main > test_support.run_unittest(TclTest) > File "/Users/skip/src/python/head/dist/src/Lib/test/test_support.py", line 290 > , in run_unittest > run_suite(suite, testclass) > File "/Users/skip/src/python/head/dist/src/Lib/test/test_support.py", line 275 > , in run_suite > raise TestFailed(err) > test.test_support.TestFailed: Traceback (most recent call last): > File "../Lib/test/test_tcl.py", line 153, in testLoadTkFailure > self.assertRaises(TclError, tcl.loadtk) > AssertionError: TclError not raised > I have been getting this error on OS X 10.3.2 ("gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)") but with no core dump regardless if I run test_tcl directly or by execing ``regrtest.py -unetwork`` (how I always run the test suite). I do have Tcl installed on my system and you can import Tkinter but I get the usual "SetFrontProcess failed,-606" error that you get on OS X unless you use the pythonw executable with Tk code. -Brett
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