[Lxc-users] LXC, Python 2.6, and Multiprocessing.synchronize

Serge E. Hallyn serge.hallyn at canonical.com
Tue Sep 27 13:27:56 UTC 2011


Quoting Robert Pendell (shinji at elite-systems.org):
> python crash
> Traceback (most recent call last):
>   File "/home/shinji/trunk/chromite/bin/parallel_emerge", line 116, in
> <module>
>     KILLED = multiprocessing.Event()
>   File "/usr/lib64/python2.6/multiprocessing/__init__.py", line 206, in
> Event
>     return Event()
>   File "/usr/lib64/python2.6/multiprocessing/synchronize.py", line 268, in
> __init__
>     self._cond = Condition(Lock())
>   File "/usr/lib64/python2.6/multiprocessing/synchronize.py", line 117, in
> __init__
>     SemLock.__init__(self, SEMAPHORE, 1, 1)
>   File "/usr/lib64/python2.6/multiprocessing/synchronize.py", line 49, in
> __init__
>     sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
> OSError: [Errno 38] Function not implemented

Could also be that the userspace isn't set up quite right - i.e. the
wrong syscall numbers listed in the include files or libraries.  But
yes, it called a syscall number that is not defined.  Could've been
worse, it could have called a syscall # for a different syscall, that
can get tough to diagnose :)

-serge




More information about the lxc-users mailing list