From owner-freebsd-ports@FreeBSD.ORG Mon Aug 20 10:14:29 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79D2716A41A for ; Mon, 20 Aug 2007 10:14:29 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 5D7B113C461 for ; Mon, 20 Aug 2007 10:14:28 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (vader.bytemobile.ondsl.gr [83.235.244.135]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-8) with ESMTP id l7KA2LQJ015729 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Aug 2007 13:02:37 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l7KA24bt002756; Mon, 20 Aug 2007 13:02:21 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l7KA24qb002755; Mon, 20 Aug 2007 13:02:04 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 20 Aug 2007 13:02:04 +0300 From: Giorgos Keramidas To: Subhro Message-ID: <20070820100203.GA2580@kobe.laptop> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.924, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.47, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: ports@freebsd.org, keramida@freebsd.org Subject: Re: FreeBSD Port: emacs-22.0.99_1 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: Mon, 20 Aug 2007 10:14:29 -0000 On 2007-08-20 03:06, Subhro wrote: > Hello, > > I have just downloaded and compiled emacs a little while ago. The > emacs version number says 22.1.1. It seems as if there is some memory > handling bug in the GTK part of emacs. The application dumps core > every time when I try to open a file from the menu. I have also had a > word with the devs on #emacs on irc.freenode.net. They have confirmed > the bugs and also told that there has been some patches which are > available in the cvs. They are to be integrated in the next release > (22.2, most likely) but that would again be about a month maybe more > from today. > > However to restore the stability of emacs I would request you to > kindly integrate the said patches. Many thanks for taking the time to investigate this. The crashes when GTK+ is enabled are a long-standing annoyance with FreeBSD's malloc() implementation and the internal gmalloc.c of GNU Emacs. It was finally resolved properly a few days earlier. I have integrated the patches to at least the editors/emacs-devel port, and I am testing the build of the new Emacs these days. I apologize for leaving the port stale for so long, but it's a fairly big moving target right now, with the release of GNU Emacs 22.2 in the works. The integration of the patches may require a bit of care though, since a lot of GNU software has switched to GPLv3 and I am a bit unsure about the proper way to integrate GPLv3 code with our Ports tree. In the meantime, when I have finished testing the patches to fix the GTK+ crashes you experienced, I'll open a PR so everyone can look at the changes, and/or test them a bit more. - Giorgos