From owner-freebsd-ports@FreeBSD.ORG Fri Aug 19 05:15:22 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51F3E16A41F for ; Fri, 19 Aug 2005 05:15:22 +0000 (GMT) (envelope-from Phil@Kernick.org) Received: from mail.rotfl.com.au (eth1779.sa.adsl.internode.on.net [150.101.235.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id C853443D45 for ; Fri, 19 Aug 2005 05:15:21 +0000 (GMT) (envelope-from Phil@Kernick.org) Received: from localhost (localhost.rotfl.com.au [127.0.0.1]) by mail.rotfl.com.au (Postfix) with ESMTP id 292DD453F2 for ; Fri, 19 Aug 2005 14:45:20 +0930 (CST) Received: from mail.rotfl.com.au ([127.0.0.1]) by localhost (mail.rotfl.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 47356-02 for ; Fri, 19 Aug 2005 14:45:14 +0930 (CST) Message-ID: <43056ADA.2070306@Kernick.org> Date: Fri, 19 Aug 2005 14:45:06 +0930 From: Phil Kernick User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: ports@freebsd.org X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at rotfl.com.au Cc: Subject: critical problem in www/squirm X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2005 05:15:22 -0000 On Thu, Mar 24, 2005 at 10:22:32AM +0100, krym at sklug.sk wrote: > if i run /usr/local/bin/squirm from shell and i put Ctrl+D, i become > every time the following lines: > squirm in free(): error: chunk is already free > Abort trap (core dumped) This is a bug in squirm. I've submitted the following patch as a send-pr to get the port fixed. Phil. --- lists.c.orig Fri Aug 19 13:53:29 2005 +++ lists.c Fri Aug 19 14:23:42 2005 @@ -366,7 +366,6 @@ next = head->next; if(head->patterns.pattern) { cfree(head->patterns.pattern); - regfree(&(head->patterns.cpattern)); } if(head->patterns.replacement) cfree(head->patterns.replacement); @@ -383,7 +382,6 @@ if(prev->patterns.pattern) { cfree(prev->patterns.pattern); - regfree(&(prev->patterns.cpattern)); } if(prev->patterns.replacement) cfree(prev->patterns.replacement);