>       gdb /usr/bin/lynx core
>       traceback

Here's some more output from gdb:

Program received signal SIGABRT, Aborted.
0xb7fe1416 in __kernel_vsyscall ()
(gdb) where
#0  0xb7fe1416 in __kernel_vsyscall ()
#1  0xb7d858e0 in raise () from /lib/i686/cmov/libc.so.6
#2  0xb7d88e15 in abort () from /lib/i686/cmov/libc.so.6
#3  0xb7dbc6c5 in ?? () from /lib/i686/cmov/libc.so.6
#4  0xb7dc6824 in ?? () from /lib/i686/cmov/libc.so.6
#5  0xb7dc92cb in ?? () from /lib/i686/cmov/libc.so.6
#6  0xb7dca8db in calloc () from /lib/i686/cmov/libc.so.6
#7  0xb7f8f088 in _nc_makenew () from /lib/libncursesw.so.5
#8  0xb7f8f38b in derwin () from /lib/libncursesw.so.5
#9  0x080848c7 in LYwaddnstr (w=0xb7fb85dc, src=0xbffff032 " (p1 of 11)", 
len=11) at LYCurses.c:1930
#10 0x080648dd in display_title (text=0x83466f8, line_number=0, target=0x0) at 
GridText.c:1811
#11 display_page (text=0x83466f8, line_number=0, target=0x0) at GridText.c:2082
#12 0x080666b3 in HText_pageDisplay (line_num=1, target=0x8186980 "") at 
GridText.c:7031
#13 0x0807c3f1 in mainloop () at LYMainLoop.c:6265
#14 0x080756d8 in main (argc=Cannot access memory at address 0x7670
) at LYMain.c:2167
(gdb)

valgrind:

==30414== Memcheck, a memory error detector
==30414== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==30414== Using Valgrind-3.5.0-Debian and LibVEX; rerun with -h for copyright 
info
==30414== Command: lynx.cur 
For-sale-The-240-year-old-bridge-cost-1-65m-earn-113k-year-tax-free-tolls.html
==30414== Parent PID: 30281
==30414== 
==30414== Invalid write of size 4
==30414==    at 0x8064F5E: display_page (GridText.c:1782)
==30414==    by 0x80666B2: HText_pageDisplay (GridText.c:7031)
==30414==    by 0x807A5D6: LYMainLoop_pageDisplay (LYMainLoop.c:503)
==30414==    by 0x810C923: HTDisplayPartial (HTFormat.c:685)
==30414==    by 0x810CE66: HTFileCopy (HTFormat.c:952)
==30414==    by 0x810E26C: HTParseFile (HTFormat.c:1472)
==30414==    by 0x80F04A2: HTLoadFile (HTFile.c:2525)
==30414==    by 0x80E7313: HTLoadDocument (HTAccess.c:697)
==30414==    by 0x8070A23: getfile (LYGetFile.c:808)
==30414==    by 0x807B56E: mainloop (LYMainLoop.c:5583)
==30414==    by 0x80756D7: main (LYMain.c:2167)
==30414==  Address 0x4656cfe is 2 bytes after a block of size 116 alloc'd
==30414==    at 0x4024C4C: malloc (vg_replace_malloc.c:195)
==30414==    by 0x810A1B9: HTSACopy (HTString.c:303)
==30414==    by 0x8064672: display_page (GridText.c:1691)
==30414==    by 0x80666B2: HText_pageDisplay (GridText.c:7031)
==30414==    by 0x807A5D6: LYMainLoop_pageDisplay (LYMainLoop.c:503)
==30414==    by 0x810C923: HTDisplayPartial (HTFormat.c:685)
==30414==    by 0x810CE66: HTFileCopy (HTFormat.c:952)
==30414==    by 0x810E26C: HTParseFile (HTFormat.c:1472)
==30414==    by 0x80F04A2: HTLoadFile (HTFile.c:2525)
==30414==    by 0x80E7313: HTLoadDocument (HTAccess.c:697)
==30414==    by 0x8070A23: getfile (LYGetFile.c:808)
==30414==    by 0x807B56E: mainloop (LYMainLoop.c:5583)
==30414== 
==30414== Invalid write of size 4
==30414==    at 0x8064F5E: display_page (GridText.c:1782)
==30414==    by 0x80666B2: HText_pageDisplay (GridText.c:7031)
==30414==    by 0x807C3F0: mainloop (LYMainLoop.c:6265)
==30414==    by 0x80756D7: main (LYMain.c:2167)
==30414==  Address 0x46db365 is 1 bytes after a block of size 116 alloc'd
==30414==    at 0x4024C4C: malloc (vg_replace_malloc.c:195)
==30414==    by 0x810A1B9: HTSACopy (HTString.c:303)
==30414==    by 0x8064672: display_page (GridText.c:1691)
==30414==    by 0x80666B2: HText_pageDisplay (GridText.c:7031)
==30414==    by 0x807C3F0: mainloop (LYMainLoop.c:6265)
==30414==    by 0x80756D7: main (LYMain.c:2167)
==30414== 
==30414== 
==30414== HEAP SUMMARY:
==30414==     in use at exit: 1,620,704 bytes in 5,365 blocks
==30414==   total heap usage: 14,195 allocs, 8,830 frees, 3,083,048 bytes 
allocated
==30414== 
==30414== LEAK SUMMARY:
==30414==    definitely lost: 62 bytes in 2 blocks
==30414==    indirectly lost: 0 bytes in 0 blocks
==30414==      possibly lost: 110,526 bytes in 512 blocks
==30414==    still reachable: 1,510,116 bytes in 4,851 blocks
==30414==         suppressed: 0 bytes in 0 blocks
==30414== Rerun with --leak-check=full to see details of leaked memory
==30414== 
==30414== For counts of detected and suppressed errors, rerun with: -v
==30414== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 29 from 6)

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to