From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.bugs Subject: bug#18126: 24.4.50; Arithmetic range error while attempting to drag vertical scroll bar Date: Mon, 28 Jul 2014 13:18:52 +0400 Message-ID: <53D6157C.6000809@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1406539234 30222 80.91.229.3 (28 Jul 2014 09:20:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2014 09:20:34 +0000 (UTC) To: 18126@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 28 11:20:27 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XBh6U-00034S-PJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jul 2014 11:20:22 +0200 Original-Received: from localhost ([::1]:38460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBh6U-0004IA-2p for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jul 2014 05:20:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBh6I-0004Gw-Ih for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 05:20:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBh6A-0005n6-Es for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 05:20:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBh6A-0005mp-Bu for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 05:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XBh69-0003y6-V2 for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 05:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Antipov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Jul 2014 09:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18126 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.140653919015229 (code B ref -1); Mon, 28 Jul 2014 09:20:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Jul 2014 09:19:50 +0000 Original-Received: from localhost ([127.0.0.1]:40159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBh5u-0003xU-8w for submit@debbugs.gnu.org; Mon, 28 Jul 2014 05:19:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37337) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBh5o-0003xD-Gb for submit@debbugs.gnu.org; Mon, 28 Jul 2014 05:19:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBh5b-0005i4-2x for submit@debbugs.gnu.org; Mon, 28 Jul 2014 05:19:35 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:48922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBh5a-0005i0-W5 for submit@debbugs.gnu.org; Mon, 28 Jul 2014 05:19:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBh5T-00049c-1s for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 05:19:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBh5L-0005eW-DP for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 05:19:18 -0400 Original-Received: from forward16.mail.yandex.net ([95.108.253.141]:39215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBh5K-0005eL-U2 for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 05:19:11 -0400 Original-Received: from smtp17.mail.yandex.net (smtp17.mail.yandex.net [95.108.252.17]) by forward16.mail.yandex.net (Yandex) with ESMTP id 848EAD220C3 for ; Mon, 28 Jul 2014 13:19:08 +0400 (MSK) Original-Received: from smtp17.mail.yandex.net (localhost [127.0.0.1]) by smtp17.mail.yandex.net (Yandex) with ESMTP id 5805F19002C8 for ; Mon, 28 Jul 2014 13:19:08 +0400 (MSK) Original-Received: from 155.gprs.mts.ru (155.gprs.mts.ru [213.87.136.155]) by smtp17.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id zSAEGWxq6f-J3qe2DR8; Mon, 28 Jul 2014 13:19:05 +0400 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 4f00f0f7-770b-4ebb-b510-385af2179db6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1406539147; bh=VhPrjGMGlICQ+1vhDEcRcsKLo2DPE9uOPymgC9AXWu4=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: Content-Type:Content-Transfer-Encoding; b=YKwILb8LkwfMB4V/xaCYKrBjFLEQcs0eXS5hmuTqi+MhFGlvP8vCrpi7VH4tbe5jh J62nZoTi+YeDhF0g/XConx4f59Awgw74JbE0lAzCXCdP5xAL//DGfAjhiLXXgcxTva wJC9u5Lks2jTH7VoJrEEPHbhU/Tr5fEc0/72vX0I= Authentication-Results: smtp17.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91874 Archived-At: Using Lucid build, an attempt to drag slider of a vertical scroll bar with mouse causes an arithmetic error: Arithmetic range error: "truncate", 1.0e+INF Corresponding buffer should have enough (a few thousands) lines. The backtrace is: Breakpoint 4, rounding_driver (arg=..., divisor=..., double_round=0x6197d1 , int_round2=0x6196c2 , name=0x71f78b "truncate") at ../../trunk/src/floatfns.c:372 372 xsignal2 (Qrange_error, build_string (name), arg); (gdb) bt #0 rounding_driver (arg=..., divisor=..., double_round=0x6197d1 , int_round2=0x6196c2 , name=0x71f78b "truncate") at ../../trunk/src/floatfns.c:372 #1 0x00000000006198af in Ftruncate (arg=..., divisor=...) at ../../trunk/src/floatfns.c:479 #2 0x0000000000615fdf in Ffuncall (nargs=2, args=0x7fffffffb678) at ../../trunk/src/eval.c:2811 #3 0x00000000006604fa in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=0, args=0x0) at ../../trunk/src/bytecode.c:918 #4 0x0000000000616c4a in funcall_lambda (fun=..., nargs=2, arg_vector=0x8bb7dd ) at ../../trunk/src/eval.c:3042 #5 0x0000000000616195 in Ffuncall (nargs=3, args=0x7fffffffbea0) at ../../trunk/src/eval.c:2857 #6 0x00000000006604fa in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=0, args=0x0) at ../../trunk/src/bytecode.c:918 #7 0x0000000000616c4a in funcall_lambda (fun=..., nargs=1, arg_vector=0x8bc70d ) at ../../trunk/src/eval.c:3042 #8 0x0000000000616195 in Ffuncall (nargs=2, args=0x7fffffffc6d8) at ../../trunk/src/eval.c:2857 #9 0x00000000006604fa in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=0, args=0x0) at ../../trunk/src/bytecode.c:918 #10 0x0000000000616c4a in funcall_lambda (fun=..., nargs=1, arg_vector=0x8bcedd ) at ../../trunk/src/eval.c:3042 #11 0x0000000000616195 in Ffuncall (nargs=2, args=0x7fffffffd038) at ../../trunk/src/eval.c:2857 #12 0x000000000060c974 in Ffuncall_interactively (nargs=2, args=0x7fffffffd038) at ../../trunk/src/callint.c:270 #13 0x0000000000615e86 in Ffuncall (nargs=3, args=0x7fffffffd030) at ../../trunk/src/eval.c:2789 #14 0x000000000060ea4a in Fcall_interactively (function=..., record_flag=..., keys=...) at ../../trunk/src/callint.c:872 #15 0x000000000061600b in Ffuncall (nargs=4, args=0x7fffffffd4b8) at ../../trunk/src/eval.c:2815 #16 0x00000000006604fa in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=1, args=0x7fffffffdd30) at ../../trunk/src/bytecode.c:918 #17 0x00000000006167fd in funcall_lambda (fun=..., nargs=1, arg_vector=0x7fffffffdd28) at ../../trunk/src/eval.c:2976 #18 0x0000000000616195 in Ffuncall (nargs=2, args=0x7fffffffdd20) at ../../trunk/src/eval.c:2857 #19 0x00000000006158ea in call1 (fn=..., arg1=...) at ../../trunk/src/eval.c:2607 #20 0x0000000000570bc6 in command_loop_1 () at ../../trunk/src/keyboard.c:1545 #21 0x0000000000612596 in internal_condition_case (bfun=0x5704ac , handlers=..., hfun=0x56fc7c ) at ../../trunk/src/eval.c:1347 #22 0x000000000057014a in command_loop_2 (ignore=...) at ../../trunk/src/keyboard.c:1169 #23 0x0000000000611a19 in internal_catch (tag=..., func=0x570127 , arg=...) at ../../trunk/src/eval.c:1111 #24 0x00000000005700fe in command_loop () at ../../trunk/src/keyboard.c:1148 #25 0x000000000056f7a8 in recursive_edit_1 () at ../../trunk/src/keyboard.c:769 #26 0x000000000056f978 in Frecursive_edit () at ../../trunk/src/keyboard.c:840 #27 0x000000000056d87f in main (argc=3, argv=0x7fffffffe228) at ../../trunk/src/emacs.c:1650 Lisp Backtrace: "truncate" (0xffffb680) "scroll-bar-scale" (0xffffbea8) "scroll-bar-drag-1" (0xffffc6e0) "scroll-bar-toolkit-scroll" (0xffffd040) "funcall-interactively" (0xffffd038) "call-interactively" (0xffffd4c0) "command-execute" (0xffffdd28) In GNU Emacs 24.4.50.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-07-28 on localhost.localdomain Repository revision: 117598 dmantipov@yandex.ru-20140728080755-e8vbnhi9wiyq2nu5 Windowing system distributor `Fedora Project', version 11.0.11404000 System Description: Fedora release 20 (Heisenbug) Configured using: `configure --prefix=/not/exists --enable-checking --enable-gcc-warnings --enable-check-lisp-object-type --with-x-toolkit=lucid 'CFLAGS=-O0 -g3'' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Messages Minor modes in effect: tooltip-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 buffer-read-only: t line-number-mode: t Recent input: C-x b * m M e M-x r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. scroll-bar-scale: Arithmetic range error: "truncate", 1.0e+INF Making completion list... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils dired time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs) Memory information: ((conses 16 111470 6108) (symbols 48 17962 0) (miscs 40 68 89) (strings 32 11194 3159) (string-bytes 1 294929) (vectors 16 10005) (vector-slots 8 390415 14971) (floats 8 77 205) (intervals 56 17982 4) (buffers 976 14) (heap 1024 12032 749))