Re: [dev] [surf] some potential bugs and some user questions

From: Pierre Chapuis <catwell_AT_archlinux.us>
Date: Mon, 14 Dec 2009 17:52:19 +0000

Le Mon, 14 Dec 2009 11:41:18 -0500,
G David Modica <GDavidModica_AT_aaaHawk.com> a écrit :

> On 04:56 Mon 14 Dec , Jorge Vargas wrote:
> >
> > 1- for some reason surf stalls for a couple of seconds on a new page,
> > I just hit ctrl-g suckless.org <enter> and it stalled for 11sec! with
> > a [0%] indicator then loaded the page really fast. Is there a way I
> > can get a log of what it's doing? I believe it's my problem either one
> > of (slow internet speed, crappy DNS and/or running inside a
> > VirtualMachine) but I want to be sure. I don't see this in Firefox
> > however it could be that surf is faster hence the slowdown is bigger.
> > <-- this is almost a showstopper :(
> >
> +1 frequently but not always.

Hello all, I'm new to the list and I observed the same behavior.
I used strace on it and I think it might come from plugins because
I got that output when it froze (for example on linuxmail.org):

    [...]
    connect(19, {sa_family=AF_FILE, path="/tmp/_org_wrapper_NSPlugins_libflashplayer.so_5191-1"}, 54) = -1 ENOENT (No such file or directory)
    select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
    connect(19, {sa_family=AF_FILE, path="/tmp/_org_wrapper_NSPlugins_libflashplayer.so_5191-1"}, 54) = -1 ENOENT (No such file or directory)
    select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
    connect(19, {sa_family=AF_FILE, path="/tmp/_org_wrapper_NSPlugins_libflashplayer.so_5191-1"}, 54) = -1 ENOENT (No such file or directory)
    select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
    [...]

It never happened to me with suckless.org (which has no Flash
content) though...

Another bug: surf segfaults when trying to access some webpages such as
http://la-grange.net/2009/12/02/regex-python. This time the output of
strace is:

    [...]
    poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=8, events=POLLIN}, {fd=7, events=POLLIN}, {fd=11, events=POLLIN}, {fd=6, events=POLLIN}], 6, 0) = 0 (Timeout)
    munmap(0x7fd1b0822000, 302688) = 0
    open("/usr/share/fonts/TTF/arialbd.ttf", O_RDONLY) = 13
    fcntl(13, F_SETFD, FD_CLOEXEC) = 0
    fstat(13, {st_mode=S_IFREG|0644, st_size=286620, ...}) = 0
    mmap(NULL, 286620, PROT_READ, MAP_PRIVATE, 13, 0) = 0x7fd1b0826000
    close(13) = 0
    --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    +++ killed by SIGSEGV +++
    zsh: segmentation fault strace surf

I use surf-0.3 on x86_64, I will try with the hg version later in the
day to see if it has been fixed.

-- 
catwell
Received on Mon Dec 14 2009 - 17:52:19 UTC

This archive was generated by hypermail 2.2.0 : Mon Dec 14 2009 - 18:00:03 UTC