Issue11760
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2011-04-04 10:15 by vstinner, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Messages (4) | |||
---|---|---|---|
msg132927 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2011-04-04 10:15 | |
Trace: -------------------- ... [ 79/354] test_time [ 80/354] test_zlib Fatal Python error: Bus error Traceback (most recent call first): File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/test/test_zlib.py", line 85 in test_big_buffer File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/unittest/case.py", line 387 in _executeTestPart File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/unittest/case.py", line 442 in run File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/unittest/case.py", line 494 in __call__ File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/unittest/suite.py", line 105 in run File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/unittest/suite.py", line 67 in __call__ File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/unittest/suite.py", line 105 in run File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/unittest/suite.py", line 67 in __call__ File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/test/support.py", line 1078 in run File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/test/support.py", line 1166 in _run_suite File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/test/support.py", line 1192 in run_unittest File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/test/test_zlib.py", line 611 in test_main File "./Lib/test/regrtest.py", line 1032 in runtest_inner File "./Lib/test/regrtest.py", line 826 in runtest File "./Lib/test/regrtest.py", line 650 in main File "./Lib/test/regrtest.py", line 1607 in <module> make: *** [buildbottest] Bus error program finished with exit code 2 elapsedTime=1400.363321 -------------------- http://www.python.org/dev/buildbot/all/builders/AMD64%20Snow%20Leopard%203.x/builds/44/steps/test/logs/stdio |
|||
msg132936 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2011-04-04 11:17 | |
Another failure on test_zlib on the same buildbot: build 30 http://www.python.org/dev/buildbot/all/builders/AMD64%20Snow%20Leopard%203.x/builds/30/steps/test/logs/stdio -- I already noticed some failures on test_mmap: build 8, 25 and 36 http://www.python.org/dev/buildbot/all/builders/AMD64%20Snow%20Leopard%203.x/builds/36/steps/test/logs/stdio http://www.python.org/dev/buildbot/all/builders/AMD64%20Snow%20Leopard%203.x/builds/25/steps/test/logs/stdio http://www.python.org/dev/buildbot/all/builders/AMD64%20Snow%20Leopard%203.x/builds/8/steps/test/logs/stdio -- and on test_urllibnet: build 7 http://www.python.org/dev/buildbot/all/builders/AMD64%20Snow%20Leopard%203.x/builds/7/steps/test/logs/stdio (network issue?) -- and on test_threadsignals http://www.python.org/dev/buildbot/all/builders/AMD64%20Snow%20Leopard%203.x/builds/2/steps/test/logs/stdio Issue #11738? |
|||
msg132937 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2011-04-04 11:23 | |
test_zlib failure is on zlib.crc32(mmap.mmap(...)) with a mapping bigger than 4 GB: ---------------------- # Issue #10276 - check that inputs >=4GB are handled correctly. class ChecksumBigBufferTestCase(unittest.TestCase): def setUp(self): with open(support.TESTFN, "wb+") as f: f.seek(_4G) f.write(b"asdf") with open(support.TESTFN, "rb") as f: self.mapping = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ) def tearDown(self): self.mapping.close() support.unlink(support.TESTFN) @unittest.skipUnless(mmap, "mmap() is not available.") @unittest.skipUnless(sys.maxsize > _4G, "Can't run on a 32-bit system.") @unittest.skipUnless(support.is_resource_enabled("largefile"), "May use lots of disk space.") def test_big_buffer(self): self.assertEqual(zlib.crc32(self.mapping), 3058686908) <~~~ HERE self.assertEqual(zlib.adler32(self.mapping), 82837919) ---------------------- It looks to be related to #11277 (and #10276). |
|||
msg132939 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2011-04-04 11:31 | |
This issue is a duplicate of #11277. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:15 | admin | set | github: 55969 |
2011-04-04 11:31:09 | vstinner | set | status: open -> closed resolution: duplicate messages: + msg132939 |
2011-04-04 11:23:39 | vstinner | set | messages: + msg132937 |
2011-04-04 11:17:13 | vstinner | set | messages: + msg132936 |
2011-04-04 10:15:34 | vstinner | create |