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

wml lockup again



Wml (2.0.4) is hanging forever again. This time I am building
News/weekly/2000/7/mail.wml and News/weekly/2000/17/mail.wml.

joey@kite:~/debian/weekly/2000/7>wml -q -D CUR_YEAR=2000
-DWML_SRC_REALNAME="Joey Hess" -DWML_SRC_USERNAME=joeyh -o
UNDEFuEN:mail.en.html@g+w -v9
** WML:Verbose: Reading RC file: /home/joey/debian/webwml/english/.wmlrc

Seems to hang here forever spinning (or at least for 10 minutes), and it
seems to be hanging in pass 1 (!). Strace shows it lock up at the
following:

unlink("/tmp/wml.input.17674.tmp")      = -1 ENOENT (No such file or directory)
open("/tmp/wml.input.17674.tmp", O_WRONLY|O_CREAT|O_TRUNC|0x8000, 0666) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
ioctl(0, TCGETS, {B9600 opost isig icanon echo ...}) = 0
read(0, 

perl -d shows what seems to be the following loop:

main::(/usr/bin/wml:463):           while (<STDIN>) {
  DB<1> 

main::(/usr/bin/wml:464):               print TMP $_;
  DB<1> 
main::(/usr/bin/wml:463):           while (<STDIN>) {
  DB<1> 

main::(/usr/bin/wml:464):               print TMP $_;

Which is weird as that would imply it is reading from stdin...

I have removed both mail.wml files so I can still build the website, but it's
in the attic if someone wants to take a look at this.

-- 
see shy jo



Reply to: