You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Angus Lees <gu...@debian.org> on 2004/03/31 02:00:13 UTC

Forward: Bug#241116: libembperl-perl_2.0b10-1(ia64/unstable): FTBFS: fills chroot

Embperl's "make test" still spins on changeattr.htm (#198), when its
run after SSI/ssibasic.htm (191) on alpha and ia64.  Attached is the
information I was given by one of the ia64 maintainers.

When I've run the test previously (2.0b9dev6) myself through gdb, the
while loop in epdom.c:Attr_selfValue() seems to never drop out, with
the StringAdd() inside that loop appending either "b" or "" to ppAttr
each time around -- judging from the logs here, its probably appending
either "ab" or "a" this time.

Note that its not a simple 32 vs 64bit problem, since Embperl works
fine on sparc, hppa and s390..

This is the main bug keeping Embperl2 out of the next version of
Debian, and I don't really know how to debug it further :(
(Mostly because I haven't read the code carefully enough to understand
the checkpoint and repeatlevel stuff..)

Any ideas Gerald?

 - Gus


Re: Forward: Bug#241116: libembperl-perl_2.0b10-1(ia64/unstable): FTBFS: fills chroot

Posted by Gerald Richter <ri...@ecos.de>.
>
> This version (debian 2.0b10-1) already included these patches:
>   * Include bugfixes from Embperl CVS:
>    - fix Validate JS code
>    - fix endless loop with call sub inside table
>    - fix select without name dynamic loop
>    - fix nesting of tab and select
>    - fix upload with CGI 3.01+ (perl 5.8.3)
>

ok, this seems to be the important fixes.

