From unknown Thu Jun 19 16:24:24 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28809: 26.0.90; Error running timer =?UTF-8?Q?=E2=80=98image-dired-thumb-queue-run=E2=80=99?= Resent-From: Davor Rotim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Oct 2017 13:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28809 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 28809@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15079016203475 (code B ref -1); Fri, 13 Oct 2017 13:34:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Oct 2017 13:33:40 +0000 Received: from localhost ([127.0.0.1]:37010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e305r-0000tz-VV for submit@debbugs.gnu.org; Fri, 13 Oct 2017 09:33:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33421) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e305q-0000tl-Px for submit@debbugs.gnu.org; Fri, 13 Oct 2017 09:33:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e305i-0001Q2-MZ for submit@debbugs.gnu.org; Fri, 13 Oct 2017 09:33:33 -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.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40903) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e305i-0001Py-Hf for submit@debbugs.gnu.org; Fri, 13 Oct 2017 09:33:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e305h-0004QU-33 for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2017 09:33:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e305f-0001MG-Ki for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2017 09:33:29 -0400 Received: from mail-wr0-x236.google.com ([2a00:1450:400c:c0c::236]:46197) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e305f-0001Kv-B3 for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2017 09:33:27 -0400 Received: by mail-wr0-x236.google.com with SMTP id l1so1072343wrc.3 for ; Fri, 13 Oct 2017 06:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=CfnVBYEePJTBrr/Z6iSWFzqWc/CKMjnHfM74U0qGOuc=; b=dtg8wbTXcHUj9zzY/AxQoWcDATSE8C0kYlU1FOL+gu0z3E40CPih8euuFmqeGbmpIq 1TyB6T0z/cKw2DoY6EEY64raCOta/tzyuvaikpVg2d3WmoXvdOPPBpbK9nt9UL5W3L2Z CZX+tFWKC9EeH+7lvnowIg40UemUosf3XgFPytmeJKOuNTRHkZLXGOg1bcU6fWGPXdq1 Ffg4AqDmPgx+DSt7AJpZN3yrQLfxY3+uMfS8FC16rdZ/VKHQbz+8z2dZmEKyGI/ZX16E EJcRkcIbjACW4w7XO962DxhgepKBnFzpIwSEMoQfIPzJOnheIDWHBYm67vXWIn2AVB0N 6SZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=CfnVBYEePJTBrr/Z6iSWFzqWc/CKMjnHfM74U0qGOuc=; b=Awyqc8SLpPP+08QjX0SLaU4D+u8va4DLMpnw329fgA+VX/QlcjoH8Dhjr9YWKzkscc FtTY8yrMDr5IMDkCzXJhbvioCb8kPQ6vP1Z5ngrkuoQehHB7iwlRJoPnMB39+hMjCSPz 0TFtdgrwlWFddUv6ZQHTI2pwvyMNR416yTu9ohcuiMPLryilevlbFDsEpTIwf4R2Mf6i musEysm+NZmjVAmMvw5pgIkBe/QKlIFCMe7aVaD/HsuHXoRyGE7nTStY0+37VI9xXpbp 23jltwc2aizzysjCClQ3bRNUfBm0Hsm2RTXDen85VhhUwccd4ZPWlXxReSYLBIsfM3/J QMqg== X-Gm-Message-State: AMCzsaXAze1lYvlRyeaZEP4eCC7weuqHMXSqXyyiL/RcuFAdBcdRv/QF VuhOYR8h1Oiy4tNUZQR6GILRA4UiQU14GzNB5Mr0kQ== X-Google-Smtp-Source: AOwi7QA4j2YE4bVzRwVnPMYn0YwD4EqKB8jGIZbMwK8unzKNh9bnaZLUHlTZhoXsuxt9voVn1ntA7JiusI26yHQGxdY= X-Received: by 10.223.134.250 with SMTP id 55mr1578887wry.249.1507901604697; Fri, 13 Oct 2017 06:33:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.196.147 with HTTP; Fri, 13 Oct 2017 06:33:24 -0700 (PDT) From: Davor Rotim Date: Fri, 13 Oct 2017 15:33:24 +0200 Message-ID: Content-Type: multipart/alternative; boundary="001a1146a5e081283c055b6db330" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (----) --001a1146a5e081283c055b6db330 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Started with emacs -Q, opened a dired buffer, navigated to an image and pressed C-t . on it (image-dired-display-thumb) to generate a thumbnail. That leaves me with only an error message: Error running timer =E2=80=98image-dired-thumb-queue-run=E2=80=99: (range-e= rror "floor" 1505334534.0059688) This happens on other image-dired thumbnail generation commands as well. In GNU Emacs 26.0.90 (build 1, i686-pc-linux-gnu, GTK+ Version 3.22.24) of 2017-10-13 built on lambda Windowing system distributor 'The X.Org Foundation', version 11.0.11904000 System Description: Debian GNU/Linux unstable (sid) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Configured using: 'configure 'CFLAGS=3D-march=3Dnative -O2 -pipe -fstack-protector-strong' --prefix=3D/home/drot/.local '--program-transform-name=3Ds/^ctags$/ctags.emacs/'' 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 LIBSYSTEMD LCMS2 Important settings: value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t 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 Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived 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 elec-pair time-date mule-util 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 menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors 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 composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 8 94646 7703) (symbols 24 20332 1) (miscs 20 46 160) (strings 16 28171 1628) (string-bytes 1 742122) (vectors 8 13956) (vector-slots 4 498246 10266) (floats 8 50 67) (intervals 28 265 12) (buffers 528 12)) --001a1146a5e081283c055b6db330 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Started with emacs -Q, opened a dired buffer, navigat= ed to an image and pressed C-t .
on it (image-dired-display-thumb)= to generate a thumbnail. That leaves me with only an error message:
Error running timer =E2=80=98image-dired-thumb-queue-run=E2=80=99: (range-= error "floor" 1505334534.0059688)

