From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jacob Lagares Pozo Newsgroups: gmane.emacs.bugs Subject: bug#40323: 28.0.50; error in process filter: Invalid search bound (wrong side of point) Date: Mon, 30 Mar 2020 13:04:50 +0200 Message-ID: <35ec6e03-5df2-3b35-9076-3421d7a3f2c9@iebesalu.cat> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="35084"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 To: 40323@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 30 13:11:15 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jIsK3-0008zg-3I for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Mar 2020 13:11:15 +0200 Original-Received: from localhost ([::1]:48058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIsK1-0004jj-UU for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Mar 2020 07:11:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55978) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIsJs-0004jM-NI for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 07:11:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIsJq-0007bS-PR for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 07:11:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49484) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIsJq-0007b1-G4 for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 07:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jIsJq-000487-B5 for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 07:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jacob Lagares Pozo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Mar 2020 11:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40323 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.158556664815851 (code B ref -1); Mon, 30 Mar 2020 11:11:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Mar 2020 11:10:48 +0000 Original-Received: from localhost ([127.0.0.1]:32797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIsJb-00047a-Td for submit@debbugs.gnu.org; Mon, 30 Mar 2020 07:10:48 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:46184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIsE0-0003yf-VV for submit@debbugs.gnu.org; Mon, 30 Mar 2020 07:05:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54731) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIsDy-0003kj-Tp for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 07:05:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIsDw-0007rH-UP for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 07:04:58 -0400 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:37723) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIsDw-0007qA-Hv for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 07:04:56 -0400 Original-Received: by mail-wr1-x434.google.com with SMTP id w10so21125088wrm.4 for ; Mon, 30 Mar 2020 04:04:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iebesalu-cat.20150623.gappssmtp.com; s=20150623; h=to:subject:from:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=e6JvyRUCt/Jte4Un4WsJpsnQSQF3QKE6Wq2FuH1fWCI=; b=Dt0eUAtg8SC+y+DXgQMNI9A6qvWMWKkDsxODoObEx4ny/NYtrY3RfNO3Bqu8kDAncW KyLWWJQ8tq0sBPo+1Tb1ZdCE9Vqi3koK7FXExVKTfM1EXgsx6XJEFb155ZYt9TKfVvmk v61bvgFok1hJ1CMourZSxbmSLv+wFujLhKHt0XRQoMiy4BI0hTm2MYPyHxKDDEpYxqqP XasWUokC33azQ0s0ld2BPNPXR/idh8inLjyseVzibwV3OeFcyDUSBuMwhKNi3yny1T/i hqPNCqp2CkN8clM4TgnCUmZOTJ0jEeOUNxNmRE4hSxCZ54fnVn/YzeznB8E3n4H8jihq D4tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:from:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=e6JvyRUCt/Jte4Un4WsJpsnQSQF3QKE6Wq2FuH1fWCI=; b=QtX3JlaWLoptRXP8xRMWu98ZIAlR5tw59LSd4wd7gkS/EXOazYYRxZf3EfXG0euQ3z ZxuPJIfPC8hTL6p9llr2pGz3RdyKzRnxE96nurDC8BFh5R/i4qMoMoBVVjJL4yQ5tqk7 SVZ5BqfdjirxfkjwlYajIHSkKajmFYzCpu42JhCymmcxMZEtRm6YQIcTOq2HWKC1I5Nf rOA1y1qZl0GdSPamVorcQa97OMzICKu39cpH/SsRfcw0sFH3qOjDgnAlILlky7IY4AVX wU8NRR/nLKZJTohNNRAqjM0Jlt34IpuLU4bsOTMRn91Yf1EPDVtLsIE/O6q+H/6/BDP/ snaQ== X-Gm-Message-State: ANhLgQ1OvTxDk6NOqIFzy7pniKgwWL/vvqa8OG5J4yHqs9JbdC29hn2Z D+R1I4oaoh3qvCCU2OoY3R492mFzN3I= X-Google-Smtp-Source: ADFU+vstq1DFx1s8x6VxI09WjGjCTy/oLStmxiQBVoZGhN0upTshlRBWSXGuzjSnbCg60Gkf/LnwZQ== X-Received: by 2002:a5d:550a:: with SMTP id b10mr14309120wrv.163.1585566294190; Mon, 30 Mar 2020 04:04:54 -0700 (PDT) Original-Received: from [192.168.100.47] ([185.154.9.234]) by smtp.gmail.com with ESMTPSA id o9sm21921821wrx.48.2020.03.30.04.04.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Mar 2020 04:04:53 -0700 (PDT) Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Mon, 30 Mar 2020 07:10:46 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177865 Archived-At: I am currently using EXMW as my main window manager, and I have been having some problems with ansi-color-apply-on-region. I originally posted an issue to the EXWM github repository (https://github.com/ch11ng/exwm/issues/729), where I got pointed to submit a bug report here (because that is probably an Emacs bug, and not an EXWM one). My *Messages* buffer gets spammed all over with the two following error messages, which freeze Emacs for a few seconds each time. error in process filter: ansi-color-apply-on-region: Invalid search bound (wrong side of point) error in process filter: Invalid search bound (wrong side of point) This makes it really difficult to type commands or really do anything. It happens when I open an EXWM window. I think when the window outputs text (which goes to the *Async Shell Command* buffer) and Emacs tries to colorize it, it fails for (possibly) a bug in ansi-color-apply-on-region. Here is the backtrace if I enable debug-on-error: Debugger entered--Lisp error: (error "Invalid search bound (wrong side of point)") re-search-forward("\33\\[[0-?]*[ -/]*[@-~]" # t) ansi-color-apply-on-region(# #) ansi-color-process-output("[03/29/20, 16:21:53:387] info: [FOCUS-EVENT] Clien...") run-hook-with-args(ansi-color-process-output "[03/29/20, 16:21:53:387] info: [FOCUS-EVENT] Clien...") comint-output-filter(# "[03/29/20, 16:21:53:387] info: [FOCUS-EVENT] Clien...") I don't know if I can provide much more information than this, mainly because my elisp-fu is not really something you can consider to be "great". If there is anything else I could provide that could potentially help solved the problem, please let me know about it. Many thanks, Jacob In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.14, cairo version 1.16.0) of 2020-03-28 built on neocomputery Repository revision: dceba13ce57ed0cb726e89566197f77359a38d91 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12007000 System Description: Debian GNU/Linux bullseye/sid Recent messages: error in process filter: Invalid search bound (wrong side of point) error in process filter: ansi-color-apply-on-region: Invalid search bound (wrong side of point) error in process filter: Invalid search bound (wrong side of point) error in process filter: ansi-color-apply-on-region: Invalid search bound (wrong side of point) error in process filter: Invalid search bound (wrong side of point) error in process filter: ansi-color-apply-on-region: Invalid search bound (wrong side of point) error in process filter: Invalid search bound (wrong side of point) error in process filter: ansi-color-apply-on-region: Invalid search bound (wrong side of point) error in process filter: Invalid search bound (wrong side of point) user-error: End of history; no default available Configured using: 'configure --prefix=/usr/local' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LC_ALL: POSIX value of $LANG: en_US.UTF-8 locale-coding-system: nil Major mode: EXWM Minor modes in effect: global-linum-mode: t linum-mode: t global-hl-line-mode: t display-time-mode: t delete-selection-mode: t helm--remap-mouse-mode: t smartparens-global-mode: t smartparens-mode: t pyvenv-mode: t company-quickhelp-mode: t company-quickhelp-local-mode: t global-company-mode: t company-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny rfc822 mml mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils helm-command helm-elisp helm-eval edebug backtrace find-func helm-info helm-mode helm-files helm-tags helm-locate winner dired dired-loaddefs helm-buffers helm-occur helm-grep helm-regexp helm-utils helm-help helm-types disp-table init appareance linum hl-line atom-one-dark-theme keybinds key-chord welcome misc time utility swiper ivy delsel colir ivy-overlay helm derived helm-source eieio-compat helm-multi-match helm-lib async dockerfile-mode sh-script smie executable smartparens powerline powerline-separators color powerline-themes align glsl-mode easy-mmode python-elpy cl-extra yasnippet highlight-indentation flymake-proc flymake warnings help-fns radix-tree help-mode elpy advice elpy-rpc pyvenv eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util elpy-shell elpy-profile elpy-django elpy-refactor python tramp-sh grep cus-edit cus-start cus-load wid-edit cpp-ide company-oddmuse company-keywords company-etags etags fileloop generator xref project company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-bbdb company-quickhelp pos-tip company pcase rtags popup repeat compile tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete comint ansi-color ring parse-time iso8601 time-date ls-lisp format-spec asm-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs bookmark text-property-search pp cmake-ide dash s levenshtein find-file cmake-mode thingatpt rx code-style edmacro exwm-config ido exwm exwm-input xcb-keysyms xcb-xkb exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb xcb-xproto xcb-types xcb-debug kmacro server finder-inf info package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 485189 55779) (symbols 48 38590 1) (strings 32 137640 4402) (string-bytes 1 4451964) (vectors 16 63773) (vector-slots 8 948631 40542) (floats 8 296 541) (intervals 56 1884 1420) (buffers 1000 21))