Hi Neil,

I didn't managed to fix the bug so far. The best thing is to use [+ +]
instead of print OUT, because handling of print OUT is much more complicated
inside Embperl.

Gerald

--------------------------------------------------------------
Gerald Richter     ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
--------------------------------------------------------------
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-------------------------------------------------------------

----- Original Message -----
From: "Neil Gunton" <[EMAIL PROTECTED]>
To: "embperl" <[EMAIL PROTECTED]>
Sent: Wednesday, July 02, 2003 8:21 PM
Subject: Nested <DL> Bug in 2.0b9


> Hi Gerald, still testing 2.0b9 on my crazyguyonabike codebase - good
> news, a few pages now seem to work, so progress being made! However, one
> of my pages caused my machine to lock up completely - turned out that
> the Apache process was taking up 100% of CPU and eventually exhausted
> all virtual memory too. Not good! It took a little while, but I think
> I've narrowed down what causes this to happen. The following code seems
> to be a minimal case for making the bug manifest:
>
> [- $count = 0 -]
> <DL>
>      [$ while $count < 10 $]
>         <DL>
> <DD>[- print OUT $count; -]
> </DL>
> [- $count++ -]
>      [$ endwhile $]
> </DL>
>
> The key things here are that if I take out the inner nested <DL> then it
> works ok. And if I take out the [$ while $] loop it also works ok...
> when I have the nested <DL> inside the [$ while $] loop it loops
> forever. The 'print OUT' also seems to be necessary for the bug to show
> itself - if I replace it with [+ $count +] then the code works ok.
>
> This is running under Embperl::Object on RedHat 7.3, Apache/1.3.27,
> mod_perl/1.27.
>
> Hope this helps,
>
> -Neil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to