New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiprocessing build fails on Solaris 10 #47399
Comments
The multiprocessing module fails to build on Solaris 10 when using the Defining that symbol (e.g. as _POSIX_SEM_VALUE_MAX) builds the However, for 32-bit, 5 tests from test_multiprocessing fail due to the ./python Lib/test/test_multiprocessing.py
test_array (__main__.WithProcessesTestArray) ... ERROR
test_getobj_getlock_obj (__main__.WithProcessesTestArray) ... ERROR
test_rawarray (__main__.WithProcessesTestArray) ... ERROR
test_notify (__main__.WithProcessesTestCondition) ... Process Process-1:
Traceback (most recent call last):
File "/..../64/Python-2.6b1/Lib/multiprocessing/process.py", line 237,
in _bootstrap
self.run()
File "/.../64/Python-2.6b1/Lib/multiprocessing/process.py", line 93,
in run
self._target(*self._args, **self._kwargs)
File "Lib/test/test_multiprocessing.py", line 610, in f
sleeping.release()
ValueError: semaphore or lock released too many times This is Solaris 10 on an Ultra20 (Opteron) machine:
|
One more comment on SEM_VALUE_MAX for Solaris. _POSIX_SEM_VALUE_MAX is /usr/include/limits.h:#define _POSIX_SEM_NSEMS_MAX 256 /usr/include/sys/param.h:#define _SEM_NSEMS_MAX INT_MAX Btw, the value of _POSIX_SEM_MAX_VALUE is 32767. |
This is a duplicate of bpo-3110. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: