From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#11519: "Wrong type argument: characterp" building custom-deps while boostrapping Date: Tue, 22 May 2012 20:47:54 -0400 Message-ID: References: <83d360yw48.fsf@gnu.org> <834nrazrtl.fsf@gnu.org> <831umez1p7.fsf@gnu.org> <83vcjpxw18.fsf@gnu.org> <83k404xcpt.fsf@gnu.org> <83hav8xak1.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1337734172 12631 80.91.229.3 (23 May 2012 00:49:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 May 2012 00:49:32 +0000 (UTC) Cc: schwab@linux-m68k.org, 11519@debbugs.gnu.org, lekktu@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 23 02:49:30 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 1SWzlU-0000D8-10 for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 May 2012 02:49:24 +0200 Original-Received: from localhost ([::1]:50826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWzlT-0006dW-AL for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 May 2012 20:49:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWzlP-0006dB-IF for bug-gnu-emacs@gnu.org; Tue, 22 May 2012 20:49:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SWzlN-0000cl-P3 for bug-gnu-emacs@gnu.org; Tue, 22 May 2012 20:49:19 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWzlN-0000cT-LK for bug-gnu-emacs@gnu.org; Tue, 22 May 2012 20:49:17 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SWzm6-00021g-DU for bug-gnu-emacs@gnu.org; Tue, 22 May 2012 20:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 May 2012 00:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11519 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11519-submit@debbugs.gnu.org id=B11519.13377341487719 (code B ref 11519); Wed, 23 May 2012 00:50:02 +0000 Original-Received: (at 11519) by debbugs.gnu.org; 23 May 2012 00:49:08 +0000 Original-Received: from localhost ([127.0.0.1]:39506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SWzlD-00020R-NH for submit@debbugs.gnu.org; Tue, 22 May 2012 20:49:07 -0400 Original-Received: from ironport-out.teksavvy.com ([206.248.143.162]:45020) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SWzkt-0001za-JI for 11519@debbugs.gnu.org; Tue, 22 May 2012 20:49:06 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu0/O+K+j/2dsb2JhbABEtBGBCIIVAQEEAVYjEAs0EhQYDSQsh3AFugmQRAOjM4FYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="181881469" Original-Received: from 206-248-175-163.dsl.teksavvy.com (HELO pastel.home) ([206.248.175.163]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 22 May 2012 20:47:55 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id CA23C58E09; Tue, 22 May 2012 20:47:54 -0400 (EDT) In-Reply-To: <83hav8xak1.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 22 May 2012 22:47:26 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) 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:60290 Archived-At: >> > If you agree with the diagnosis, then how about the change below? >> Might be an acceptable workaround for the emacs-24 branch, yes (tho I'd >> replace "inhibit ? 0 : 1" with "!inhibit"). But is it really new in >> Emacs-24? It seems the same problem is already present in Emacs-23, so >> it's probably not so urgent to fix it for 24.1. > The problem is indeed not new, but so what? It is real, and it just > happened to us in real life, albeit on the trunk. Who knows how many > other problems which we dismiss as not reproducible could have been > caused by this (especially when exotic character sets were involved)? I assume that the problem can show up in many other places than re_search, so yes, it's a real problem that we need to fix for real, but your workaround will only fix the problem we happened to bump into, so adding this fix to the emacs-24 branch may be completely useless if this bug never shows up at that place there. >> I wonder: why do we use REL_ALLOC? > AFAIK, we do that only on platforms that don't support mmap for > allocating buffer text. So, IIUC the only reason to use it is so that we can more often return memory to the OS even for the non-mmap case? Is that because returning memory can only be done via sbrk style memory management? I wonder how effective it is in practice. Stefan