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.

Title: Bus error in test_big_buffer() of test_zlib on "AMD64 Snow Leopard 3.x" buildbot
Type: Stage:
Components: Library (Lib) Versions: Python 3.3
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: pitrou, vstinner
Priority: normal Keywords:

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) * (Python committer) Date: 2011-04-04 10:15
[ 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/", line 85 in test_big_buffer
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/unittest/", line 387 in _executeTestPart
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/unittest/", line 442 in run
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/unittest/", line 494 in __call__
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/unittest/", line 105 in run
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/unittest/", line 67 in __call__
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/unittest/", line 105 in run
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/unittest/", line 67 in __call__
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/test/", line 1078 in run
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/test/", line 1166 in _run_suite
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/test/", line 1192 in run_unittest
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/test/", line 611 in test_main
  File "./Lib/test/", line 1032 in runtest_inner
  File "./Lib/test/", line 826 in runtest
  File "./Lib/test/", line 650 in main
  File "./Lib/test/", line 1607 in <module>
make: *** [buildbottest] Bus error
program finished with exit code 2
msg132936 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2011-04-04 11:17
Another failure on test_zlib on the same buildbot: build 30


I already noticed some failures on test_mmap: build 8, 25 and 36


and on test_urllibnet: build 7

(network issue?)


and on test_threadsignals

Issue #11738?
msg132937 - (view) Author: STINNER Victor (vstinner) * (Python committer) 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:
        with open(support.TESTFN, "rb") as f:
            self.mapping = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ)

    def tearDown(self):

    @unittest.skipUnless(mmap, "mmap() is not available.")
    @unittest.skipUnless(sys.maxsize > _4G, "Can't run on a 32-bit system.")
                         "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) * (Python committer) Date: 2011-04-04 11:31
This issue is a duplicate of #11277.
Date User Action Args
2022-04-11 14:57:15adminsetgithub: 55969
2011-04-04 11:31:09vstinnersetstatus: open -> closed
resolution: duplicate
messages: + msg132939
2011-04-04 11:23:39vstinnersetmessages: + msg132937
2011-04-04 11:17:13vstinnersetmessages: + msg132936
2011-04-04 10:15:34vstinnercreate