Re: [perl #37308] Parrot gobbles up all the memory

2005-10-10 Thread Leopold Toetsch
On Oct 10, 2005, at 20:24, Andy Dougherty wrote: Why? --optimize does at least two different things: First, obviously, it allows the compiler to optimize. This is often a good strategy for exposing faulty assumptions in code. Second, it enables the DISABLE_GC_DEBUG define, which changes th

Re: [perl #37308] Parrot gobbles up all the memory

2005-10-10 Thread Andy Dougherty
On Fri, 7 Oct 2005, Leopold Toetsch wrote: > > On Oct 7, 2005, at 20:52, Andy Dougherty wrote: > > > perl Configure.pl --optimize=-O3 --debugging=0 --cc=gcc --ld=gcc > > --link=gcc > > ... > Andy slowly please. No --optimize tests yet. Let's first look at plain default > build. Why? --opt

Re: [perl #37308] Parrot gobbles up all the memory

2005-10-07 Thread Leopold Toetsch
On Oct 7, 2005, at 20:52, Andy Dougherty wrote: perl Configure.pl --optimize=-O3 --debugging=0 --cc=gcc --ld=gcc --link=gcc ... Andy slowly please. No --optimize tests yet. Let's first look at plain default build. Intel x86/gcc-3.3.5, built with perl Configure.pl --optimize=

Re: [perl #37308] Parrot gobbles up all the memory

2005-10-07 Thread Andy Dougherty
On Thu, 6 Oct 2005, Leopold Toetsch via RT wrote: > Leopold Toetsch wrote: > > > ... When now this pointer (ctx.rctx) is > > declared being 'void *' it should be compatible with any other pointer > > to a structure. > > I've now rewritten the questioanable code to use a (void*) allocation > p

Re: [perl #37308] Parrot gobbles up all the memory

2005-10-06 Thread Leopold Toetsch
Leopold Toetsch wrote: ... When now this pointer (ctx.rctx) is declared being 'void *' it should be compatible with any other pointer to a structure. I've now rewritten the questioanable code to use a (void*) allocation pointer. I hope it's better now. Could you please try r9367, and repor

Re: [perl #37308] Parrot gobbles up all the memory

2005-10-06 Thread Leopold Toetsch
Andy Dougherty wrote: On Tue, 4 Oct 2005, Leopold Toetsch via RT wrote: Anyway, does: p = (struct Parrot_Context *) ( (char *) p + ALIGNED_CTX_SIZE ); help, or better is it "more correct"? While this does indeed replace the warning by a different warning ("cast increases required alig

Re: [perl #37308] Parrot gobbles up all the memory

2005-10-05 Thread Andy Dougherty
On Tue, 4 Oct 2005, Leopold Toetsch via RT wrote: > On Oct 4, 2005, at 19:06, Andrew Dougherty wrote: > > src/inter_create.c:400: warning: dereferencing type-punned pointer > > will > > break strict-aliasing rules > > The line reads: > > LVALUE_CAST(char *, p) += ALIGNED_CTX_S

Re: [perl #37308] Parrot gobbles up all the memory

2005-10-04 Thread Leopold Toetsch
On Oct 4, 2005, at 19:06, Andrew Dougherty wrote: Ok, I've finally found the cause of this one, but I don't have a portable patch at hand. Buried in amongst the 6827 warnings emitted by gcc is one that actually correctly identifies the problem: There must be some really heavily used macros

Re: [perl #37308] Parrot gobbles up all the memory

2005-10-04 Thread Andrew Dougherty
On Fri, 30 Sep 2005, Andy Dougherty wrote: > On Fri, 30 Sep 2005, Leopold Toetsch via RT wrote: > > > Andy Dougherty (via RT) wrote: > > > > > With a a fresh checkout (r9274) I get a number of errors where parrot > > > eventually > > > gobbles up all the memory on the system. Here's the first

Re: [perl #37308] Parrot gobbles up all the memory

2005-09-30 Thread Andy Dougherty
On Fri, 30 Sep 2005, Leopold Toetsch via RT wrote: > Andy Dougherty (via RT) wrote: > > > With a a fresh checkout (r9274) I get a number of errors where parrot > > eventually > > gobbles up all the memory on the system. Here's the first such one: > > > > t/op/gc > > #

Re: [perl #37308] Parrot gobbles up all the memory

2005-09-30 Thread Leopold Toetsch
Andy Dougherty (via RT) wrote: With a a fresh checkout (r9274) I get a number of errors where parrot eventually gobbles up all the memory on the system. Here's the first such one: t/op/gc # Failed test (t/op/gc.t at line 279) # './parrot --gc-debug "/home/doughe

Re: [perl #37308] Parrot gobbles up all the memory

2005-09-29 Thread jerry gay
On 9/29/05, via RT Andy Dougherty <[EMAIL PROTECTED]> wrote: > # ' > # expected: '3 * 5 == 15! > # ' > # './parrot --gc-debug > "/home/doughera/src/parrot/parrot-andy/t/op/gc_13.pir"' failed with exit code > 131 > # Looks like you failed 1 test of 22. this same test fails on win32, however

[perl #37308] Parrot gobbles up all the memory

2005-09-29 Thread via RT
# New Ticket Created by Andy Dougherty # Please include the string: [perl #37308] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=37308 > With a a fresh checkout (r9274) I get a number of errors where parrot eventually gobb