From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: GC crashes Date: Thu, 15 Dec 2005 00:28:13 +0100 Message-ID: <85r78fgsxe.fsf@lola.goethe.zz> References: <87slsv8i2m.fsf@stupidchicken.com> <85vexrgte9.fsf@lola.goethe.zz> <87u0dbi7n9.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134606237 15166 80.91.229.2 (15 Dec 2005 00:23:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2005 00:23:57 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 15 01:23:56 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EmgtZ-0007kJ-5y for ged-emacs-devel@m.gmane.org; Thu, 15 Dec 2005 01:22:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EmguB-0000UQ-2P for ged-emacs-devel@m.gmane.org; Wed, 14 Dec 2005 19:23:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Emg2u-0004la-K1 for emacs-devel@gnu.org; Wed, 14 Dec 2005 18:28:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Emg2u-0004lJ-2i for emacs-devel@gnu.org; Wed, 14 Dec 2005 18:28:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Emg2t-0004lD-Rg for emacs-devel@gnu.org; Wed, 14 Dec 2005 18:28:27 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Emg53-0005YW-3A for emacs-devel@gnu.org; Wed, 14 Dec 2005 18:30:41 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1Emg0y-0002x3-6f; Wed, 14 Dec 2005 18:26:28 -0500 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id AFB3D1C4F93D; Thu, 15 Dec 2005 00:28:13 +0100 (CET) Original-To: Chong Yidong In-Reply-To: <87u0dbi7n9.fsf@stupidchicken.com> (Chong Yidong's message of "Wed, 14 Dec 2005 18:24:58 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:47750 Archived-At: Chong Yidong writes: > David Kastrup writes: > >>> #0 initialize_cut_buffers (display=0x8, window=16843009) at xselect.c:2316 >>> data = (unsigned char *) 0x820c124 "\213\367\017\b\001" >>> >>> #1 0x080ff866 in Fx_rotate_cut_buffers_internal (n=8) at xselect.c:2470 >>> window = 73 >>> props = {0, 0, 0, 0, 136364324, 138120105, 3220375768, 135779857} >>> display = (Display *) 0x8748060 >>> sf = (struct frame *) 0x856d418 >> >> from etc/DEBUG: >> >> ** When you are trying to analyze failed assertions, it will be >> essential to compile Emacs either completely without optimizations or >> at least (when using GCC) with the -fno-crossjumping option. Failure >> to do so may make the compiler recycle the same abort call for all >> assertions in a given function, rendering the stack backtrace useless >> for identifying the specific failed assertion. > > This was a bus error, not a failed assertion. Also, I believe he > compiled Emacs with `-O0'. Ah, ok. However, I found that backtraces are less than reliable in such situations. If he has the ability to set breakpoints or watchpoints that trigger before the actual bus error occurs, the probability of a useful backtrace will be quite larger. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum