sem(4) lockup in python?

Attilio Rao attilio at freebsd.org
Sun Feb 5 16:49:25 UTC 2012


2012/2/5 Ivan Voras <ivoras at freebsd.org>:
> On 5 February 2012 11:44, Garrett Cooper <yanegomi at gmail.com> wrote:
>
>>
>>    'make MAKE_JOBS_NUMBER=1' is the workground used right now..
>
> David Xu suggested that it is a bug in Python - it doesn't set
> process-shared attribute when it calls sem_init(), but i've tried
> patching it (replacing the port patchfile file the one I've attached)
> and I still get the hang.

Guys,
it would be valuable if you do the following:
1) recompile your kernel with INVARIANTS, WITNESS and without WITNESS_SKIPSPIN
2a) If you have a serial console, please run the DDB stuff through it
(go to point 3)
2b) If you don't have a serial console please run the DDB stuff in
textdump (go to point 3)
3) Collect the following informations:
- show allpcpu
- show alllocks
- ps
- alltrace
3a) If you had the serial console (thus not textdump) please collect
the coredump with: call doadump
4) reset your machine

You will end up with the textdump or coredump + all the serial logs
necessary to debug this.
If you cannot reproduce your issue with WITNESS enabled, please remove
from your kernel config and avoid to call 'show alllocks' when in DDB.
But try to leave INVARIANTS on.

Hope this helps,
Attilio


-- 
Peace can only be achieved by understanding - A. Einstein


More information about the freebsd-hackers mailing list