From unknown Wed Jun 18 22:54:39 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#874 <874@debbugs.gnu.org> To: bug#874 <874@debbugs.gnu.org> Subject: Status: Args out of range with new auto-composition implementation Reply-To: bug#874 <874@debbugs.gnu.org> Date: Thu, 19 Jun 2025 05:54:39 +0000 retitle 874 Args out of range with new auto-composition implementation reassign 874 emacs submitter 874 "Juanma Barranquero" severity 874 normal thanks From lekktu@gmail.com Wed Sep 3 09:21:56 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.7 required=4.0 tests=AWL,BAYES_00,FOURLA autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 3 Sep 2008 16:21:56 +0000 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m83GLqwq014774 for ; Wed, 3 Sep 2008 09:21:53 -0700 Received: by an-out-0708.google.com with SMTP id b20so520455ana.9 for ; Wed, 03 Sep 2008 09:21:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=9ASGfXZa8ASUZA82jVhuiMPYgzKyPUUxhsm6I8L9NDU=; b=RVBqwiUqt3DbMF8iinmUMD0yTyK3fYk1cpzREgxiT7n68/wsYhu/H3Xf+Nwunvsa8H 4wKUcKv896pukJfSZskp+XO5G8ZC+zSvelp6L5LdRgrSdcuI1ETTgYyDLWMYQY1gX2Gp /PUvjLm/i6siI+GadP2SXoDs4TcWpJ7uuvtVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=uBiVFbrHG1ixFnztFNB6xmPrRQX3ypmpgaw189m4xo7ZeXew+JEi2qTNgXDG/1gdFp sAg3HiyQlDqtSBcgAblkPcIQFrFkhFD6xs5HyuK9M/lci69Jfs1Tco5i9Tv2OwEt8N1B 9eeJ3wNLk/LoDHOmzlwJ+CDz+bYVw4hJkXgwc= Received: by 10.100.41.8 with SMTP id o8mr9318272ano.11.1220458912012; Wed, 03 Sep 2008 09:21:52 -0700 (PDT) Received: by 10.100.194.19 with HTTP; Wed, 3 Sep 2008 09:21:51 -0700 (PDT) Message-ID: Date: Wed, 3 Sep 2008 18:21:51 +0200 From: "Juanma Barranquero" To: "Emacs Bug Tracker" Subject: Args out of range with new auto-composition implementation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline ;;; testbug.el ;;; (column-number-mode 1) (defun testbug () (interactive) (split-window) (other-window 1) (pop-to-buffer (get-buffer-create "testbug"))) ;;;;;;;;;;;;;;;;; emacs -Q -l testbug.el C-h H M-: (goto-char 276) ;; or move the cursor to any auto-composed char M-x testbug => "Args out of range: 274, 274" (and the windows are not correctly painted.) At home's laptop I can reproduce the bug at will; as a weird datapoint, at work I've only been able to reproduce it when the buffer is called "*ielm*", even if IELM is *not* loaded. emacs-devel discussion (including a backtrace): http://lists.gnu.org/archive/html/emacs-devel/2008-09/msg00045.html From lekktu@gmail.com Thu Sep 4 08:25:50 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.6 required=4.0 tests=AWL,BAYES_00,FOURLA,GMAIL, HAS_BUG_NUMBER,IMPRONONCABLE_2 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 874) by emacsbugs.donarmstrong.com; 4 Sep 2008 15:25:50 +0000 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m84FPkcY003144 for <874@emacsbugs.donarmstrong.com>; Thu, 4 Sep 2008 08:25:48 -0700 Received: by an-out-0708.google.com with SMTP id b20so622136ana.9 for <874@emacsbugs.donarmstrong.com>; Thu, 04 Sep 2008 08:25:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=1Fqd5kg9fi1TpP/I2FRVqEoWB9CipdeeYaYGB/bqZFM=; b=X4F6hGKKekL0aX9gnQZDRQgmtgHBYGr2w/jpyUklxVmBAVbRBUu13v5kLEQHUKoWxX AiOwIHjtWXx2TEJhiIL8vKKxKSiENFybtTIlc8USLEUWxbXb+PsY9A7HC03yGL8xsq19 Vg4XTzLBTx0Kh4Bbhmy0ZB2/W63nVOb3r4Kbs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UGDizx8qn6LRbFEs01IQGVDW02W0f/0kXnNDfYTvo11R8jPeMN7S81myBEnP5NPI5U djRfTedQBtzk0IthHxq80YDtzlZuy4fzHCT61LObcRjXRR7nnyIcAJcRT1IFrZMsTuD5 8Uy/beClh27Q/wB+GqsaPWl3lMn7+FJG53J2Q= Received: by 10.100.112.6 with SMTP id k6mr11056111anc.71.1220541946527; Thu, 04 Sep 2008 08:25:46 -0700 (PDT) Received: by 10.100.194.19 with HTTP; Thu, 4 Sep 2008 08:25:46 -0700 (PDT) Message-ID: Date: Thu, 4 Sep 2008 17:25:46 +0200 From: "Juanma Barranquero" To: 874@debbugs.gnu.org Subject: Re: bug#874: Args out of range with new auto-composition implementation In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: On Wed, Sep 3, 2008 at 18:21, Juanma Barranquero wrote: > emacs -Q -l testbug.el > C-h H > M-: (goto-char 276) ;; or move the cursor to any auto-composed char > M-x testbug > > => "Args out of range: 274, 274" Curious. The out of range error is caused by this code in textprop.c:validate_interval_range if (!(BUF_BEGV (b) <= XINT (*begin) && XINT (*begin) <= XINT (*end) && XINT (*end) <= BUF_ZV (b))) args_out_of_range (*begin, *end); At that point, BUF_BEGV (b) = 1 BUF_ZV (b) = 1 XINT (*begin) = 274 XINT (*end) = 274 where *begin and *end point to the position in buffer "HELLO", but b (and hence object, from which b is extracted) points to the just created buffer "testbug": (gdb) p object $1 = 64949764 (gdb) xbuffer $2 = (struct buffer *) 0x3df0e00 (unsigned char *) 0x3de6880 "testbug" so it's no wonder it fails. From lekktu@gmail.com Tue Sep 9 08:30:06 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-2.6 required=4.0 tests=AWL,BAYES_00,MISSING_SUBJECT, NOSUBJECT autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 9 Sep 2008 15:30:06 +0000 Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m89FTskT001559 for ; Tue, 9 Sep 2008 08:29:56 -0700 Received: by ey-out-2122.google.com with SMTP id 4so892512eyf.13 for ; Tue, 09 Sep 2008 08:29:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=pnrBr3Sc3MGAsDUYSFbJ8ujVkwtKPa9vj4K6cAn6JSY=; b=Wjs/X+JZ5xOJELe/mwWSa/SPIfhWUFhjH1qpls4dIc2dJVcQ1R8fy31QM2hoLSr8bf SosFCDy5ViC7MOr/712CJ/OJ18sTL/ZGt7Y1pvB2g7ts6I280of+c9/VKwZsKbA0wG89 yI1mdqyuLyDh+Bc+OzISIQ3OsUkpVDC8LJRKM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=Adp0M20WpCu+AiAZZQ/jgytLMnZo6uoGCJq0NVBeGtLWyaJjI7Mo/ngkeMKHe2U5+z ofAOiXQNuflD4oAplAzqHGjJVjOo4hdAe/AA/CBoFr2NbhCB/M2JHGjvM8CJavEy6Eei r9uVct0HVlb2svhC5rQ+sdmzUFGftqQModIGk= Received: by 10.210.41.1 with SMTP id o1mr1410907ebo.108.1220974193861; Tue, 09 Sep 2008 08:29:53 -0700 (PDT) Received: by 10.210.23.12 with HTTP; Tue, 9 Sep 2008 08:29:53 -0700 (PDT) Message-ID: Date: Tue, 9 Sep 2008 17:29:53 +0200 From: "Juanma Barranquero" To: control@debbugs.gnu.org Subject: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline found 870 23.0.60 found 872 23.0.60 found 874 23.0.60 found 876 23.0.60 found 947 22.3 found 947 23.0.60 reassign 870 emacs,w32 reassign 872 emacs,w32 reassign 876 emacs,w32 quit From lekktu@gmail.com Fri Sep 12 01:56:47 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.1 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 874-done) by emacsbugs.donarmstrong.com; 12 Sep 2008 08:56:48 +0000 Received: from mail-gx0-f19.google.com (mail-gx0-f19.google.com [209.85.217.19]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8C8uinc009257 for <874-done@emacsbugs.donarmstrong.com>; Fri, 12 Sep 2008 01:56:45 -0700 Received: by gxk12 with SMTP id 12so12122640gxk.1 for <874-done@emacsbugs.donarmstrong.com>; Fri, 12 Sep 2008 01:56:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=4Q2OeKQvE4s1f7DtsTgzk3f/urMCuKiBpe+HunHcvV4=; b=Mk9m8188C2kREaZAX473Au2fIrKiWVMTKEIdtdqvp60mHVapnn8DjNbPTh3fW6abTV 8qrDt5ny8NxtMKl6zvIRr3J2W3/SyYzwpNa9evFm1K3i2rbiP/+koUZyi7UD16GH5x1F 51beMMu1LPARi3L41G3pelrsupmV0ZZtaywcA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ZkiX+4QDk21Hj72nacwJdlu0A54YC5cnA0sUGBNVyYYT4ZfJ310z0ytRrhX4o4a9n8 DA0C0itrApaxXy7kNPtMIkju8tI63W+tkixYmabRuBA8olLLo8w0J7XDbWBl+T2RCq/A hFXAu7OLZvgN7WMKoDece+w1+feEtICVmg+Zs= Received: by 10.100.209.5 with SMTP id h5mr4907642ang.18.1221209799280; Fri, 12 Sep 2008 01:56:39 -0700 (PDT) Received: by 10.100.13.13 with HTTP; Fri, 12 Sep 2008 01:56:39 -0700 (PDT) Message-ID: Date: Fri, 12 Sep 2008 10:56:39 +0200 From: "Juanma Barranquero" To: "Kenichi Handa" Subject: Re: Args out of range with new auto-composition implementation Cc: emacs-devel@gnu.org, 874-done@debbugs.gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: On Fri, Sep 12, 2008 at 08:32, Kenichi Handa wrote: > Anyway, I've just installed a workaround of not handling > automatic composition if the current buffer is not > associated with a window. That fixes the problem. Thanks. Juanma From unknown Wed Jun 18 22:54:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Fri, 10 Oct 2008 14:24:04 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator