From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Schierl Newsgroups: gmane.emacs.bugs Subject: Emacs crashes when killing region with overlays in it Date: Mon, 16 May 2005 12:58:41 +0200 Message-ID: Reply-To: schierlm@gmx.de NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1116363801 5271 80.91.229.2 (17 May 2005 21:03:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 May 2005 21:03:21 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 17 23:03:11 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DY9Ap-0006XL-Qp for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 May 2005 23:00:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DY9D8-0007ki-HA for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 May 2005 17:02:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DXqVn-0001RK-Et for bug-gnu-emacs@gnu.org; Mon, 16 May 2005 21:04:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DXeqL-0001Yg-Fz for bug-gnu-emacs@gnu.org; Mon, 16 May 2005 08:37:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DXdLh-0006dm-Os for bug-gnu-emacs@gnu.org; Mon, 16 May 2005 07:01:28 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1DXdRV-0004vR-12 for bug-gnu-emacs@gnu.org; Mon, 16 May 2005 07:07:27 -0400 Original-Received: (qmail invoked by alias); 16 May 2005 10:59:36 -0000 Original-Received: from d32-45.dip.isp-service.de (EHLO LAPTOP) [83.121.32.45] by mail.gmx.net (mp027) with SMTP; 16 May 2005 12:59:36 +0200 X-Authenticated: #11949556 Original-To: bug-gnu-emacs@gnu.org User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) X-Y-GMX-Trusted: 0 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:11797 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:11797 [repost since the first one apparently did not get through] This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.3.1 (i386-msvc-nt5.0.2195) of 2003-03-28 on buffy configured using `configure --with-msvc (12.00)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: DEU locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Run an emacs - at least the emacs 21.3 on Windows (from where I send the bug report) and the emacs 21.4 on Debian Sarge and the Unstable Emacs on nqmacs.sf.net are affected - with emacs -q. Then load a file containing (let (ovl) (with-temp-buffer (insert "-\n")) '(4 9 14 19)) (switch-to-buffer (current-buffer)) (sit-for 0) (kill-region 3 21) (sit-for 0) )) and execute it with C-x C-e. On Windows you will get the usual "program will be terminated" dialog, on Linux a "Segmentation fault" is printed to the console. This is some weird bug - I tried to make the sequence to reproduce it more minimal, especially to remove the sit-for calls or reduce the number of overlays, but I did not succeed. For some strange reason, this bug sometimes (very rarely, it happened once to me) cannot be reproduced when you already worked a lot in your Emacs, but when starting up a fresh one, reproducing it works again. When setting 'evaporate to t for all overlays, Emacs does no longer crash. Michael