> Sorry, I should have mentioned that :(
>

No problem

>
>> If this doesn't solve the problem, is there any chances to get ssh
>> access to such a machnine, so that I can debug it myself?
>
> That might be difficult, but I'll see what I can do..

At least that will speed up debugging a lot. If this is not possibe, I try
to prepare  a special debugging version which logs some output. I guess the
problem is in the function Node_selfNextSibling in epdom.c, which doesn't
correctly detect the last sibling and starts over with first one again.

Gerald

---------------------------------------------------------------------------
Gerald Richter            ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
---------------------------------------------------------------------------
Besuchen Sie uns auf der CeBIT (18. - 24. März 2004)
Halle 6 Stand B38-452

ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Forward: Bug#241116: libembperl-perl_2.0b10-1(ia64/unstable): FTBFS: fills chroot

Posted by Angus Lees <gu...@debian.org>.
At Wed, 31 Mar 2004 06:21:12 +0200, Gerald Richter wrote:
> Is it possible to rerun the test with 2.0b11?
> 
> Also  I am not sure if the changes affects this problem, I have made some
> changes that might solves this problem (which caused endless loops in other
> parts of Embperl).

This version (debian 2.0b10-1) already included these patches:
  * Include bugfixes from Embperl CVS:
   - fix Validate JS code
   - fix endless loop with call sub inside table
   - fix select without name dynamic loop
   - fix nesting of tab and select
   - fix upload with CGI 3.01+ (perl 5.8.3)

Sorry, I should have mentioned that :(


> If this doesn't solve the problem, is there any chances to get ssh access to
> such a machnine, so that I can debug it myself?

That might be difficult, but I'll see what I can do..

-- 
 - Gus


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Forward: Bug#241116: libembperl-perl_2.0b10-1(ia64/unstable): FTBFS: fills chroot

Posted by Gerald Richter <ri...@ecos.de>.
Angus,

is it possible to rerun the test with 2.0b11?

Also  I am not sure if the changes affects this problem, I have made some
changes that might solves this problem (which caused endless loops in other
parts of Embperl).

If this doesn't solve the problem, is there any chances to get ssh access to
such a machnine, so that I can debug it myself?

Gerald

Angus Lees wrote:
>> Embperl's "make test" still spins on changeattr.htm (#198), when its
>> run after SSI/ssibasic.htm (191) on alpha and ia64.  Attached is the
>> information I was given by one of the ia64 maintainers.
>>
>> When I've run the test previously (2.0b9dev6) myself through gdb, the
>> while loop in epdom.c:Attr_selfValue() seems to never drop out, with
>> the StringAdd() inside that loop appending either "b" or "" to ppAttr
>> each time around -- judging from the logs here, its probably
>> appending
>> either "ab" or "a" this time.
>>
>> Note that its not a simple 32 vs 64bit problem, since Embperl works
>> fine on sparc, hppa and s390..
>>
>> This is the main bug keeping Embperl2 out of the next version of
>> Debian, and I don't really know how to debug it further :(
>> (Mostly because I haven't read the code carefully enough to
>> understand
>> the checkpoint and repeatlevel stuff..)
>>
>> Any ideas Gerald?
>>
>>  - Gus
>>
>>
>
>
>
>>> Automatic build of libembperl-perl_2.0b10-1 on caballero by
>>> sbuild/ia64 1.170.5
>>> Build started at 20040330-1539
>>
>> [...]
>>
>>> ** Using build dependencies supplied by package:
>>> Build-Depends: apache-dev, apache, libapache-mod-perl, libwww-perl,
>>> libapache-sessionx-perl, libcgi-pm-perl | perl-modules (>= 5.8.0) |
>>> libcgi-perl, libxslt1-dev, libextutils-xsbuilder-perl (>= 0.23-1),
>>> debhelper (>= 3.0.5), perl (>= 5.6.0-17), netbase
>>
>> [...]
>>
>>> **** The following central src deps are (probably) missing:
>>>   zlib1g-dev (>= 1:1.1.4)
>>
>> [...]
>>
>>> #195 asp.htm...               ok
>>> #196 syntax.htm...            ok
>>> #197 syntax.htm...            ok
>>> #198 changeattr.htm...        make[1]: *** [test_dynamic] Terminated
>>> make: *** [build-stamp] Terminated
>>> Build killed with signal 15 after 300 minutes of inactivity
>>
>> A full build log can be found at:
>>
http://buildd.debian.org/build.php?arch=ia64&pkg=libembperl-perl&ver=2.0b10-
1
>>
>> At this point, we have:
>> % ls libembperl-perl-2.0b10/test/tmp
>> -rw-r--r--    1 buildd   buildd          0 Mar 30 15:41 out.htm
>> -rw-r--r--    1 buildd   buildd   29318877169 Mar 30 20:41
>> test.err.log
>> -rw-r--r--    1 buildd   buildd   29323837440 Mar 30 20:41 test.log
>>
>> test.err.log contains:
>> [13733]ERR:  32:  Warning in Perl code: Use of uninitialized value
>> in pattern match (m//) at
>> /build/buildd/libembperl-perl-2.0b10/blib/lib/Embperl/Syntax/SSI.pm
>> line 273. [13733]ERR:  32:  Warning in Perl code: Use of
>> uninitialized value in scalar assignment at
>> /build/buildd/libembperl-perl-2.0b10/test/html/SSIEP/ssiep.htm line
>> 22. [13733]ERR:  32:  Warning in Perl code: rewrite_url got ab
>> [13733]ERR:  32:  Warning in Perl code: rewrite_url got http://dairy
>> milk [13733]ERR:  32:  Warning in Perl code: rewrite_url got ab
>> [13733]ERR:  32:  Warning in Perl code: rewrite_url got http://dairy
>> milk [13733]ERR:  32:  Warning in Perl code: rewrite_url got a
>> [13733]ERR:  8:  Out of memory str_realloc failed
>> 18446744071562068482 bytes [13733]ERR:  8:  Out of memory
>> str_realloc failed 18446744071562068482 bytes [13733]ERR:  8:  Out
>> of memory str_realloc failed 18446744071562068483 bytes [13733]ERR:
>> 8:  Out of memory str_realloc failed 18446744071562068482 bytes
>>
>> (That's about 200 lines into the file, then it repeats that last
>> line until
>> disk full.)
>>
>> test.log contains:
>> [13733]Checkpoint: ok DomTree=140 2 -> 2 SVs=66949
>> [13733]ERR:  32:  Warning in Perl code: rewrite_url got ab
>> [13733]ERR:  32:  Warning in Perl code: rewrite_url got http://dairy
>> milk [13733]ERR:  32:  Warning in Perl code: rewrite_url got ab
>> [13733]ERR:  32:  Warning in Perl code: rewrite_url got http://dairy
>> milk [13733]Checkpoint: ok DomTree=140 3 -> 3 SVs=66961
>> [13733]ERR:  32:  Warning in Perl code: rewrite_url got a
>> [13733]Checkpoint: jump backward DomTree=140 Index=4 Node=38(38)
>> RepeatLevel=1 Line=27 -> Index=3 Node=55(30) Line=26 SVs=66964
>> [13733]ERR:  8:  Out of memory str_realloc failed
>> 18446744071562068482 bytes [13733]ERR:  8:  Out of memory
>> str_realloc failed 18446744071562068482 bytes [13733]ERR:  8:  Out
>> of memory str_realloc failed 18446744071562068483 bytes
>>
>> And repeats.
>>
>> lamont
>>
>>
>
>
>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>> For additional commands, e-mail: embperl-help@perl.apache.org

---------------------------------------------------------------------------
Gerald Richter            ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
---------------------------------------------------------------------------
Besuchen Sie uns auf der CeBIT (18. - 24. März 2004)
Halle 6 Stand B38-452

ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org