[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

BUG REPORT: Website META Language 1.6.8 (12-01-1999)

__        ___  __ _     
\ \      / / \/  | |      Website META Language
 \ \ /\ / / |\/| | |      Version 1.6.8 (12-01-1999)
  \ V  V /| |  | | |___ 
   \_/\_/ |_|  |_|_____|  BUG REPORT

From:     Davor Cengija
Reply-To: davor@linuxfan.com


       (i did this by purpose, but this situation could actually apprear
       in the real life):

       when nesting navbars recursivelly, eperl eats up all the memory 
       (as expected)

ePerl:Error: Perl runtime error (interpreter rc=1)

---- Contents of STDERR channel: ---------
Out of memory!

** WML:Break: Error in Pass 3 (rc=74).
** WMk:Break: Error in WML (rc=256)

       this is the .wml file:

#use 'navbar.src'
#use wml::std::page


<navbar:define name=main txtonly>
	<navbar:button id="item1" url="item1.html" txt="item1">
	<navbar:button id="item2" url="item2.html" txt="itme2" menu="menu1">
	<navbar:button id="item3" url="item3.html" txt="item3" menu="menu2">
	<navbar:button url="#PREV#" txt="[PREV]">
	<navbar:button url="#NEXT#" txt="[NEXT]">
<navbar:define name="menu1" txtonly>
	<navbar:button id="subitem1" url="item2.html#subitem1" txt="subitem1">
	<navbar:button id="subitem2" url="item2.html#subitem2" txt="subitem2" menu="menu2">
<navbar:define name="menu2" txtonly>
	<navbar:button id="subitem3" url="item3.html#subitem3" txt="subitem3">
	<navbar:button id="subitem4" url="item3.html#subitem4" txt="subitem4" menu="menu1">

<navbar:render name="main" select=subitem2>

       menu1 calls menu2 which calls menu1 etc.

       i think some kind of checking should be incorporated to avoid recursion.

Used WML System:
Built Environment:
    Host: i586-pc-linux-gnu
    Perl: 5.005_02 (/usr/bin/perl)
    User: root@kanta.smece.hr
    Date: 10-Feb-1999
Built Location:
    Prefix: /opt2/local/wml
    BinDir: /opt2/local/wml/bin
    LibDir: /opt2/local/wml/lib
    ManDir: /opt2/local/wml/man

Used Perl System:
Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
    osname=linux, osvers=2.0.36, archname=i386-linux
    uname='linux porky.redhat.com 2.0.36 #1 tue oct 13 22:17:11 edt 1998 i686 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    cc='cc', optimize='-O2', gccversion=egcs-2.91.60 19981201 (egcs-1.1.1 release)
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Characteristics of this binary (from libperl): 
  Built under linux
  Compiled at Dec  5 1998 05:01:34
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com