lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV debugging that URL that dumps on lynx2.6 + mb007 news


From: Filip M Gieszczykiewicz
Subject: LYNX-DEV debugging that URL that dumps on lynx2.6 + mb007 news
Date: Tue, 12 Nov 1996 13:34:20 -0600 (CST)

Greetings. Here's what I get with gdb on the file:

http://www.safetycare.com.au/mig.html

with my debug-complied lynx:

-----------------chop-with-axe----------------chop-with-axe---------------------
Program received signal SIGSEGV, Segmentation fault.
strcasecomp (a=0x0, b=0xc3e00 "VLINK") at 
../../Library/Implementation/HTString.c:37
37          for (p = a, q = b; *p && *q; p++, q++) {
(gdb) where
#0  strcasecomp (a=0x0, b=0xc3e00 "VLINK") at 
../../Library/Implementation/HTString.c:37
#1  0x4b4fd in handle_attribute_name (context=0xcb600, s=0xc3e00 "VLINK")
    at ../../Library/Implementation/SGML.c:133
#2  0x4d3b1 in SGML_character (context=0xcb600, c=61 '=')
    at ../../Library/Implementation/SGML.c:1315
#3  0x4de6e in SGML_write (context=0xcb600,
    str=0xac320 "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 3.0//EN\"
\"html.dtd\">\r\n<HTML>\r\n<HEAD><TITLE>SafetyCare</TITLE>\r\n</HEAD>\r\n<BODY
BACKGROUND=\"scbg.gif\">\r\n<BODYTEXT=\"#71762E\" LINK=\"#000000\" 
VLINK=\"#000000\"
ALINK="..., l=2143) at ../../Library/Implementation/SGML.c:1762
#4  0x629ac in HTFileCopy (fp=0xc3f80, sink=0xcb600) at
../../Library/Implementation/HTFormat.c:609
#5  0x62c2f in HTParseFile (rep_in=0xc2df8, format_out=0xc2fc0, anchor=0xc3e80, 
fp=0xc3f80,
    sink=0x0) at ../../Library/Implementation/HTFormat.c:751
#6  0x5812b in HTLoadFile (addr=0xbfc80 
"file://localhost/usr/tmp/lynx2-6/../mig.html",
    anchor=0xc3e80, format_out=0xc2fc0, sink=0x0) at 
../../Library/Implementation/HTFile.c:1816
#7  0x4fa19 in HTLoad (addr=0xbfd00 
"file://localhost/usr/tmp/lynx2-6/../mig.html",
    anchor=0xc3e80, format_out=0xc2fc0, sink=0x0) at
../../Library/Implementation/HTAccess.c:539
#8  0x4fff3 in HTLoadDocument (
    full_address=0xbfd00 "file://localhost/usr/tmp/lynx2-6/../mig.html", 
anchor=0xc3e80,
    format_out=0xc2fc0, sink=0x0) at ../../Library/Implementation/HTAccess.c:704
#9  0x503d3 in HTLoadAbsolute (docaddr=0xbfffe7c8) at
../../Library/Implementation/HTAccess.c:873
#10 0xd4be in getfile (doc=0xa959c) at LYGetFile.c:569
#11 0x152ac in mainloop () at LYMainLoop.c:294
#12 0xf6b9 in main (argc=2, argv=0xbffffa7c) at LYMain.c:1135
(gdb) print p
$1 = 0x0
(gdb) print q
$2 = 0xc3e00 "VLINK"
-----------------chop-with-axe----------------chop-with-axe---------------------

I have no idea what lynx is doing, what the problem is, or how to
fix it... except maybe add a check for a NULL "p" before the for(..)
Or is there a patch that already fixes this? Wizards?

Take care.

P.S. I found a bug or two in mb007 and added a little nice touch to
saving sub-bookmarks (decription gets put in the title) and 008 will
be out RSN.
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;



reply via email to

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