From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12242: Emacs 24.2 RC1 build fails on OpenBSD Date: Thu, 23 Aug 2012 19:06:23 +0300 Message-ID: <83lih5a8zk.fsf@gnu.org> References: <877gstuyqb.fsf@moo.wxcvbn.org> <83txvxaquu.fsf@gnu.org> <83obm4b367.fsf@gnu.org> <837gsrbpe9.fsf@gnu.org> <83y5l6amor.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1345738007 13855 80.91.229.3 (23 Aug 2012 16:06:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Aug 2012 16:06:47 +0000 (UTC) Cc: jca@wxcvbn.org, handa@m17n.org, 12242@debbugs.gnu.org, cyd@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 23 18:06:46 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T4Zvh-00037U-54 for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Aug 2012 18:06:45 +0200 Original-Received: from localhost ([::1]:50492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4Zvf-0003FM-Gy for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Aug 2012 12:06:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4ZvZ-0003Ep-Dw for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 12:06:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4ZvT-00045n-HI for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 12:06:37 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4ZvT-00045e-CO for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 12:06:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T4Zvx-0004uz-Sh for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 12:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Aug 2012 16:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12242 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12242-submit@debbugs.gnu.org id=B12242.134573801618894 (code B ref 12242); Thu, 23 Aug 2012 16:07:01 +0000 Original-Received: (at 12242) by debbugs.gnu.org; 23 Aug 2012 16:06:56 +0000 Original-Received: from localhost ([127.0.0.1]:45224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T4Zvr-0004uh-Uq for submit@debbugs.gnu.org; Thu, 23 Aug 2012 12:06:56 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:58105) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T4Zvp-0004uX-5F for 12242@debbugs.gnu.org; Thu, 23 Aug 2012 12:06:54 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M9700900U2GAB00@a-mtaout23.012.net.il> for 12242@debbugs.gnu.org; Thu, 23 Aug 2012 19:06:20 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M970096WU2E0QA0@a-mtaout23.012.net.il>; Thu, 23 Aug 2012 19:06:15 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63430 Archived-At: > Date: Thu, 23 Aug 2012 08:12:37 +0900 > From: YAMAMOTO Mitsuharu > Cc: YAMAMOTO Mitsuharu , > Stefan Monnier , > Chong Yidong , > Kenichi Handa , > jca@wxcvbn.org, > 12242@debbugs.gnu.org > > >>>>> On Wed, 22 Aug 2012 19:58:12 +0300, Eli Zaretskii said: > > >>> My reading of the code is that inhibiting relocation just means > >>> that ralloc.c always asks for more memory when it cannot find a > >>> large enough block in the existing heaps. > >> > >> For example, `virtual_break_value' is not updated in that case. It > >> can lead to an inconsistent state as reported if r_alloc_sbrk is > >> called with a positive argument via malloc when > >> use_relocatable_buffers <= 0, and then it is called with a negative > >> argument via free when use_relocatable_buffers > 0. > > > I see your point. > > Sorry, I noticed that the senario I gave above was actually bogus. > Typically free will call r_alloc_sbrk(0) and check the return value > with respect to the area to be reclaimed before calling r_alloc_sbrk > with a negative argument. > > Now I don't have a concrete senario to conclude that it is wrong to > change use_relocatable_buffers temporarily. I'm really sorry if my > previous posts confused you. No sweat. I guess I will need to take a deeper look at the problem.