This happens on other image-dired thumbnail generation commands as well.<= br>

In GNU Emacs 26.0.90 (build 1, i686-pc-linux-gnu, GTK+ Ve= rsion 3.22.24)
=C2=A0of 2017-10-13 built on lambda
Windowing system d= istributor 'The X.Org Foundation', version 11.0.11904000
System = Description:=C2=A0=C2=A0=C2=A0 Debian GNU/Linux unstable (sid)

Recen= t messages:
For information about GNU Emacs and the GNU system, type C-h= C-a.
Making completion list...

Configured using:
=C2=A0'c= onfigure 'CFLAGS=3D-march=3Dnative -O2 -pipe -fstack-protector-strong&#= 39;
=C2=A0--prefix=3D/home/drot/.local
=C2=A0'--program-transform= -name=3Ds/^ctags$/ctags.emacs/''

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_SCRO= LL_BARS GTK3 X11 LIBSYSTEMD LCMS2

Important settings:
=C2=A0 valu= e of $LANG: en_US.utf8
=C2=A0 locale-coding-system: utf-8-unix

Ma= jor mode: Lisp Interaction

Minor modes in effect:
=C2=A0 tooltip-= mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 el= ectric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode= : t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0= global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-curso= r-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode= : t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: t
=C2= =A0 transient-mark-mode: t

Load-path shadows:
None found.

