From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Peter Flynn Newsgroups: gmane.emacs.bugs Subject: bug#46607: 25.2; Emacs hangs with Error running timer 'blink-cursor-start' Date: Thu, 18 Feb 2021 22:32:39 +0000 Organization: Silmaril Consultants Message-ID: References: <87v9apwq4o.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21414"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: 46607@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 18 23:57:12 2021 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 1lCsER-0005SP-JJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Feb 2021 23:57:11 +0100 Original-Received: from localhost ([::1]:45048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCsEQ-0006XY-Ku for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Feb 2021 17:57:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCsEI-0006XG-2a for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2021 17:57:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36823) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCsEH-0004M2-Rg for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2021 17:57:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lCsEH-0002QE-O1 for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2021 17:57:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Peter Flynn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Feb 2021 22:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46607 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 46607-submit@debbugs.gnu.org id=B46607.16136889719192 (code B ref 46607); Thu, 18 Feb 2021 22:57:01 +0000 Original-Received: (at 46607) by debbugs.gnu.org; 18 Feb 2021 22:56:11 +0000 Original-Received: from localhost ([127.0.0.1]:48368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCsDR-0002O7-W7 for submit@debbugs.gnu.org; Thu, 18 Feb 2021 17:56:11 -0500 Original-Received: from orion.myhost.ie ([217.115.118.6]:44998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCrqq-0001aw-EK for 46607@debbugs.gnu.org; Thu, 18 Feb 2021 17:32:49 -0500 Original-Received: from [192.168.0.180] (unknown [79.97.20.231]) (Authenticated sender: peter@silmaril.ie) by orion.myhost.ie (Postfix) with ESMTPSA id BA1FD14DB; Thu, 18 Feb 2021 22:32:41 +0000 (GMT) In-Reply-To: <87v9apwq4o.fsf@gnus.org> Content-Language: en-US X-Mailman-Approved-At: Thu, 18 Feb 2021 17:56:08 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:200296 Archived-At: On 18/02/2021 11:51, Lars Ingebrigtsen wrote: [sorry for the delay] > Could you put > > (setq debug-on-error t) > > in your .emacs file? That should give you a backtrace when the function > fails, which should tell us more about where the error is. That did something (.emacs containing just that line and nothing else: > Debugger entered--Lisp error: (wrong-type-argument listp 10) > cdr(10) > (setq time (cdr time)) > (prog1 time (setq time (cdr time))) > (car-safe (prog1 time (setq time (cdr time)))) > (let* ((time t2) (high2 (car-safe (prog1 time (setq time (cdr time))))) low2 micro2 type2) (if (consp time) (progn (setq low2 (car-safe (prog1 time (setq time (cdr time))))) (if time (setq micro2 (car time) type2 2) (setq micro2 0 type2 1))) (setq low2 time micro2 0 type2 0)) (progn (setq high (+ high high2) low (+ low low2) micro (+ micro micro2) type (max type type2)) (if (>= micro 1000000) (progn (setq low (1+ low) micro (- micro 1000000)))) (if (>= low 65536) (progn (setq high (1+ high) low (- low 65536)))) (encode-time-value high low micro type))) > (let* ((time t1) (high (car-safe (prog1 time (setq time (cdr time))))) low micro type) (if (consp time) (progn (setq low (car-safe (prog1 time (setq time (cdr time))))) (if time (setq micro (car time) type 2) (setq micro 0 type 1))) (setq low time micro 0 type 0)) (let* ((time t2) (high2 (car-safe (prog1 time (setq time (cdr time))))) low2 micro2 type2) (if (consp time) (progn (setq low2 (car-safe (prog1 time (setq time ...)))) (if time (setq micro2 (car time) type2 2) (setq micro2 0 type2 1))) (setq low2 time micro2 0 type2 0)) (progn (setq high (+ high high2) low (+ low low2) micro (+ micro micro2) type (max type type2)) (if (>= micro 1000000) (progn (setq low (1+ low) micro (- micro 1000000)))) (if (>= low 65536) (progn (setq high (1+ high) low (- low 65536)))) (encode-time-value hi gh low micro type)))) > time-add(nil 10) > timer-relative-time(nil 10) > run-at-time(10 nil undo-auto--boundary-timer) > undo-auto--boundary-ensure-timer() > undo-auto--undoable-change() > command-line-1(nil) > command-line() > normal-top-level() > Emacs 25.2 is pretty old -- do you also see this in more recent Emacs > versions? That's what comes with Mint 19, unfortunately. I'm looking to upgrade the machines to Zorin 15, which I have tested from a boot USB; and one of the tests was to see if Emacs still exhibited the same problems, which it does. So I replaced .emacs on the test machine with the line above, and got this: > Debugger entered--Lisp error: (wrong-type-argument listp 10) > cdr(10) > (setq time (cdr time)) > (prog1 time (setq time (cdr time))) > (car-safe (prog1 time (setq time (cdr time)))) > (let* ((time t2) (high2 (car-safe (prog1 time (setq time (cdr time))))) low2 micro2 type2) (if (consp time) (progn (setq low2 (car-safe (prog1 time (setq time (cdr time))))) (if time (setq micro2 (car time) type2 2) (setq micro2 0 type2 1))) (setq low2 time micro2 0 type2 0)) (progn (setq high (+ high high2) low (+ low low2) micro (+ micro micro2) type (max type type2)) (if (>= micro 1000000) (progn (setq low (1+ low) micro (- micro 1000000)))) (if (>= low 65536) (progn (setq high (1+ high) low (- low 65536)))) (encode-time-value high low micro type))) > (let* ((time t1) (high (car-safe (prog1 time (setq time (cdr time))))) low micro type) (if (consp time) (progn (setq low (car-safe (prog1 time (setq time (cdr time))))) (if time (setq micro (car time) type 2) (setq micro 0 type 1))) (setq low time micro 0 type 0)) (let* ((time t2) (high2 (car-safe (prog1 time (setq time (cdr time))))) low2 micro2 type2) (if (consp time) (progn (setq low2 (car-safe (prog1 time (setq time ...)))) (if time (setq micro2 (car time) type2 2) (setq micro2 0 type2 1))) (setq low2 time micro2 0 type2 0)) (progn (setq high (+ high high2) low (+ low low2) micro (+ micro micro2) type (max type type2)) (if (>= micro 1000000) (progn (setq low (1+ low) micro (- micro 1000000)))) (if (>= low 65536) (progn (setq high (1+ high) low (- low 65536)))) (encode-time-value high low micro type)))) > time-add(nil 10) > timer-relative-time(nil 10) > run-at-time(10 nil undo-auto--boundary-timer) > undo-auto--boundary-ensure-timer() > undo-auto--undoable-change() > command-line-1(nil) > command-line() > normal-top-level() That sacrificial machine is running: In GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) of 2017-09-22, modified by Debian built on lgw01-amd64-050 Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Zorin OS 15.3 Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs25-jYekUr/emacs25-25.2+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-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 line-number-mode: t transient-mark-mode: t Recent messages: remem.el: (lambda (buf) ...) quoted with ' rather than with #' remem.el: (lambda (format) ...) quoted with ' rather than with #' remem.el: (lambda (e) ...) quoted with ' rather than with #' remem.el: (lambda (scope) ...) quoted with ' rather than with #' remem.el: (lambda (line) ...) quoted with ' rather than with #' remem.el: (lambda (s) ...) quoted with ' rather than with #' remem.el: (lambda (filename) ...) quoted with ' rather than with #' remem.el: (lambda (scopeinfo) ...) quoted with ' rather than with #' Loading /usr/local/share/emacs/site-lisp/remem.el (source)...done Making completion list... Load-path shadows: /usr/local/share/emacs/site-lisp/css-mode hides /usr/share/emacs/25.2/lisp/textmodes/css-mode /usr/local/share/emacs/site-lisp/package hides /usr/share/emacs/25.2/lisp/emacs-lisp/package Features: (shadow sort mail-extr emacsbug message idna dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode mail-prsvr mail-utils package derived remem php-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cl-loaddefs pcase cl-lib speedbar sb-image ezimage dframe easymenu vc-dispatcher vc-svn time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame 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 charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 249253 7779) (symbols 48 27871 0) (miscs 40 189 143) (strings 32 67589 68563) (string-bytes 1 1888847) (vectors 16 19997) (vector-slots 8 504729 15181) (floats 8 177 84) (intervals 56 270 11) (buffers 976 19)) Peter