lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV color-styles memory leak?


From: Scott Bigham
Subject: LYNX-DEV color-styles memory leak?
Date: Tue, 9 Dec 1997 23:37:22 -0400 (AST)

I figured I should get this report in before the 2.8 release.  What's
happening is that, with no apparent pattern, Lynx will die with a SIGBUS or
SIGKILL (at least I'm assuming that's what "Killed" means in Linux) while
loading or just before displaying a page.  It seems to happen more often
after I've been using Lynx for a while, which is why I suspect a memory
leak.

Here are some specifics:  Lynx 2.7.1ac93 (I'm downloading ac98, but there's
nothing in the CHANGES file about the color style code, so I suspect the
bug is still there) on Linux 2.0.27, compiled with --enable-color-styles,
--with-screen=ncurses and --enable-debug, seems to consistenly fail when
loading <URL:http://www.xmission.com/~jlwright/yearofhell2.html>, with the
message "Killed".  The Lynx.leaks file reads:

----------
Memory leak detected.
Pointer:        0x8148fd8
Contains:       /tmp/|
ByteSize:       6
FileName:       ./LYMain.c
LineCount:      672


Total memory leakage this run:  6
----------
which, unfortunately, seems to be singularly uninformative.  The Lynx.trace
file is, of course, rather large (~300K); I can make it available for
download if necessary.  I can't get Lynx to produce a core file for some
reason, with or without the -core option.

An otherwise identical Lynx executable built without --enable-debug will
successfully load this document, but consistently dies while subsequently
loading <URL:http://www.xmission.com/~jlwright/yearofhell1.html>.  An
otherwise identical executable built without --enable-debug and
--enable-color-styles loads this page (and several others that have crashed
on me) without incident.

Yeah, I know, not much to go on.  If I can provide any further relevant
information, let me know.

                                                -sbigham

reply via email to

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