Skip Menu |

This queue is for tickets about the Thread-Pool-Simple CPAN distribution.

Report information
The Basics
Id: 27385
Status: resolved
Priority: 0/
Queue: Thread-Pool-Simple

People
Owner: Nobody in particular
Requestors: goneri [...] rulezlan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: submit [...] bugs.debian.org
Subject: test block fails sometime
Date: Sat, 2 Jun 2007 11:41:18 +0200
To: bug-Thread-Pool-Simple [...] rt.cpan.org
From: Gonéri Le Bouder <goneri [...] rulezlan.org>
Hello, This is a forwarded bug that was open on Debian Bug Tracker. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427163 Best regards, On Sat, Jun 02, 2007 at 10:42:24AM +0200, Lucas Nussbaum wrote: Show quoted text
> Package: libthread-pool-simple-perl > Version: 0.23-1 > Severity: serious > > Hi, > > libthread-pool-simple-perl's tests sometimes go into a deadlock when > running inside fakeroot. > > This can be reproduced by running: > ~/libthread-pool-simple-perl-0.23# while fakeroot perl t/2.t ; do true; done > > The place where it blocks differ each time. For example, I just got it > to block at the following places: > ok 33 > ok 12 > ok 1 - use Thread::Pool::Simple; > ok 901 > > stracing the sleeping process gives the following results: > * futex(0x525624, FUTEX_WAIT, 1, NULL > * futex(0x75f3b4, FUTEX_WAIT, 1, NULL > * futex(0x525624, FUTEX_WAIT, 9, NULL > I also got it to block in an msgrcv call, but I couldn't reproduce this > right now. > > I could reproduce it: > * in an up to date sid i386 chroot running with an amd64 kernel, on a > 2-CPU system, using fakeroot > * on an amd64 system, 2-CPU system, using fakeroot (without any chroot > involved) > > I could NOT reproduce it: > * on my laptop (i386, single CPU), even using fakeroot > * without using fakeroot, on amd64 > > So, I think that it is related to > fakeroot AND (smp OR amd64) > > Or maybe it's related to a specific kernel version. My laptop runs > 2.6.21-1-686, while the AMD64 I tested it on are running 2.6.18-3-amd64. > > I don't have access to an i386 SMP or an AMD64 UP system to investigate > further.
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

From: martin.ferrari [...] gmail.com
Dear Jianyuan Wu, On Sat Jun 02 05:41:21 2007, goneri@rulezlan.org wrote: Show quoted text
> This is a forwarded bug that was open on Debian Bug Tracker. > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427163
Hi, while looking for important bug still present in Debian I found this one that it's already one year old. Have you got any clues on how to fix this? It'd be great if we could solve this bug in time to include Thread::Pool::Simple in the upcoming Debian release, but with this bug present, that won't happen. Thanks.
Subject: test block fails sometime [not-a-bug]
From: Damyan Ivanov
On Mon Jun 09 04:59:43 2008, martin.ferrari@gmail.com wrote: Show quoted text
> Dear Jianyuan Wu, > > On Sat Jun 02 05:41:21 2007, goneri@rulezlan.org wrote: >
> > This is a forwarded bug that was open on Debian Bug Tracker. > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427163
> > Hi, while looking for important bug still present in Debian I found this > one that it's already one year old.
Thanks to Niko Tyni[1], the problem was nailed down and it is not in Thread-Pool-Simple. [1] http://bugs.debian.org/497693 The root of the failures was in the fact, that during the build of the Debian package, the test suite was run under fakeroot. fakeroot has problems with pthread-ed applications documented in its manpage. So the fix for Debian was to move the test suite during a phase of the build that is not run under fakeroot. Thank you for your patience, this bug may now be closed.
Set status to resolved. Explanation was given in earlier email.