develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [ID 20010821.005] Thread safe queues on SMP kernel

Thread Previous
From:
mstevens
Date:
August 22, 2001 04:01
Subject:
Re: [ID 20010821.005] Thread safe queues on SMP kernel
Message ID:
20010822120100.A20818@firedrake.org
On Wed, Aug 22, 2001 at 12:57:52PM +0200, Arthur Bergman wrote:
> 01-08-22 00.12, skrev David Redmond p? redmond@mscsoftware.com f?ljande:
> 
> > 
> > This is a bug report for perl from david.redmond@mscsoftware.com,
> > generated with the help of perlbug 1.33 running under perl v5.6.1.
> > 
> > 
> > -----------------------------------------------------------------
> > The following source reveals bugs in Thread::Queue consistant with a race
> > condition. This bug is similar to ID 19991203.003
> > <http://archive.develooper.com/perl5-porters%40perl.org/msg04442.html>. The
> > test performed by ext/Thread/queue.t does not pick it up.
> > 
> > Sample output from linux 2.4.3 SMP system:
> > 97 34 30 40 18 1 37 89 23 75 60 44 78 11 65 80 66 19 28 71 55 Attempt to free
> > unreferenced scalar at ./example line 37 thread 1.
> > 43 29 11 84 11 66 31 71 33 2 83 45 94 93 10 60 8 10 41 32 11 5 53 58 31 6 93
> > 29 81 31 85 96 37 59 14 26 26 52 67 54 34 81 90 Attempt to free unreferenced
> > scalar at ./example line 53 thread 2.
> > Segmentation fault
> 
> And this is exactly why 5005threads are considered experimental.

Should this bug remain open? ie are 5005threads something we might
ever potentially want to fix?

Michael

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About