lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev dev15: table code, memory accident


From: John Bley
Subject: lynx-dev dev15: table code, memory accident
Date: Sat, 20 Nov 1999 16:27:09 -0500

Hmmm.. having a bit of a problem with dev15 in the new table
code:  On starting up lynx,

Read from uninitialized (rui):
Attempting to read 2 bytes at address 0x589058
    which is 56 bytes into a heap block of size 80 bytes at 0x589020
This block was allocated from:
        [1] Stbl_addCellToRow() at line 414 in "TRSTable.c"
        [2] Stbl_addCellToTable() at line 1116 in "TRSTable.c"
        [3] HText_startStblTD() at line 4715 in "GridText.c"
        [4] HTML_start_element() at line 6037 in "HTML.c"
        [5] start_element() at line 1268 in "SGML.c"
        [6] SGML_character() at line 3618 in "SGML.c"
        [7] SGML_write() at line 4316 in "SGML.c"
        [8] HTMIME_write() at line 1713 in "HTMIME.c"

Current function is Stbl_addCellToRow
  401              me->cells[me->ncells].alignment == RESERVEDCELL) {

It appears that the alignment member isn't getting initalized 
in the right spot when the row grows.  Either that or the memory
handling is flubbed.

I'll look into it when I have more free time, but I figured somebody
else could probably fix it faster than I could.

-- 
John Bley
address@hidden
  "Inquisitors create heretics." - Umberto Eco

reply via email to

[Prev in Thread] Current Thread [Next in Thread]