Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Feb 2012 17:49:23 +0100
From:      Attilio Rao <attilio@freebsd.org>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        Garrett Cooper <yanegomi@gmail.com>, freebsd-hackers@freebsd.org, Xin LI <delphij@delphij.net>, davidxu@freebsd.org, Jan Mikkelsen <janm-freebsd-hackers@transactionware.com>
Subject:   Re: sem(4) lockup in python?
Message-ID:  <CAJ-FndCMst_LYAAevbsMNTZ9TVyv5nHsyttXfYeNYOQN9JhA0A@mail.gmail.com>
In-Reply-To: <CAF-QHFVADLkduLH1AG_hSZeDtDVCC=FkqZxbxrsMY3Y3%2BsMZ8A@mail.gmail.com>
References:  <jejrbe$or8$1@dough.gmane.org> <201201110806.30620.jhb@freebsd.org> <CAF-QHFWFvYTPeM68Mk%2BOYVX--MNhKOJ2o1GF9ZOsBmtiC5fYFQ@mail.gmail.com> <CAGH67wRsek2-WY_ETW6QEER1r5dDXLXfDjbzpHMjtv059Y8cJw@mail.gmail.com> <5D37298B-9D68-4F0F-8AAB-E8F2DBB9D9C3@transactionware.com> <CAGH67wT3HuxPHUXeTib0qJNH%2BO5snn3Eiim1bfj8LewYoKdXdA@mail.gmail.com> <CAF-QHFVADLkduLH1AG_hSZeDtDVCC=FkqZxbxrsMY3Y3%2BsMZ8A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2012/2/5 Ivan Voras <ivoras@freebsd.org>:
> On 5 February 2012 11:44, Garrett Cooper <yanegomi@gmail.com> wrote:
>
>>
>> =C2=A0 =C2=A0'make MAKE_JOBS_NUMBER=3D1' is the workground used right no=
w..
>
> 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_SKIPS=
PIN
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


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-FndCMst_LYAAevbsMNTZ9TVyv5nHsyttXfYeNYOQN9JhA0A>