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: Sat, 14 May 2005 23:41:43 +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 1116375000 6699 80.91.229.2 (18 May 2005 00:10:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 May 2005 00:10:00 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 18 02:09:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DYC7I-0004g9-V0 for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 May 2005 02:08:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYC9d-0000f7-Bd for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 May 2005 20:11:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DXj8d-0003Vi-QC for bug-gnu-emacs@gnu.org; Mon, 16 May 2005 13:12:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DXPhw-0003Nr-Bm for bug-gnu-emacs@gnu.org; Sun, 15 May 2005 16:27:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DXOT3-0001DJ-49 for bug-gnu-emacs@gnu.org; Sun, 15 May 2005 15:08:01 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1DXOXU-000115-Sq for bug-gnu-emacs@gnu.org; Sun, 15 May 2005 15:12:37 -0400 Original-Received: (qmail invoked by alias); 15 May 2005 19:04:37 -0000 Original-Received: from d33-15.dip.isp-service.de (EHLO LAPTOP) [83.121.33.15] by mail.gmx.net (mp029) with SMTP; 15 May 2005 21:04:37 +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:11805 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:11805 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 - 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. Michael