Hi,
in w3m 0.1.10, the following web page (during frame rendering) seems to eat up
memory: <http://www.d6.dion.ne.jp/~iidaka/index2.html>
The screen will display a few lines like "Needed to allocate blacklisted block
at 0x82e5000", then it (the computer, not just w3m) will seem to hang.
If I run it in gdb and interrupt it (to prevent the box from going down),
I get something like this (line numbers are from unpatched w3m 0.1.10):
Needed to allocate blacklisted block at 0x82a9000
Needed to allocate blacklisted block at 0x8a22000
Quit
(gdb) bt
#0 GC_malloc (lb=12) at malloc.c:214
#1 0x8074d43 in Strnew () at Str.c:37
#2 0x8064688 in feed_table (tbl=0x8109660, tline=0xbffff324, mode=0x808a588,
width=131) at table.c:2498
#3 0x8057826 in HTMLlineproc1 (istr=0x8080014 "</table>", h_env=0xbffff424)
at file.c:4044
#4 0x80589eb in loadHTMLstream (f=0xbffff690, newBuf=0x80e5900, src=0x80c8b20)
at file.c:4675
#5 0x80581e7 in loadHTMLBuffer (f=0xbffff690, newBuf=0x80e5900) at file.c:4396
#6 0x804f6a6 in loadSomething (f=0xbffff690,
path=0x80afc60 "/~iidaka/top2.html", loadproc=0x8058174 <loadHTMLBuffer>,
defaultbuf=0x80e5900) at file.c:162
#7 0x80513d9 in loadGeneralFile (path=0x80c94b0 "top2.html",
current=0x80e5dec, referer=0x0, flag=0, request=0x0) at file.c:1068
#8 0x80679f0 in frame_download_source (b=0x80b6578, currentURL=0x80e5dec,
baseURL=0x0) at frame.c:388
#9 0x8067d58 in createFrameFile (f=0x80b65c8, f1=0x80c8f20,
current=0x80e5d80, level=0) at frame.c:502
#10 0x8068706 in renderFrame (Cbuf=0x80e5d80) at frame.c:762
#11 0x804ef86 in rFrame () at main.c:3193
#12 0x804cdd4 in loadNormalBuf (buf=0x80e5d80, renderframe=1) at main.c:1845
#13 0x804cf39 in loadLink (
url=0x8100cb0 "http://www.d6.dion.ne.jp/~iidaka/index2.html", target=0x0,
---Type <return> to continue, or q <return> to quit---
referer=0x80f9f68 "http://dir.yahoo.co.jp/Social_Science/Linguistics_and_Human_Languages/Languages/Japanese/", request=0x0) at main.c:1906
#14 0x804d252 in followA () at main.c:2016
#15 0x804b442 in keyPressEventProc (c=10) at main.c:648
#16 0x804b419 in real_main (argc=2, argv=0xbffff92c, envp=0xbffff938)
at main.c:638
#17 0x804a21d in main (argc=2, argv=0xbffff92c, envp=0xbffff938) at gcmain.c:21
#18 0x804a15e in ___crt_dummy__ ()
(gdb)
Sometimes, there are function calls below GC_malloc().
--
Ambrose Li 1024D 945C 2CF7 001D 5F03 B026 375F C5CF A55C 9F10 8B0E
Tel +1 416 321 0088 x272 EDP Department (Toronto), Ming Pao Daily News
FAX +1 416 321 9663 ``A good style should show no sign of effort;
what is written should seem a happy accident'' - Somerset Maugham
This archive was generated by hypermail 2b29 : Thu Jul 20 2000 - 12:00:43 CDT