= Features:
(shadow sort mail-extr emacsbug message rmc puny seq byte-opt = gv
bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefsformat-spec rfc822 mml easymenu mml-sec password-cache epa derived epgepg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encodemail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc= 2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date
mule-u= til 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-mod= e lisp-mode prog-mode register page menu-bar
rfn-eshadow isearch timer s= elect scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term= /tty-colors frame cl-generic cham georgian
utf-8-lang misc-lang vietname= se tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew gre= ek romanian slovak czech european
ethiopic indian cyrillic chinese compo= site charscript charprop
case-table epa-hook jka-cmpr-hook help simple a= bbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-= face macroexp files
text-properties overlay sha1 md5 base64 format env c= ode-pages mule
custom widget hashtable-print-readable backquote dbusbind= inotify lcms2
dynamic-setting system-font-setting font-render-setting m= ove-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)
Memory information:
((conses 8 94646 7703)
=C2=A0(symbols 24 20332 1= )
=C2=A0(miscs 20 46 160)
=C2=A0(strings 16 28171 1628)
=C2=A0(str= ing-bytes 1 742122)
=C2=A0(vectors 8 13956)
=C2=A0(vector-slots 4 498= 246 10266)
=C2=A0(floats 8 50 67)
=C2=A0(intervals 28 265 12)
=C2= =A0(buffers 528 12))
--001a1146a5e081283c055b6db330-- From unknown Thu Jun 19 16:24:24 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28809: 26.0.90; Error running timer =?UTF-8?Q?=E2=80=98image-dired-thumb-queue-run=E2=80=99?= Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Oct 2017 14:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28809 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Davor Rotim , Mark Oteiza Cc: 28809@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 28809-submit@debbugs.gnu.org id=B28809.150790525311231 (code B ref 28809); Fri, 13 Oct 2017 14:35:02 +0000 Received: (at 28809) by debbugs.gnu.org; 13 Oct 2017 14:34:13 +0000 Received: from localhost ([127.0.0.1]:38228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e312T-0002v5-MA for submit@debbugs.gnu.org; Fri, 13 Oct 2017 10:34:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e312R-0002up-Dj for 28809@debbugs.gnu.org; Fri, 13 Oct 2017 10:34:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e312I-0005M6-OL for 28809@debbugs.gnu.org; Fri, 13 Oct 2017 10:34:06 -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.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e312I-0005Lx-KA; Fri, 13 Oct 2017 10:34:02 -0400 Received: from [176.228.60.248] (port=2119 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e312H-0003vd-6q; Fri, 13 Oct 2017 10:34:02 -0400 Date: Fri, 13 Oct 2017 17:33:51 +0300 Message-Id: <83mv4vjewg.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Davor Rotim on Fri, 13 Oct 2017 15:33:24 +0200) References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) > From: Davor Rotim > Date: Fri, 13 Oct 2017 15:33:24 +0200 > > Started with emacs -Q, opened a dired buffer, navigated to an image and pressed C-t . > on it (image-dired-display-thumb) to generate a thumbnail. That leaves me with only an error message: > > Error running timer ‘image-dired-thumb-queue-run’: (range-error "floor" 1505334534.0059688) Mark, could you please look at this? You changed the code to use floor instead of rounding via format "%.0f", but floor returns an Emacs integer which can overflow on 32-bit hosts for large time values, as happens here. I think we should use ffloor instead, and if that produces a decimal point, eliminate it with "%.0f" format. TIA From unknown Thu Jun 19 16:24:24 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28809: 26.0.90; Error running timer =?UTF-8?Q?=E2=80=98image-dired-thumb-queue-run=E2=80=99?= Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Oct 2017 21:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28809 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Davor Rotim , 28809@debbugs.gnu.org Received: via spool by 28809-submit@debbugs.gnu.org id=B28809.150801630917132 (code B ref 28809); Sat, 14 Oct 2017 21:26:02 +0000 Received: (at 28809) by debbugs.gnu.org; 14 Oct 2017 21:25:09 +0000 Received: from localhost ([127.0.0.1]:40569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3Tvh-0004SG-8y for submit@debbugs.gnu.org; Sat, 14 Oct 2017 17:25:09 -0400 Received: from mail-qt0-f171.google.com ([209.85.216.171]:46368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3Tvf-0004Rq-A4 for 28809@debbugs.gnu.org; Sat, 14 Oct 2017 17:25:07 -0400 Received: by mail-qt0-f171.google.com with SMTP id 1so25384471qtn.3 for <28809@debbugs.gnu.org>; Sat, 14 Oct 2017 14:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=N+wyIZOp5Z5gepFJ+DMFiBmydubSjjcn57H2wA1GwuQ=; b=ZASOE/5Iyyt4SINJWJldWYY7RcT8EHwQQG3de4xVxfnAzA+9b936FNJiB39rDB7TQU kUHu3kIOS7xzcu4BuQNR1yNwCxUq9ZkJbMzieyq476PuAKxXgIIRT5Nqe92tqGm+TKb6 tFBVDSAYlHz/jZHuQstKrDR9bN+HC4L5vcYkc8KFF7AZ0qhwvvaH8ZMYoMz4d7Jbpbje w75gfaYZSObLfjDMjRnvzZYYByTzVphGkKXKtUHbTC6M3dqkVnebi0naZcFt9vLnXC71 T88eAHDUMktI1yokgZ8PmV4uG3Oo785y2C4pIpxxtjCchAEJNHseEvojTNiuwBi0h7TA diKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=N+wyIZOp5Z5gepFJ+DMFiBmydubSjjcn57H2wA1GwuQ=; b=l0EilibMUO+qdP4JNseSKcTQe+63tUBeoihGN3jOZniW/LEkh9xKLO+ogA5CbIQuuC De2KyySsekzkN2N+boiOZD75n7/bAYjEMTTiiioM1oGT4NP8eU7Ap8JIL+eJaiMIUonW 8ClUom2/SeU54X6c3Z9U4ugFkG2rY2bZUID4pz5C3jtPCqnTfkFYgc4G31AJOWqwC3mh O7JOYGoNJHkC0wNap049zvBCEupe0d8jxGKE+3BE7AbNtJs6/5nZwa+mi7mAfMtnc+sv slezIpbTxNtIqIME7q8FsHQih3oox3y126H+f+yxYz5/lqFdrmgH4oSpYNIBvAkfbfMj a3tw== X-Gm-Message-State: AMCzsaUgDaW1v9Sr5Nr6RlTbivZGR5GuvcdQJMz5iZKx1wyLd1E/djF0 UbVsciwqREL0R1kk6E7P1tpjmw== X-Google-Smtp-Source: ABhQp+SnQScwptlIXgKdVWrqBBfwkOA1OMAdd0l5IQlMSQjrFmF0Ul9ptiAuqE+WhwJDAoxNVqZV3Q== X-Received: by 10.200.47.3 with SMTP id j3mr7911532qta.15.1508016301685; Sat, 14 Oct 2017 14:25:01 -0700 (PDT) Received: from logos.localdomain (pool-173-67-36-61.bltmmd.fios.verizon.net. [173.67.36.61]) by smtp.gmail.com with ESMTPSA id p64sm2385054qkb.47.2017.10.14.14.25.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 14 Oct 2017 14:25:00 -0700 (PDT) Date: Sat, 14 Oct 2017 17:24:59 -0400 From: Mark Oteiza Message-ID: <20171014212459.zzzjveby4g32a35i@logos.localdomain> References: <83mv4vjewg.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <83mv4vjewg.fsf@gnu.org> User-Agent: NeoMutt/20171006-14-e64a43 X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.5 (/) On 13/10/17 at 05:33pm, Eli Zaretskii wrote: > > From: Davor Rotim > > Date: Fri, 13 Oct 2017 15:33:24 +0200 > > > > Started with emacs -Q, opened a dired buffer, navigated to an image and pressed C-t . > > on it (image-dired-display-thumb) to generate a thumbnail. That leaves me with only an error message: > > > > Error running timer ‘image-dired-thumb-queue-run’: (range-error "floor" 1505334534.0059688) > > Mark, could you please look at this? You changed the code to use > floor instead of rounding via format "%.0f", but floor returns an > Emacs integer which can overflow on 32-bit hosts for large time > values, as happens here. I think we should use ffloor instead, and if > that produces a decimal point, eliminate it with "%.0f" format. What you propose sounds fine to me. From unknown Thu Jun 19 16:24:24 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Davor Rotim Subject: bug#28809: closed (Re: bug#28809: 26.0.90; Error running timer =?UTF-8?Q?=E2=80=98image-dired-thumb-queue-run=E2=80=99?=) Message-ID: References: <83k1zvf46n.fsf@gnu.org> X-Gnu-PR-Message: they-closed 28809 X-Gnu-PR-Package: emacs Reply-To: 28809@debbugs.gnu.org Date: Mon, 16 Oct 2017 16:29:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1508171342-13324-1" This is a multi-part message in MIME format... ------------=_1508171342-13324-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #28809: 26.0.90; Error running timer =E2=80=98image-dired-thumb-queue-run= =E2=80=99 which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 28809@debbugs.gnu.org. --=20 28809: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28809 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1508171342-13324-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 28809-done) by debbugs.gnu.org; 16 Oct 2017 16:28:29 +0000 Received: from localhost ([127.0.0.1]:44093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e48Fg-0003S8-Pq for submit@debbugs.gnu.org; Mon, 16 Oct 2017 12:28:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e48Ff-0003Rw-Et for 28809-done@debbugs.gnu.org; Mon, 16 Oct 2017 12:28:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e48FX-0002FF-5L for 28809-done@debbugs.gnu.org; Mon, 16 Oct 2017 12:28:22 -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.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e48FW-0002Ew-SG; Mon, 16 Oct 2017 12:28:19 -0400 Received: from [176.228.60.248] (port=2025 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e48FW-0000cx-7T; Mon, 16 Oct 2017 12:28:18 -0400 Date: Mon, 16 Oct 2017 19:28:00 +0300 Message-Id: <83k1zvf46n.fsf@gnu.org> From: Eli Zaretskii To: Mark Oteiza In-reply-to: <20171014212459.zzzjveby4g32a35i@logos.localdomain> (message from Mark Oteiza on Sat, 14 Oct 2017 17:24:59 -0400) Subject: Re: bug#28809: 26.0.90; Error running timer =?utf-8?Q?=E2=80=98im?= =?utf-8?Q?age-dired-thumb-queue-run=E2=80=99?= References: <83mv4vjewg.fsf@gnu.org> <20171014212459.zzzjveby4g32a35i@logos.localdomain> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28809-done Cc: rotim.davor@gmail.com, 28809-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Sat, 14 Oct 2017 17:24:59 -0400 > From: Mark Oteiza > Cc: Davor Rotim , 28809@debbugs.gnu.org > > On 13/10/17 at 05:33pm, Eli Zaretskii wrote: > > > From: Davor Rotim > > > Date: Fri, 13 Oct 2017 15:33:24 +0200 > > > > > > Started with emacs -Q, opened a dired buffer, navigated to an image and pressed C-t . > > > on it (image-dired-display-thumb) to generate a thumbnail. That leaves me with only an error message: > > > > > > Error running timer ‘image-dired-thumb-queue-run’: (range-error "floor" 1505334534.0059688) > > > > Mark, could you please look at this? You changed the code to use > > floor instead of rounding via format "%.0f", but floor returns an > > Emacs integer which can overflow on 32-bit hosts for large time > > values, as happens here. I think we should use ffloor instead, and if > > that produces a decimal point, eliminate it with "%.0f" format. > > What you propose sounds fine to me. Done. ------------=_1508171342-13324-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Oct 2017 13:33:40 +0000 Received: from localhost ([127.0.0.1]:37010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e305r-0000tz-VV for submit@debbugs.gnu.org; Fri, 13 Oct 2017 09:33:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33421) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e305q-0000tl-Px for submit@debbugs.gnu.org; Fri, 13 Oct 2017 09:33:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e305i-0001Q2-MZ for submit@debbugs.gnu.org; Fri, 13 Oct 2017 09:33:33 -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.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40903) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e305i-0001Py-Hf for submit@debbugs.gnu.org; Fri, 13 Oct 2017 09:33:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e305h-0004QU-33 for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2017 09:33:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e305f-0001MG-Ki for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2017 09:33:29 -0400 Received: from mail-wr0-x236.google.com ([2a00:1450:400c:c0c::236]:46197) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e305f-0001Kv-B3 for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2017 09:33:27 -0400 Received: by mail-wr0-x236.google.com with SMTP id l1so1072343wrc.3 for ; Fri, 13 Oct 2017 06:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=CfnVBYEePJTBrr/Z6iSWFzqWc/CKMjnHfM74U0qGOuc=; b=dtg8wbTXcHUj9zzY/AxQoWcDATSE8C0kYlU1FOL+gu0z3E40CPih8euuFmqeGbmpIq 1TyB6T0z/cKw2DoY6EEY64raCOta/tzyuvaikpVg2d3WmoXvdOPPBpbK9nt9UL5W3L2Z CZX+tFWKC9EeH+7lvnowIg40UemUosf3XgFPytmeJKOuNTRHkZLXGOg1bcU6fWGPXdq1 Ffg4AqDmPgx+DSt7AJpZN3yrQLfxY3+uMfS8FC16rdZ/VKHQbz+8z2dZmEKyGI/ZX16E EJcRkcIbjACW4w7XO962DxhgepKBnFzpIwSEMoQfIPzJOnheIDWHBYm67vXWIn2AVB0N 6SZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=CfnVBYEePJTBrr/Z6iSWFzqWc/CKMjnHfM74U0qGOuc=; b=Awyqc8SLpPP+08QjX0SLaU4D+u8va4DLMpnw329fgA+VX/QlcjoH8Dhjr9YWKzkscc FtTY8yrMDr5IMDkCzXJhbvioCb8kPQ6vP1Z5ngrkuoQehHB7iwlRJoPnMB39+hMjCSPz 0TFtdgrwlWFddUv6ZQHTI2pwvyMNR416yTu9ohcuiMPLryilevlbFDsEpTIwf4R2Mf6i musEysm+NZmjVAmMvw5pgIkBe/QKlIFCMe7aVaD/HsuHXoRyGE7nTStY0+37VI9xXpbp 23jltwc2aizzysjCClQ3bRNUfBm0Hsm2RTXDen85VhhUwccd4ZPWlXxReSYLBIsfM3/J QMqg== X-Gm-Message-State: AMCzsaXAze1lYvlRyeaZEP4eCC7weuqHMXSqXyyiL/RcuFAdBcdRv/QF VuhOYR8h1Oiy4tNUZQR6GILRA4UiQU14GzNB5Mr0kQ== X-Google-Smtp-Source: AOwi7QA4j2YE4bVzRwVnPMYn0YwD4EqKB8jGIZbMwK8unzKNh9bnaZLUHlTZhoXsuxt9voVn1ntA7JiusI26yHQGxdY= X-Received: by 10.223.134.250 with SMTP id 55mr1578887wry.249.1507901604697; Fri, 13 Oct 2017 06:33:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.196.147 with HTTP; Fri, 13 Oct 2017 06:33:24 -0700 (PDT) From: Davor Rotim Date: Fri, 13 Oct 2017 15:33:24 +0200 Message-ID: Subject: =?UTF-8?B?MjYuMC45MDsgRXJyb3IgcnVubmluZyB0aW1lciDigJhpbWFnZS1kaXJlZC10aHVtYi1xdQ==?= =?UTF-8?B?ZXVlLXJ1buKAmQ==?= To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="001a1146a5e081283c055b6db330" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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.18 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 (----) --001a1146a5e081283c055b6db330 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Started with emacs -Q, opened a dired buffer, navigated to an image and pressed C-t . on it (image-dired-display-thumb) to generate a thumbnail. That leaves me with only an error message: Error running timer =E2=80=98image-dired-thumb-queue-run=E2=80=99: (range-e= rror "floor" 1505334534.0059688) This happens on other image-dired thumbnail generation commands as well. In GNU Emacs 26.0.90 (build 1, i686-pc-linux-gnu, GTK+ Version 3.22.24) of 2017-10-13 built on lambda Windowing system distributor 'The X.Org Foundation', version 11.0.11904000 System Description: Debian GNU/Linux unstable (sid) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Configured using: 'configure 'CFLAGS=3D-march=3Dnative -O2 -pipe -fstack-protector-strong' --prefix=3D/home/drot/.local '--program-transform-name=3Ds/^ctags$/ctags.emacs/'' 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 LIBSYSTEMD LCMS2 Important settings: value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t 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 Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived 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 elec-pair time-date mule-util 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 menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors 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 composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 8 94646 7703) (symbols 24 20332 1) (miscs 20 46 160) (strings 16 28171 1628) (string-bytes 1 742122) (vectors 8 13956) (vector-slots 4 498246 10266) (floats 8 50 67) (intervals 28 265 12) (buffers 528 12)) --001a1146a5e081283c055b6db330 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Started with emacs -Q, opened a dired buffer, navigat= ed to an image and pressed C-t .
on it (image-dired-display-thumb)= to generate a thumbnail. That leaves me with only an error message:
Error running timer =E2=80=98image-dired-thumb-queue-run=E2=80=99: (range-= error "floor" 1505334534.0059688)

This happens on other image-dired thumbnail generation commands as well.<= br>

In GNU Emacs 26.0.90 (build 1, i686-pc-linux-gnu, GTK+ Ve= rsion 3.22.24)
=C2=A0of 2017-10-13 built on lambda
Windowing system d= istributor 'The X.Org Foundation', version 11.0.11904000
System = Description:=C2=A0=C2=A0=C2=A0 Debian GNU/Linux unstable (sid)

Recen= t messages:
For information about GNU Emacs and the GNU system, type C-h= C-a.
Making completion list...

Configured using:
=C2=A0'c= onfigure 'CFLAGS=3D-march=3Dnative -O2 -pipe -fstack-protector-strong&#= 39;
=C2=A0--prefix=3D/home/drot/.local
=C2=A0'--program-transform= -name=3Ds/^ctags$/ctags.emacs/''

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_SCRO= LL_BARS GTK3 X11 LIBSYSTEMD LCMS2

Important settings:
=C2=A0 valu= e of $LANG: en_US.utf8
=C2=A0 locale-coding-system: utf-8-unix

Ma= jor mode: Lisp Interaction

Minor modes in effect:
=C2=A0 tooltip-= mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 el= ectric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode= : t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0= global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-curso= r-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode= : t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: t
=C2= =A0 transient-mark-mode: t

Load-path shadows:
None found.

= Features:
(shadow sort mail-extr emacsbug message rmc puny seq byte-opt = gv
bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefsformat-spec rfc822 mml easymenu mml-sec password-cache epa derived epgepg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encodemail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc= 2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date
mule-u= til 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-mod= e lisp-mode prog-mode register page menu-bar
rfn-eshadow isearch timer s= elect scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term= /tty-colors frame cl-generic cham georgian
utf-8-lang misc-lang vietname= se tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew gre= ek romanian slovak czech european
ethiopic indian cyrillic chinese compo= site charscript charprop
case-table epa-hook jka-cmpr-hook help simple a= bbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-= face macroexp files
text-properties overlay sha1 md5 base64 format env c= ode-pages mule
custom widget hashtable-print-readable backquote dbusbind= inotify lcms2
dynamic-setting system-font-setting font-render-setting m= ove-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)
Memory information:
((conses 8 94646 7703)
=C2=A0(symbols 24 20332 1= )
=C2=A0(miscs 20 46 160)
=C2=A0(strings 16 28171 1628)
=C2=A0(str= ing-bytes 1 742122)
=C2=A0(vectors 8 13956)
=C2=A0(vector-slots 4 498= 246 10266)
=C2=A0(floats 8 50 67)
=C2=A0(intervals 28 265 12)
=C2= =A0(buffers 528 12))
--001a1146a5e081283c055b6db330-- ------------=_1508171342-13324-1--