Discussion:
vsource/dpip endless loop
corvid
2012-12-26 03:06:36 UTC
Permalink
I have a recentish version of the html5 working draft as one page, and
it's over 6 megs. If I view source on it, this is rather slow and gives
me time to hit Escape and Ctrl-W. Then top shows vsource using all of
the processor until I kill it.

(gdb) bt
#0 0x0804a843 in a_Dpip_dsh_read_token (dsh=0x9e7ae18, blocking=1)
at dpip.c:455
#1 0x080491f9 in send_html_text (sh=0x9e7ae18,
url=0x9e7ced6 "file:/home/corvid/html5.html.gz", data_size=6402268)
at vsource.c:121
#2 0x08049460 in main () at vsource.c:219
Jorge Arellano Cid
2012-12-26 12:30:22 UTC
Permalink
Post by corvid
I have a recentish version of the html5 working draft as one page, and
it's over 6 megs. If I view source on it, this is rather slow and gives
me time to hit Escape and Ctrl-W. Then top shows vsource using all of
the processor until I kill it.
(gdb) bt
#0 0x0804a843 in a_Dpip_dsh_read_token (dsh=0x9e7ae18, blocking=1)
at dpip.c:455
#1 0x080491f9 in send_html_text (sh=0x9e7ae18,
url=0x9e7ced6 "file:/home/corvid/html5.html.gz", data_size=6402268)
at vsource.c:121
#2 0x08049460 in main () at vsource.c:219
Ah, yes.

I'm testing a little patch for this now...
--
Cheers
Jorge.-
Jorge Arellano Cid
2012-12-26 15:07:35 UTC
Permalink
Post by corvid
I have a recentish version of the html5 working draft as one page, and
it's over 6 megs. If I view source on it, this is rather slow and gives
me time to hit Escape and Ctrl-W. Then top shows vsource using all of
the processor until I kill it.
(gdb) bt
#0 0x0804a843 in a_Dpip_dsh_read_token (dsh=0x9e7ae18, blocking=1)
at dpip.c:455
#1 0x080491f9 in send_html_text (sh=0x9e7ae18,
url=0x9e7ced6 "file:/home/corvid/html5.html.gz", data_size=6402268)
at vsource.c:121
#2 0x08049460 in main () at vsource.c:219
Patch committed.
--
Cheers
Jorge.-
Loading...