gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] malloc bug ?


From: Tanguy Urvoy
Subject: [gnugo-devel] malloc bug ?
Date: Thu, 11 Oct 2001 15:28:31 +0200

Hello,

After a long inspection of the dfa hash table 
i could not find the bug.

At this URL 
http://www.tux.org/hypermail/linux-gcc/1998-Jun/0025.html
A little c program generate the same crash:

malloctest crash:
-----------------

Starting program: /.amd/sea/export/home/sea/d01/micas/turvoy/malloctest
1000
no of nodes 1000

Program received signal SIGSEGV, Segmentation fault.
0x40071e96 in chunk_free (ar_ptr=0x40106040, p=0x814a010) at
malloc.c:3033
3033    malloc.c: No such file or directory.
(gdb) bt
#0  0x40071e96 in chunk_free (ar_ptr=0x40106040, p=0x814a010) at
malloc.c:3033
#1  0x40071bfd in chunk_alloc (ar_ptr=0x40106040, nb=16) at
malloc.c:2541
#2  0x4007140a in __libc_malloc (bytes=12) at malloc.c:2643
#3  0x80485be in main (argc=2, argv=0xbffffb64) at malloctest.c:25   

mkpat crash:
------------

Starting program: /local/Perso/GO/gnugo-3.1.9/patterns/mkpat -D -m -b
owl_defendpat -i ./owl_defendpats.db -o owl_defendpats.c

Program received signal SIGSEGV, Segmentation fault.
0x400cde96 in chunk_free (ar_ptr=0x40162040, p=0x83ba230) at
malloc.c:3033
3033    malloc.c: No such file or
directory.                                                                      
                     


-- 
----------------------------------------------------
Tanguy Urvoy http://www.irisa.fr/prive/Tanguy.Urvoy/
----------------------------------------------------



reply via email to

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