From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 08 20:51:37 2014 Received: (at submit) by debbugs.gnu.org; 9 Oct 2014 00:51:38 +0000 Received: from localhost ([127.0.0.1]:38331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xc1xA-0000oE-VW for submit@debbugs.gnu.org; Wed, 08 Oct 2014 20:51:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46141) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xc1x7-0000o4-Cp for submit@debbugs.gnu.org; Wed, 08 Oct 2014 20:51:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xc1x2-00054e-5X for submit@debbugs.gnu.org; Wed, 08 Oct 2014 20:51:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xc1x2-00054a-2q for submit@debbugs.gnu.org; Wed, 08 Oct 2014 20:51:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xc1wx-0007rL-6T for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2014 20:51:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xc1ws-000537-Dk for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2014 20:51:23 -0400 Received: from mail-lb0-x22b.google.com ([2a00:1450:4010:c04::22b]:50218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xc1ws-000531-1U for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2014 20:51:18 -0400 Received: by mail-lb0-f171.google.com with SMTP id z12so196041lbi.2 for ; Wed, 08 Oct 2014 17:51:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=HaGD1Mv8dStm/6xm3uizPui+JOhICmMIdBlfCzwaE1k=; b=HH7ZaplhzKu57HvoSngfhxgmgRE4PnQEo6QICe8Kr2Zt8O8oYHY2+FLWJ5USMKLb4P dGYTqjeCuI87jGlfkXvVJAGPDBwAFn2i+ATYwA1wMNKwDTYozO7zxqt2hfj2p3CaQCzM pxDXodS9LQC443ObXfXfsrxhNgO3ey01V6Uybi2o/6SqIZ85I99UB9tGZZYS3fP7j4jS QKg7TXZv8/Afn4Yj7gsA+4n+1Vbtd7fkYh9/YkT36STeQ9UsTxxeJW1MzKsgxfmjMh14 MVj9l1BaRDaZHyGhduxCr6lod6D6UNgOR6pGyVxzUlFoHzrPs/UCygwBKONbrRECJUcG +6Ow== X-Received: by 10.112.56.198 with SMTP id c6mr14409886lbq.43.1412815876121; Wed, 08 Oct 2014 17:51:16 -0700 (PDT) Received: from axl ([178.252.98.87]) by mx.google.com with ESMTPSA id j6sm235117lbs.9.2014.10.08.17.51.15 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 08 Oct 2014 17:51:15 -0700 (PDT) From: Dmitry Gutov To: bug-gnu-emacs@gnu.org Subject: 24.3.94; Error "Point 5215 after end of properties" inside re-search-forward Date: Thu, 09 Oct 2014 04:51:14 +0400 Message-ID: <86zjd6rrp9.fsf@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) (When using a company-mode backend, called `company-dabbrev'). I don't have a clear reproduction recipe, since the error comes and goes. I've seen a report about it before (https://github.com/company-mode/company-mode/issues/168), but only started noticing it today myself. This seems to be an Emacs bug. Is there a specific info I can produce to help troubleshooting? At the given time, we're in a ruby-mode buffer, point is 2201, point-max is 5222. 5215 is inside an "end" keyword, close to the end of the buffer. window-end was around 874. After retrying the operation that I was doing, the error disappeared. The backtrace looks like this: Debugger entered--Lisp error: (error "Point 5215 after end of properties") re-search-forward("\\" nil t) (while (re-search-forward regexp nil t) (setq match (match-string-no-prop= erties 0)) (if (and ignore-comments (company-in-string-or-comment)) (re-sea= rch-forward "\\s>\\|\\s!\\|\\s\"" nil t) (if (>=3D (length match) company-d= abbrev-minimum-length) (progn (setq symbols (cons match symbols))))) (and l= imit (eq (setq company-time-limit-while-counter (1+ company-time-limit-whil= e-counter)) 25) (setq company-time-limit-while-counter 0) (> (float-time (t= ime-since start)) limit) (throw (quote done) (quote company-time-out)))) (catch (quote done) (while (re-search-forward regexp nil t) (setq match (= match-string-no-properties 0)) (if (and ignore-comments (company-in-string-= or-comment)) (re-search-forward "\\s>\\|\\s!\\|\\s\"" nil t) (if (>=3D (len= gth match) company-dabbrev-minimum-length) (progn (setq symbols (cons match= symbols))))) (and limit (eq (setq company-time-limit-while-counter (1+ com= pany-time-limit-while-counter)) 25) (setq company-time-limit-while-counter = 0) (> (float-time (time-since start)) limit) (throw (quote done) (quote com= pany-time-out))))) (let ((company-time-limit-while-counter 0)) (catch (quote done) (while (r= e-search-forward regexp nil t) (setq match (match-string-no-properties 0)) = (if (and ignore-comments (company-in-string-or-comment)) (re-search-forward= "\\s>\\|\\s!\\|\\s\"" nil t) (if (>=3D (length match) company-dabbrev-mini= mum-length) (progn (setq symbols (cons match symbols))))) (and limit (eq (s= etq company-time-limit-while-counter (1+ company-time-limit-while-counter))= 25) (setq company-time-limit-while-counter 0) (> (float-time (time-since s= tart)) limit) (throw (quote done) (quote company-time-out)))))) (let (match) (goto-char (if pos (1- pos) (point-min))) (let ((company-tim= e-limit-while-counter 0)) (catch (quote done) (while (re-search-backward re= gexp nil t) (setq match (match-string-no-properties 0)) (if (and ignore-com= ments (company-in-string-or-comment)) (goto-char (nth 8 (syntax-ppss))) (if= (>=3D (length match) company-dabbrev-minimum-length) (progn (setq symbols = ...)))) (and limit (eq (setq company-time-limit-while-counter (1+ company-t= ime-limit-while-counter)) 25) (setq company-time-limit-while-counter 0) (> = (float-time (time-since start)) limit) (throw (quote done) (quote company-t= ime-out)))))) (goto-char (or pos (point-min))) (let ((company-time-limit-wh= ile-counter 0)) (catch (quote done) (while (re-search-forward regexp nil t)= (setq match (match-string-no-properties 0)) (if (and ignore-comments (comp= any-in-string-or-comment)) (re-search-forward "\\s>\\|\\s!\\|\\s\"" nil t) = (if (>=3D (length match) company-dabbrev-minimum-length) (progn (setq symbo= ls ...)))) (and limit (eq (setq company-time-limit-while-counter (1+ compan= y-time-limit-while-counter)) 25) (setq company-time-limit-while-counter 0) = (> (float-time (time-since start)) limit) (throw (quote done) (quote compan= y-time-out)))))) symbols) (save-excursion (let (match) (goto-char (if pos (1- pos) (point-min))) (l= et ((company-time-limit-while-counter 0)) (catch (quote done) (while (re-se= arch-backward regexp nil t) (setq match (match-string-no-properties 0)) (if= (and ignore-comments (company-in-string-or-comment)) (goto-char (nth 8 ...= )) (if (>=3D ... company-dabbrev-minimum-length) (progn ...))) (and limit (= eq (setq company-time-limit-while-counter ...) 25) (setq company-time-limit= -while-counter 0) (> (float-time ...) limit) (throw (quote done) (quote com= pany-time-out)))))) (goto-char (or pos (point-min))) (let ((company-time-li= mit-while-counter 0)) (catch (quote done) (while (re-search-forward regexp = nil t) (setq match (match-string-no-properties 0)) (if (and ignore-comments= (company-in-string-or-comment)) (re-search-forward "\\s>\\|\\s!\\|\\s\"" n= il t) (if (>=3D ... company-dabbrev-minimum-length) (progn ...))) (and limi= t (eq (setq company-time-limit-while-counter ...) 25) (setq company-time-li= mit-while-counter 0) (> (float-time ...) limit) (throw (quote done) (quote = company-time-out)))))) symbols)) company-dabbrev--search-buffer("\\" 255 nil (21557 5576= 2 933926 188000) 0.1 nil) (let* ((start (current-time)) (symbols (company-dabbrev--search-buffer re= gexp (point) nil start limit ignore-comments))) (if other-buffer-modes (pro= gn (catch (quote --cl-block-nil--) (let ((--dolist-tail-- (delq ... ...))) = (while --dolist-tail-- (let (...) (save-current-buffer ... ...) (and limit = ... ...) (setq --dolist-tail-- ...))))))) symbols) company-dabbrev--search("\\" 0.1 all) (let* ((case-fold-search company-dabbrev-ignore-case) (words (company-dab= brev--search (company-dabbrev--make-regexp arg) company-dabbrev-time-limit = (cond ((eq company-dabbrev-other-buffers (quote t)) (let nil (list major-mo= de))) ((eq company-dabbrev-other-buffers (quote all)) (let nil (quote all))= ) (t nil)))) (downcase-p (if (eq company-dabbrev-downcase (quote case-repla= ce)) case-replace company-dabbrev-downcase))) (if downcase-p (mapcar (quote= downcase) words) words)) (cond ((eql command (quote interactive)) (company-begin-backend (quote co= mpany-dabbrev))) ((eql command (quote prefix)) (company-grab-word)) ((eql c= ommand (quote candidates)) (let* ((case-fold-search company-dabbrev-ignore-= case) (words (company-dabbrev--search (company-dabbrev--make-regexp arg) co= mpany-dabbrev-time-limit (cond (... ...) (... ...) (t nil)))) (downcase-p (= if (eq company-dabbrev-downcase (quote case-replace)) case-replace company-= dabbrev-downcase))) (if downcase-p (mapcar (quote downcase) words) words)))= ((eql command (quote ignore-case)) company-dabbrev-ignore-case) ((eql comm= and (quote duplicates)) t)) company-dabbrev(candidates #("ns2" 0 3 (fontified t face font-lock-string= -face))) In GNU Emacs 24.3.94.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8) of 2014-10-06 on axl Repository revision: 117555 sdl.web@gmail.com-20141005005838-oyl694hqhu2d36= 32 Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04.1 LTS From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 24 19:42:27 2015 Received: (at 18667-done) by debbugs.gnu.org; 25 Nov 2015 00:42:27 +0000 Received: from localhost ([127.0.0.1]:51851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1OAE-0006px-Ub for submit@debbugs.gnu.org; Tue, 24 Nov 2015 19:42:27 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:38520) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1O9u-0006pT-N0 for 18667-done@debbugs.gnu.org; Tue, 24 Nov 2015 19:42:25 -0500 Received: by wmec201 with SMTP id c201so49583293wme.1 for <18667-done@debbugs.gnu.org>; Tue, 24 Nov 2015 16:42:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=FmV76gBF66IM1j3dpTxufrzSx8hIco2+qbGpiPEm6JQ=; b=VQsW8B0L/HPHbOEz612iC9bjUl1KQbq+nk6sMYHDoyQ65y6VwyEUFEQJw9pgcv9tbf RwStp4SRfIT2IkZJzSLjy31TWehs/F7Wj+2D9euUQ10Ife96VayGhu/PtvfPIqlfLVbQ YWViBD/Lo+eAnGWKI75PhtBR+WKC6fTz84tCN0xkQsEPsZtJzw5WT8H/gQ2J717iJiwS tPLqZnNGYWAnZkzxEuT4Uf7UlUwtmIF9rnXqtbF1eJsXEZzUQq0X+CxgMnbDLpL1cwNx sqvVmvgNZSWwwqUoQaF3Fa7lZufW4F5m0BV2cUOe7q7lsyinhAKi9rVl2qg+C/cYX9MC IFOQ== X-Received: by 10.194.189.68 with SMTP id gg4mr45497079wjc.146.1448412126137; Tue, 24 Nov 2015 16:42:06 -0800 (PST) Received: from axl ([185.105.175.24]) by smtp.gmail.com with ESMTPSA id t2sm5087862wmt.1.2015.11.24.16.42.04 for <18667-done@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Nov 2015 16:42:05 -0800 (PST) From: Dmitry Gutov To: 18667-done@debbugs.gnu.org Subject: Re: bug#18667: 24.3.94; Error "Point 5215 after end of properties" inside re-search-forward References: <86zjd6rrp9.fsf@yandex.ru> Date: Wed, 25 Nov 2015 02:42:03 +0200 In-Reply-To: <86zjd6rrp9.fsf@yandex.ru> (Dmitry Gutov's message of "Thu, 09 Oct 2014 04:51:14 +0400") Message-ID: <86ziy2rjtw.fsf@yandex.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18667-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) I don't remember seeing this ever since. From unknown Sun Jun 22 20:58:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 23 Dec 2015 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator