[126] in arla-drinkers
arla-0.8: arlad fails with SIGSEGV
daemon@ATHENA.MIT.EDU (Dr A V Le Blanc)
Tue Jul 21 04:25:37 1998
From arla-drinkers-request@sundance.stacken.kth.se Tue Jul 21 08:25:36 1998
Return-Path: <arla-drinkers-request@sundance.stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 12220 invoked from network); 21 Jul 1998 08:25:35 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
by bloom-picayune.mit.edu with SMTP; 21 Jul 1998 08:25:35 -0000
Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94])
by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id KAA14483
for <arla-drinkers@sundance.stacken.kth.se>; Tue, 21 Jul 1998 10:20:26 +0200 (MET DST)
Received: from mcchpf.mcc.ac.uk ([130.88.200.115] ident=zlsiial)
by probity.mcc.ac.uk with esmtp (Exim 1.92 #2)
for arla-drinkers@sundance.stacken.kth.se
id 0yyXer-000150-00; Tue, 21 Jul 1998 09:20:25 +0100
Received: (from zlsiial@localhost)
by mcchpf.mcc.ac.uk (8.7.6/8.8.4)
id JAA02529; Tue, 21 Jul 1998 09:20:23 +0100 (BST)
Message-ID: <19980721092023.B2510@mcchpf.mcc.ac.uk>
Date: Tue, 21 Jul 1998 09:20:23 +0100
From: Dr A V Le Blanc <LeBlanc@mcc.ac.uk>
To: arla-drinkers@stacken.kth.se
Subject: arla-0.8: arlad fails with SIGSEGV
Reply-To: Dr A V Le Blanc <LeBlanc@mcc.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.91.1i
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@mcc.ac.uk