Re: elinks 0.13-20080905 internal error with a certian HTML file.
Kalle Olavi Niemitalo <[email protected]> Sun, 07 Sep 2008 16:07:42 +0300
| Newsgroups | gmane.comp.web.links |
|---|---|
| Message-ID | <[email protected]> |
أحمد المحمودي <[email protected]> writes: > 2] elinks -no-home -no-connect /path/to/ > Then I follow the link to article_17686.shtml > So far, no trouble happened and the page did display very well. > Then I pressed q and Enter to quit. At that point I got a crash: It still doesn't crash here. > 0x84ad6c0:2688 bad alloc_header block free() @ /tmp/buildd/elinks-0.13~20080907/src/document/document.c:141, alloc'd at /tmp/buildd/elinks-0.13~20080907/src/document/html/renderer.c:168 done_document() in src/document/document.c: 140 for (pos = 0; pos < document->height; pos++) 141* mem_free_if(document->data[pos].chars); realloc_line() in src/document/html/renderer.c: 156 struct line *line; 168* if (!ALIGN_LINE(&line->chars, line->length, length + 1)) 169 return -1; src/document/document.h: 32 struct line { 33 struct screen_char *chars; 34 int length; 35 }; So alloc_header.magic of line.chars has somehow become corrupted. However, it's perhaps not a simple underflow, because alloc_header.file seems correct. It might be an overflow of the previous block, or a write via a stale pointer. > --sysconfdir=/etc/elinks \ What do you have in /etc/elinks/elinks.conf? > Compiler version: gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7) What is the processor architecture? (e.g. i686 or amd64 or alpha) If it's i686, I could perhaps examine a core dump. (Please don't send core dumps to elinks-dev.) > Terminal is a virtual terminal of size: 128x48 What are $TERM, $LANG, $LC_CTYPE, $LC_ALL? Again, if you can reproduce the crash under valgrind, that will be most helpful. Alternatively, you might try electric-fence if you have lots of memory. Disabling --with-guile and other scripting modules may speed up tests and reduce memory consumption and irrelevant error reports from valgrind. _______________________________________________ elinks-dev mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-dev
signature.asc
(application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIw9IxHm9IGt60eMgRAsIhAKCQjeTgk5HL5XiIo/z9aosuTbIcBACgwvmm LDdu2pv4sGp7c4bvePG9UNA= =f75u -----END PGP SIGNATURE-----