Re: [PATCH] Re: Crash when joining multiple threads

2004-01-06 Thread Leopold Toetsch
Jeff Clites <[EMAIL PROTECTED]> wrote: > I tracked down how I3 was getting set, even though from the pasm it > looks like nothing should be changing it. It turns out to be a side > effect of the use of NCI in the threading implementation; the problem > wasn't showing up for you since you have CAN_B

gdbm_compat (Was: [PATCH] Re: Crash when joining multiple threads)

2004-01-06 Thread Lars Balker Rasmussen
Matt Fowles <[EMAIL PROTECTED]> writes: > $ cat test.ldo > /usr/bin/ld: cannot find -lgdbm_compat > collect2: ld returned 1 exit status > > > Hope someone know more about this gdbm_compat thing then I do... > > I am running a relatively stock Debian testing box. Changing line 27 of config/inter/pr

Re: [PATCH] Re: Crash when joining multiple threads

2004-01-06 Thread Matt Fowles
All~ I just got a brand new checkout tonite and have the following problem: $ perl Configure.pl Parrot Version 0.0.13 Configure 2.0 Copyright (C) 2001-2003 The Perl Foundation. All Rights Reserved. Hello, I'm Configure. My job is to poke and prod your system to figure out how to build Parrot.

[PATCH] Re: Crash when joining multiple threads

2004-01-06 Thread Jeff Clites
On Jan 5, 2004, at 9:37 AM, Leopold Toetsch wrote: Jeff Clites <[EMAIL PROTECTED]> wrote: On Jan 5, 2004, at 5:32 AM, Leopold Toetsch wrote: The return value is only returned, when I3 != 0. For your example that shouldn't be the case (I3 is unused aka zero). So there isn't any return value pass

Re: Crash when joining multiple threads

2004-01-05 Thread Leopold Toetsch
Jeff Clites <[EMAIL PROTECTED]> wrote: > On Jan 5, 2004, at 5:32 AM, Leopold Toetsch wrote: >> The return value is only returned, when I3 != 0. For your example that >> shouldn't be the case (I3 is unused aka zero). So there isn't any >> return >> value passed back. > Yep, the second time throug

Re: Crash when joining multiple threads

2004-01-05 Thread Jeff Clites
On Jan 5, 2004, at 5:32 AM, Leopold Toetsch wrote: Jeff Clites <[EMAIL PROTECTED]> wrote: If I run this code, which should just be a loop which creates-then-joins a thread (looping twice), I get a crash at the end: The problem is that when joining the _second_ time, in pt_thread_join() you get a

Re: Crash when joining multiple threads

2004-01-05 Thread Leopold Toetsch
Jeff Clites <[EMAIL PROTECTED]> wrote: > If I run this code, which should just be a loop which > creates-then-joins a thread (looping twice), I get a crash at the end: > The problem is that when joining the _second_ time, in pt_thread_join() > you get a return value from joining the thread The re

Crash when joining multiple threads

2004-01-05 Thread Jeff Clites
If I run this code, which should just be a loop which creates-then-joins a thread (looping twice), I get a crash at the end: set I16, 0 again: inc I16 new P5, .ParrotThread find_global P6, "_foo" find_method P0, P5, "thread3" invoke set I5, P5 getinterp P2 find