lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev lynx 2.8.2dev.17 core dump


From: brian j pardy
Subject: Re: lynx-dev lynx 2.8.2dev.17 core dump
Date: Sat, 27 Feb 1999 21:02:36 -0800

On Sat, Feb 27, 1999, Larry W. Virden wrote:
> While playing with the current lynxrc file, I tried pointing lynx to my
> netscape cookie file to see if I could share cookie jars.
> 
> I got a segmentation fault when lynx attempted to write things out:
> I went into http://mail.yahoo.com/, logged in, deleted some msgs in my
> trash can, and attempted to do a 'Q' from lynx:
> 
> Segmentation Fault(coredump)
> lwv26awu (2309) $ file core
> core: ELF 32-bit MSB core file, SPARC, version 1, from 'lynx'
> lwv26awu (2310) $ dbx $(whence lynx) core
> Reading symbolic information for lynx
> core file header read successfully
> Reading symbolic information for rtld /usr/lib/ld.so.1
> dbx: program is not active
> Reading symbolic information for libz.so
> Reading symbolic information for libncurses.so.4
> Reading symbolic information for libnsl.so.1
> Reading symbolic information for libsocket.so.1
> Reading symbolic information for libc.so.1
> Reading symbolic information for libdl.so.1
> Reading symbolic information for libmp.so.2
> Reading symbolic information for libc_psr.so.1
> program terminated by signal SEGV (no mapping at the fault address)
> Current function is LYStoreCookies
>  2177                   (long) co->expires, co->name, co->value);
> (dbx 1) where
>   [1] _fprintf(0x0, 0x290f30, 0xef5aa70c, 0x2ee2dc, 0x335d58, 0x2ee2ec), at 
> 0xef5634a8
> =>[2] LYStoreCookies(cookie_file = 0x321f68 "/home/lwv26/.netscape/cookies"), 
> line 2177 in "LYCookie.c"
>   [3] cleanup(), line 193 in "LYClean.c"
>   [4] cleanup_sig(sig = 0), line 105 in "LYClean.c"
>   [5] FatalProblem(sig = 11), line 3270 in "LYMain.c"
>   ---- called from signal handler with signal 11 (SIGSEGV) ------
>   [6] _fprintf(), at 0xef5634a8
>   [7] LYStoreCookies(cookie_file = 0x321f68 "/home/lwv26/.netscape/cookies"), 
> line 2177 in "LYCookie.c"
>   [8] cleanup(), line 193 in "LYClean.c"
>   [9] main(argc = 2, argv = 0xefffe22c), line 1748 in "LYMain.c"

Hmm.  

If I'm interpreting this correctly, it looks like it's choking here:

            fprintf(cookie_handle, "%s\t%s\t%s\t%s\t%ld\t%s\t%s\n",
                de->domain,
                "FALSE", co->path,
                co->flags & COOKIE_FLAG_SECURE ? "TRUE" : "FALSE",
                (long) co->expires, co->name, co->value);

Is this reproducible?  I haven't noticed any problems, and I'm not sure
offhand exactly what's happening right here.  If someone else knows
what they're doing debugging corefiles moreso than I, I'd love to see
how you do it :)

I'm wondering if this would give a segfault if one of the
domain/path/flags or other vars there got corrupted somehow.  I don't
think anything related to those has changed recently.

-- 
Doubt is not a pleasant condition, but certainty is absurd.
                -- Voltaire

reply via email to

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