arla-0.8: arlad fails with SIGSEGV

Dr A V Le Blanc LeBlanc at mcc.ac.uk
Tue Jul 21 10:20:26 CEST 1998


I see an enormous amount of work has been done cleaning up
arla in this release, and I hoped it would begin to work for me.
Unfortunately I find that arlad fails to run, even 'arlad -t',
which used to work in 0.7.2.

The core dump occurs at line 124 in hash.c, where the program
attempts to use free:

     if (h)
        free((void *) h->ptr);

Here is the gdb output:

gdb arlad
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-pc-linux-gnu"...
(gdb) b hash.c:124
Breakpoint 1 at 0x806d4e4: file hash.c, line 124.
(gdb) r -t
Starting program: /usr/contrib/packages/arla/bin/arlad -t

Breakpoint 1, hashtabadd (htab=0x80afca0, ptr=0x80be10c) at hash.c:124
124             free((void *) h->ptr);
(gdb) n

Program received signal SIGSEGV, Segmentation fault.
0x400cb278 in free ()

Any suggestions?

     -- Owen
     LeBlanc at mcc.ac.uk





More information about the Arla-drinkers mailing list