Hi,
I'm writing to report a bug that I found in elinks on one of my machine
(I cannot reproduce it on all computers)

I compiled the "master" commit of elinks
(a3751107033599b835eaafa61177c8d4dda4b7ef) with
./configure --prefix=/usr --mandir=/usr/share/man \
              --sysconfdir=/etc \
              --disable-smb --without-x --enable-cgi \
              --enable-leds --enable-256-colors --enable-html-highlight \
              --with-zlib
make

and it ends up in a program that doesn't run:
As soon as I start elinks, an strace of the program shows an infinite
loop of mmap/munmap:
----------
mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x304823a4000
munmap(0x304823a4000, 2097152) = 0
mmap(0x30482400000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x304824a4000
munmap(0x304824a4000, 1048576) = 0
mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x304823a4000
munmap(0x304823a4000, 2097152) = 0
----------

Any idea where it comes from?

I don't know where to look for the error, since I have two computers with
similar configuration (both run archlinux) and one of them works without
problem while the other fails.


NB: it looks like lua_strlen has been depreciated for lua_rawlen so I
also had to change it in scripting/lua/hooks.c


Thanks!
-- 
Ismael

Attachment: signature.asc
Description: Digital signature

_______________________________________________
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users

Reply via email to