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.

Author vinay0410
Recipients davin, pablogsal, vinay0410
Date 2019-09-10.04:58:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568091527.4.0.546896116532.issue38018@roundup.psfhosted.org>
In-reply-to
Content
Hi I have opened another PR: https://github.com/python/cpython/pull/15821
This should fix test failures in FreeBSD.

FreeBSD requires a leading slash in shared memory names. That's why it was throwing the below error:

======================================================================
ERROR: test_shared_memory_basics (test.test_multiprocessing_spawn.WithProcessesTestSharedMemory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/_test_multiprocessing.py", line 3737, in test_shared_memory_basics
    shm1 = shared_memory.SharedMemory(create=True, size=1)
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/multiprocessing/shared_memory.py", line 89, in __init__
    self._fd = _posixshmem.shm_open(
OSError: [Errno 22] Invalid argument: 'test01_fn'
----------------------------------------------------------------------

test01_fn doesn't contain a leading slash that's why it is an invalid argument.
History
Date User Action Args
2019-09-10 04:58:47vinay0410setrecipients: + vinay0410, davin, pablogsal
2019-09-10 04:58:47vinay0410setmessageid: <1568091527.4.0.546896116532.issue38018@roundup.psfhosted.org>
2019-09-10 04:58:47vinay0410linkissue38018 messages
2019-09-10 04:58:46vinay0410create