lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] Re: lynx: double free or corruption (fasttop)


From: Thomas Dickey
Subject: Re: [Lynx-dev] Re: lynx: double free or corruption (fasttop)
Date: Fri, 29 Oct 2010 16:25:26 -0400 (EDT)

On Fri, 29 Oct 2010, Fr?d?ric L. W. Meunier wrote:

On Fri, 29 Oct 2010, Fr?d?ric L. W. Meunier wrote:

Is this supposed to be a bug in lynx or glibc ? I get it randomly while removing a file with 'r'.

How would one track it down ? gdb bt didn't return anything.

Sometimes it exits immediately, printing what I send earlier and producing a core file that doesn't return anything useful.

But it can also just hang. I don't know if this gdb attach is useful.

#0  0xb7803424 in __kernel_vsyscall ()
#1  0xb77492f1 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb76d0e4b in _L_lock_9103 () from /lib/libc.so.6
#3  0xb76cfdc9 in free () from /lib/libc.so.6
#4  0x0808c1da in LYRemoveTemp (
   name=0x9ba4598 "/home/fredlwm/tmp/L29757-4739TMP.html.gz")
   at /usr/local/src/links/lynx/src/LYUtils.c:6375
#5  0x0808c2e3 in LYCleanupTemp ()
   at /usr/local/src/links/lynx/src/LYUtils.c:6391
#6  0x0804b5db in cleanup_files ()
   at /usr/local/src/links/lynx/src/LYClean.c:153
#7  0x0804b67f in cleanup () at /usr/local/src/links/lynx/src/LYClean.c:210
#8  0x0804b78d in cleanup_sig (sig=0)
   at /usr/local/src/links/lynx/src/LYClean.c:117
#9  0x0807753a in FatalProblem (sig=11)
   at /usr/local/src/links/lynx/src/LYMain.c:4369
#10 <signal handler called>

well, it's dead at this level, and trying to cleanup in LYClean.c
So I'd ignore LYClean and assume it's something wrong in LYStyle.c, etc.

#11 0xb76c9f0b in malloc_consolidate () from /lib/libc.so.6
#12 0xb76cd2a1 in _int_malloc () from /lib/libc.so.6
#13 0xb76d033b in calloc () from /lib/libc.so.6
#14 0x080d4104 in RefCachedStyle (y=22, x=<value optimized out>)
   at /usr/local/src/links/lynx/src/LYStyle.c:745
#15 0x080d4121 in SetCachedStyle (y=22, x=0, value=505)
   at /usr/local/src/links/lynx/src/LYStyle.c:774
#16 0x08086ca0 in curses_w_style (win=0x928c360, style=505, dir=1)
   at /usr/local/src/links/lynx/src/LYCurses.c:522
#17 0x08086fd1 in curses_style (style=505, dir=1)
   at /usr/local/src/links/lynx/src/LYCurses.c:566
#18 0x0808d740 in statusline (text=0x9d25c10 "Getting file://localhost/tmp")
   at /usr/local/src/links/lynx/src/LYUtils.c:1531
#19 0x0805b72f in user_message (message=0x812ea6b "Getting %s",
   argument=<value optimized out>)
   at /usr/local/src/links/lynx/src/GridText.c:8673
#20 0x08071aec in getfile (doc=0x818e280, target=0xbfff44c0)
   at /usr/local/src/links/lynx/src/LYGetFile.c:796
#21 0x0807c0ad in mainloop ()
   at /usr/local/src/links/lynx/src/LYMainLoop.c:5571
#22 0x0807728f in main (argc=1, argv=0xbfff4854)
   at /usr/local/src/links/lynx/src/LYMain.c:2167

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

reply via email to

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