Re: Bug#677046: Bug#628493: perl: FTBFS on kfreebsd-i386: t/op/threads failed

2013-09-09 Thread Dominic Hargreaves
On Mon, Sep 09, 2013 at 10:14:53AM +0200, Petr Salinger wrote: > >>IMO, my suggested change (Perl_atfork_reinit) in "Message #54" [1] > >>still should be aplied by perl upstream. While it might not be > >>problem for this testcase, the unlocking in forked child is fragile. > > > >Hi, > > > >I final

Re: Bug#628493: perl: FTBFS on kfreebsd-i386: t/op/threads failed

2013-09-09 Thread Petr Salinger
IMO, my suggested change (Perl_atfork_reinit) in "Message #54" [1] still should be aplied by perl upstream. While it might not be problem for this testcase, the unlocking in forked child is fragile. Hi, I finally (!) got round to submitting this upstream, at [1], and the comment so far is that

Re: Bug#628493: perl: FTBFS on kfreebsd-i386: t/op/threads failed

2013-09-07 Thread Robert Millan
Hi Dominic, Dominic Hargreaves: > > Hi, > > I finally (!) got round to submitting this upstream, at [1], and the > comment so far is that the patch isn't appropriate. If you have any > further thoughts, could you comment on the upstream RT ticket? > > Cheers, > Dominic. > > [1]

Re: Bug#628493: perl: FTBFS on kfreebsd-i386: t/op/threads failed

2013-09-07 Thread Dominic Hargreaves
On Mon, Jun 11, 2012 at 07:03:57AM +0200, Petr Salinger wrote: > >Hi! > > > >I just bisected on past eglibc versions and this is reproducible for me > >(segfault 5% of the time) on kfreebsd-i386, up until this version, with > >which I can't reproduce the problem any more (10,000+ test runs) : > > >

Re: Bug#628493: perl: FTBFS on kfreebsd-i386: t/op/threads failed

2012-06-11 Thread Dominic Hargreaves
clone 628493 -1 -2 reassign -1 perl reassign -2 perl found -1 5.14.2-11 found -2 5.14.2-11 severity -1 important severity -2 wishlist retitle -1 Re-enable kFreeBSD threads test retitle -2 Perl_atfork_reinit change tags -2 +patch thanks On Mon, Jun 11, 2012 at 07:03:57AM +0200, Petr Salinger wrote:

Re: Bug#628493: perl: FTBFS on kfreebsd-i386: t/op/threads failed

2012-06-10 Thread Petr Salinger
Hi! I just bisected on past eglibc versions and this is reproducible for me (segfault 5% of the time) on kfreebsd-i386, up until this version, with which I can't reproduce the problem any more (10,000+ test runs) : eglibc (2.13-22) unstable; urgency=low -- Aurelien Jarno Sat, 10 Dec 2011 2

Re: Bug#628493: perl: FTBFS on kfreebsd-i386: t/op/threads failed

2012-06-10 Thread Steven Chamberlain
reassign 628493 src:eglibc affects 628493 src:perl found 628493 2.13-21 close 628493 2.13-22 user debian-bsd@lists.debian.org usertags 628493 kfreebsd thanks On 10/06/12 23:18, Dominic Hargreaves wrote: > perl -Mthreads -e 'threads->create(sub {})->detach; fork' Hi! I just bisected on past eglib

Re: Bug#628493: perl: FTBFS on kfreebsd-i386: t/op/threads failed

2012-06-10 Thread Dominic Hargreaves
On Sat, Sep 10, 2011 at 09:41:38PM +0300, Niko Tyni wrote: > On Mon, Aug 08, 2011 at 12:36:22PM +0200, Petr Salinger wrote: > > >perl -Mthreads -e 'threads->create(sub {})->detach; fork' > > > > > >which crashes non-deterministically about half the time for me. > > > The problem might be in usage

Re: Bug#628493: perl: FTBFS on kfreebsd-i386: t/op/threads failed

2011-09-10 Thread Niko Tyni
On Mon, Aug 08, 2011 at 12:36:22PM +0200, Petr Salinger wrote: > >perl -Mthreads -e 'threads->create(sub {})->detach; fork' > > > >which crashes non-deterministically about half the time for me. > The problem might be in usage of "pthread_atfork(lock, unlock, unlock)". [...] > It should suffice

Re: Bug#628493: perl: FTBFS on kfreebsd-i386: t/op/threads failed

2011-08-08 Thread Petr Salinger
perl -Mthreads -e 'threads->create(sub {})->detach; fork' which crashes non-deterministically about half the time for me. Thanks for reduced testcase. The problem might be in usage of "pthread_atfork(lock, unlock, unlock)". It is perfectly valid to unlock() in parent. But in child it might be

Re: Bug#628493: perl: FTBFS on kfreebsd-i386: t/op/threads failed

2011-08-04 Thread Niko Tyni
On Tue, Aug 02, 2011 at 04:31:38PM +0300, Niko Tyni wrote: > On Sun, May 29, 2011 at 04:01:48PM +0100, Dominic Hargreaves wrote: > > Source: perl > > Version: 5.14.0-1 > > Severity: important > > > > perl 5.14 failed to build on kfreebsd-i386: > > > >