From unknown Sat Aug 16 21:11:57 2025 X-Loop: don@donarmstrong.com Subject: bug#106: 23.0.50; (pos-visible-in-window-p) returns error with 'before-string overlay Reply-To: Yoshiaki Kasahara , 106@debbugs.gnu.org Resent-From: Yoshiaki Kasahara Original-Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 02 Apr 2008 13:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 106 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.120714356720186 (code B ref -1); Wed, 02 Apr 2008 13:45:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Apr 2008 13:39:27 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m32DdJ8I020177 for ; Wed, 2 Apr 2008 06:39:20 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AugEAJ0p80dMCrUE/2dsb2JhbACBWpB2mhE X-IronPort-AV: E=Sophos;i="4.25,593,1199682000"; d="scan'208";a="17437940" Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 02 Apr 2008 09:39:13 -0400 Received: from pastel.home ([76.10.181.4]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id IRP33513 for ; Wed, 02 Apr 2008 09:39:13 -0400 Received: by pastel.home (Postfix, from userid 20848) id EB7617FE2; Wed, 2 Apr 2008 09:39:12 -0400 (EDT) Resent-Message-ID: Resent-To: submit@debbugs.gnu.org Resent-From: Stefan Monnier Resent-Date: Wed, 02 Apr 2008 09:39:12 -0400 X-Original-To: monnier@iro.umontreal.ca Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 5A8EF2CFAA6 for ; Tue, 1 Apr 2008 14:38:12 -0400 (EDT) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by pinpin.iro.umontreal.ca (Postfix) with ESMTP id BFC563B8B43 for ; Tue, 1 Apr 2008 14:38:06 -0400 (EDT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JglN0-0002Y5-L5 for monnier@iro.umontreal.ca; Tue, 01 Apr 2008 14:38:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jgk72-0007lH-1N for emacs-devel@gnu.org; Tue, 01 Apr 2008 13:17:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jgk70-0007kp-5A for emacs-devel@gnu.org; Tue, 01 Apr 2008 13:17:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jgk70-0007km-2o for emacs-devel@gnu.org; Tue, 01 Apr 2008 13:17:30 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jgk6z-0004m4-Qm for emacs-devel@gnu.org; Tue, 01 Apr 2008 13:17:29 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Jgk6z-00067q-Ja for emacs-pretest-bug@gnu.org; Tue, 01 Apr 2008 13:17:29 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Jgk6v-0004l8-FU for emacs-pretest-bug@gnu.org; Tue, 01 Apr 2008 13:17:28 -0400 Received: from elvenbow.nc.kyushu-u.ac.jp ([133.5.6.4] helo=elvenbow.cc.kyushu-u.ac.jp) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jgk6u-0004jY-RD for emacs-pretest-bug@gnu.org; Tue, 01 Apr 2008 13:17:25 -0400 Received: from localhost (kasahara@localhost [IPv6:::1]) by elvenbow.cc.kyushu-u.ac.jp (8.14.2/8.14.2) with ESMTP id m31HHHAq089922 for ; Wed, 2 Apr 2008 02:17:17 +0900 (JST) (envelope-from kasahara@nc.kyushu-u.ac.jp) Date: Wed, 02 Apr 2008 02:17:17 +0900 (JST) Message-Id: <20080402.021717.37184256298620529.kasahara@nc.kyushu-u.ac.jp> To: emacs-pretest-bug@gnu.org From: Yoshiaki Kasahara X-Fingerprint: CDA2 B6B6 6796 0DD3 9D80 2602 E909 4623 A15E A074 X-URL: http://www.nc.kyushu-u.ac.jp/~kasahara/ X-Mailer: Mew version 5.2.55 on Emacs 23.0.50 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Tue, 01 Apr 2008 14:35:00 -0400 Cc: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Errors-To: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-1.94, requis 5, BAYES_00 -2.60, RECEIVED_FROM_NOUNK 0.66, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: When there is an overlay with 'before-string property at the beginning of a line in a buffer, the point in the buffer is on the overlay, and both the overlay and the point are placed at the bottom of the window, (pos-visible-in-window-p) returns 'Args out of range: 0'. To reproduce, insert some blank lines to *scratch* buffer, and eval the following: (overlay-put (make-overlay (point-max) (point-max)) 'before-string "[before-string]") Then place the overlay and the point at the bottom of the window like this, and eval (pos-visible-in-window-p): -------------- [before-string]<- point is here -EEJ:**--.... <- modeline Eval: (pos-visible-in-window-p) -------------- Currently I'm using emacs before-merge-unicode-to-trunk. I reproduced the same symptom in CVS HEAD (23.0.60) of today. It doesn't happen in emacs-21.3 (it returns t). In some cases the emacs process starts to consume 100% CPU and doesn't respond to keyboard-quit after the error. I have to kill the process. But I cannot reliably reproduce the lock-up. Nexttime I'll try to attach GDB to get a backtrace. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/local/share/emacs/23.0.50/etc/DEBUG for instructions. In GNU Emacs 23.0.50.2 (x86_64-unknown-freebsd7.0, X toolkit, Xaw3d scroll bars) of 2008-03-04 on elvenbow.cc.kyushu-u.ac.jp configured using `configure '--with-x-toolkit=lucid' '--without-xim' '--without-gtk'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: ja_JP.eucJP value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: C value of $LANG: ja_JP.eucJP locale-coding-system: japanese-iso-8bit default-enable-multibyte-characters: t Major mode: Apropos Minor modes in effect: show-paren-mode: t iswitchb-mode: t icomplete-mode: t display-time-mode: t shell-dirtrack-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t From unknown Sat Aug 16 21:11:57 2025 X-Loop: don@donarmstrong.com Subject: bug#106: 23.0.50; (pos-visible-in-window-p) returns error with 'before-string overlay Reply-To: Yoshiaki Kasahara , 106@debbugs.gnu.org Resent-From: Yoshiaki Kasahara Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 03 Apr 2008 03:20:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 106 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 106-submit@emacsbugs.donarmstrong.com id=B106.120719248126851 (code B ref 106); Thu, 03 Apr 2008 03:20:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Status: No, score=2.0 required=4.0 tests=AWL,FOURLA,IMPRONONCABLE_1, IMPRONONCABLE_2,MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2,PHONENUMBER autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 106) by emacsbugs.donarmstrong.com; 3 Apr 2008 03:14:41 +0000 Received: from elvenbow.cc.kyushu-u.ac.jp (root@elvenbow.nc.kyushu-u.ac.jp [133.5.6.4]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m333EamA026845 for <106@emacsbugs.donarmstrong.com>; Wed, 2 Apr 2008 20:14:38 -0700 Received: from localhost (kasahara@localhost [IPv6:::1]) by elvenbow.cc.kyushu-u.ac.jp (8.14.2/8.14.2) with ESMTP id m333EYqo006222 for <106@emacsbugs.donarmstrong.com>; Thu, 3 Apr 2008 12:14:34 +0900 (JST) (envelope-from kasahara@nc.kyushu-u.ac.jp) Date: Thu, 03 Apr 2008 12:14:34 +0900 (JST) Message-Id: <20080403.121434.817641513114882058.kasahara@nc.kyushu-u.ac.jp> To: 106@debbugs.gnu.org From: Yoshiaki Kasahara In-Reply-To: <20080402.021717.37184256298620529.kasahara@nc.kyushu-u.ac.jp> References: <20080402.021717.37184256298620529.kasahara@nc.kyushu-u.ac.jp> X-Fingerprint: CDA2 B6B6 6796 0DD3 9D80 2602 E909 4623 A15E A074 X-URL: http://www.nc.kyushu-u.ac.jp/~kasahara/ X-Mailer: Mew version 5.2.55 on Emacs 23.0.50 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Wed, 02 Apr 2008 02:17:17 +0900 (JST), Yoshiaki Kasahara said: > In some cases the emacs process starts to consume 100% CPU and doesn't > respond to keyboard-quit after the error. I have to kill the process. > But I cannot reliably reproduce the lock-up. Nexttime I'll try to > attach GDB to get a backtrace. I found a reliable way to reproduce the lock-up (an infinite loop somewhere). The lock-up always happens when I have both X and tty frames (I'm a fan of the multi-tty functionality). Even the lock-up occurs when I connect to the emacs-server from a tty using 'emacsclient -t' *after* the "args-out-of-range" error. I tried to collect the backtrace, but I'm not sure if it is really meaningful or not. [Switching to Thread 0xb23000 (LWP 100485)] 0x0000000000432693 in move_it_in_display_line_to (it=0x7fffffffaa60, to_charpos=18001, to_x=-1, op=Variable "op" is not available. ) at xdisp.c:6675 6675 else if (BUFFER_POS_REACHED_P ()) DISPLAY = :0.0 TERM = rxvt Breakpoint 1 at 0x4aed40: file emacs.c, line 431. Breakpoint 2 at 0x4c9770: file sysdep.c, line 1320. (gdb) xbacktrace (gdb) bt full #0 0x0000000000432693 in move_it_in_display_line_to (it=0x7fffffffaa60, to_charpos=18001, to_x=-1, op=Variable "op" is not available. ) at xdisp.c:6675 new_x = 71 hpos_before_this_char = 69 x = 70 i = 1 ascent = 0 descent = 0 result = Variable "result" is not available. (gdb) bt #0 0x0000000000432693 in move_it_in_display_line_to (it=0x7fffffffaa60, to_charpos=18001, to_x=-1, op=Variable "op" is not available. ) at xdisp.c:6675 #1 0x0000000000434c8f in move_it_to (it=0x7fffffffaa60, to_charpos=18001, to_x=-1, to_y=-1, to_vpos=-1, op=8) at xdisp.c:6897 #2 0x000000000043bd4d in move_it_vertically_backward (it=0x7fffffffc270, dy=10) at xdisp.c:7004 #3 0x00000000004401f1 in redisplay_window (window=38673412, just_this_one_p=0) at xdisp.c:13404 #4 0x00000000004431e1 in redisplay_window_0 (window=1) at xdisp.c:11901 #5 0x000000000051a1c8 in internal_condition_case_1 ( bfun=0x4431c0 , arg=38673412, handlers=9474869, hfun=0x41f330 ) at eval.c:1542 #6 0x000000000042f015 in redisplay_windows (window=Variable "window" is not available. ) at xdisp.c:11880 #7 0x00000000004437f5 in redisplay_internal (preserve_echo_area=Variable "preserve_echo_area" is not available. ) at xdisp.c:11437 #8 0x00000000004bb729 in read_char (commandflag=1, nmaps=4, maps=0x7fffffffd7b0, prev_event=9496577, used_mouse_menu=0x7fffffffd8f0, end_time=0x0) at keyboard.c:2724 #9 0x00000000004be135 in read_key_sequence (keybuf=0x7fffffffd960, bufsize=30, prompt=9496577, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9460 #10 0x00000000004bff8b in command_loop_1 () at keyboard.c:1655 #11 0x000000000051a45f in internal_condition_case ( bfun=0x4bfde0 , handlers=9635105, hfun=0x4b9d00 ) at eval.c:1494 #12 0x00000000004b90ea in command_loop_2 () at keyboard.c:1370 #13 0x000000000051a577 in internal_catch (tag=Variable "tag" is not available. ) at eval.c:1230 #14 0x00000000004b9b43 in command_loop () at keyboard.c:1349 #15 0x00000000004b9edc in recursive_edit_1 () at keyboard.c:958 #16 0x00000000004ba041 in Frecursive_edit () at keyboard.c:1020 #17 0x00000000004afa4a in main (argc=7, argv=0x7fffffffdde0) at emacs.c:1743 (gdb) -- Yoshiaki Kasahara Research Institute for Information Technology, Kyushu University kasahara@nc.kyushu-u.ac.jp From unknown Sat Aug 16 21:11:57 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Yoshiaki Kasahara Subject: bug#106 closed by Chong Yidong (Re: 23.0.50; (pos-visible-in-window-p) returns error with 'before-string overlay) Message-ID: References: <87iqyc87ws.fsf@stupidchicken.com> <20080402.021717.37184256298620529.kasahara@nc.kyushu-u.ac.jp> X-Emacs-PR-Message: they-closed 106 X-Emacs-PR-Package: emacs Reply-To: 106@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1208732105-25997-1" This is a multi-part message in MIME format... ------------=_1208732105-25997-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #106: 23.0.50; (pos-visible-in-window-p) returns error with 'before-string = overlay It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 106: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D106 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1208732105-25997-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Sun Apr 20 15:47:07 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-0.2 required=4.0 tests=AWL autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 106-done) by emacsbugs.donarmstrong.com; 20 Apr 2008 22:47:07 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m3KMl4aX024537 for <106-done@emacsbugs.donarmstrong.com>; Sun, 20 Apr 2008 15:47:05 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id C08114E4B8; Sun, 20 Apr 2008 18:42:59 -0400 (EDT) From: Chong Yidong To: Yoshiaki Kasahara Cc: 106-done@debbugs.gnu.org Subject: Re: 23.0.50; (pos-visible-in-window-p) returns error with 'before-string overlay Date: Sun, 20 Apr 2008 18:42:59 -0400 Message-ID: <87iqyc87ws.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I've checked in a fix into CVS. Thanks for the bug report. ------------=_1208732105-25997-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From monnier@iro.umontreal.ca Wed Apr 2 06:39:27 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Apr 2008 13:39:27 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m32DdJ8I020177 for ; Wed, 2 Apr 2008 06:39:20 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AugEAJ0p80dMCrUE/2dsb2JhbACBWpB2mhE X-IronPort-AV: E=Sophos;i="4.25,593,1199682000"; d="scan'208";a="17437940" Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 02 Apr 2008 09:39:13 -0400 Received: from pastel.home ([76.10.181.4]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id IRP33513 for ; Wed, 02 Apr 2008 09:39:13 -0400 Received: by pastel.home (Postfix, from userid 20848) id EB7617FE2; Wed, 2 Apr 2008 09:39:12 -0400 (EDT) Resent-Message-ID: Resent-To: submit@debbugs.gnu.org Resent-From: Stefan Monnier Resent-Date: Wed, 02 Apr 2008 09:39:12 -0400 X-Original-To: monnier@iro.umontreal.ca Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 5A8EF2CFAA6 for ; Tue, 1 Apr 2008 14:38:12 -0400 (EDT) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by pinpin.iro.umontreal.ca (Postfix) with ESMTP id BFC563B8B43 for ; Tue, 1 Apr 2008 14:38:06 -0400 (EDT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JglN0-0002Y5-L5 for monnier@iro.umontreal.ca; Tue, 01 Apr 2008 14:38:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jgk72-0007lH-1N for emacs-devel@gnu.org; Tue, 01 Apr 2008 13:17:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jgk70-0007kp-5A for emacs-devel@gnu.org; Tue, 01 Apr 2008 13:17:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jgk70-0007km-2o for emacs-devel@gnu.org; Tue, 01 Apr 2008 13:17:30 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jgk6z-0004m4-Qm for emacs-devel@gnu.org; Tue, 01 Apr 2008 13:17:29 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Jgk6z-00067q-Ja for emacs-pretest-bug@gnu.org; Tue, 01 Apr 2008 13:17:29 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Jgk6v-0004l8-FU for emacs-pretest-bug@gnu.org; Tue, 01 Apr 2008 13:17:28 -0400 Received: from elvenbow.nc.kyushu-u.ac.jp ([133.5.6.4] helo=elvenbow.cc.kyushu-u.ac.jp) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jgk6u-0004jY-RD for emacs-pretest-bug@gnu.org; Tue, 01 Apr 2008 13:17:25 -0400 Received: from localhost (kasahara@localhost [IPv6:::1]) by elvenbow.cc.kyushu-u.ac.jp (8.14.2/8.14.2) with ESMTP id m31HHHAq089922 for ; Wed, 2 Apr 2008 02:17:17 +0900 (JST) (envelope-from kasahara@nc.kyushu-u.ac.jp) Date: Wed, 02 Apr 2008 02:17:17 +0900 (JST) Message-Id: <20080402.021717.37184256298620529.kasahara@nc.kyushu-u.ac.jp> To: emacs-pretest-bug@gnu.org From: Yoshiaki Kasahara X-Fingerprint: CDA2 B6B6 6796 0DD3 9D80 2602 E909 4623 A15E A074 X-URL: http://www.nc.kyushu-u.ac.jp/~kasahara/ X-Mailer: Mew version 5.2.55 on Emacs 23.0.50 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Tue, 01 Apr 2008 14:35:00 -0400 Cc: Subject: 23.0.50; (pos-visible-in-window-p) returns error with 'before-string overlay X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Errors-To: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-1.94, requis 5, BAYES_00 -2.60, RECEIVED_FROM_NOUNK 0.66, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: When there is an overlay with 'before-string property at the beginning of a line in a buffer, the point in the buffer is on the overlay, and both the overlay and the point are placed at the bottom of the window, (pos-visible-in-window-p) returns 'Args out of range: 0'. To reproduce, insert some blank lines to *scratch* buffer, and eval the following: (overlay-put (make-overlay (point-max) (point-max)) 'before-string "[before-string]") Then place the overlay and the point at the bottom of the window like this, and eval (pos-visible-in-window-p): -------------- [before-string]<- point is here -EEJ:**--.... <- modeline Eval: (pos-visible-in-window-p) -------------- Currently I'm using emacs before-merge-unicode-to-trunk. I reproduced the same symptom in CVS HEAD (23.0.60) of today. It doesn't happen in emacs-21.3 (it returns t). In some cases the emacs process starts to consume 100% CPU and doesn't respond to keyboard-quit after the error. I have to kill the process. But I cannot reliably reproduce the lock-up. Nexttime I'll try to attach GDB to get a backtrace. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/local/share/emacs/23.0.50/etc/DEBUG for instructions. In GNU Emacs 23.0.50.2 (x86_64-unknown-freebsd7.0, X toolkit, Xaw3d scroll bars) of 2008-03-04 on elvenbow.cc.kyushu-u.ac.jp configured using `configure '--with-x-toolkit=lucid' '--without-xim' '--without-gtk'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: ja_JP.eucJP value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: C value of $LANG: ja_JP.eucJP locale-coding-system: japanese-iso-8bit default-enable-multibyte-characters: t Major mode: Apropos Minor modes in effect: show-paren-mode: t iswitchb-mode: t icomplete-mode: t display-time-mode: t shell-dirtrack-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t ------------=_1208732105-25997-1--