From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Core dumps in redisplay. Date: Mon, 28 Feb 2005 21:29:04 +0100 Message-ID: References: <7eee8e4a0b7241b67a0ae97e4923b908@swipnet.se> <49e5a9dfdc9abedb548ffb2ba94ee4bb@swipnet.se> <854df3d393258d420a5f4a60c87f6ea0@swipnet.se> <7452a19cb26d7b5243c6cac47273f10e@swipnet.se> <4357caad916e5632561b09c094c5d375@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1109623342 19082 80.91.229.2 (28 Feb 2005 20:42:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Feb 2005 20:42:22 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 28 21:42:22 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D5rhg-0006KF-F0 for ged-emacs-devel@m.gmane.org; Mon, 28 Feb 2005 21:41:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5s06-0006US-Mo for ged-emacs-devel@m.gmane.org; Mon, 28 Feb 2005 16:00:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D5rpP-0006CY-2A for emacs-devel@gnu.org; Mon, 28 Feb 2005 15:49:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D5rpC-00063j-DF for emacs-devel@gnu.org; Mon, 28 Feb 2005 15:49:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5rp6-00061l-W6 for emacs-devel@gnu.org; Mon, 28 Feb 2005 15:49:01 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D5rVq-00088Q-RV for emacs-devel@gnu.org; Mon, 28 Feb 2005 15:29:06 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1D5rVp-00029O-VQ; Mon, 28 Feb 2005 15:29:06 -0500 Original-To: "Jan D." In-Reply-To: <4357caad916e5632561b09c094c5d375@swipnet.se> (Jan D.'s message of "Mon, 28 Feb 2005 21:05:51 +0100") 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33946 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33946 "Jan D." writes: >> You wish. > > No. I know. The only way the other threads can call xmalloc is if a > signal handler is called in a non-main thread and then calls xmalloc. > This should not happen, but if it does there is a bug somewhere. >> > >> I am putting appropriate assertions in right now and expect to >> report otherwise soon (the trace output is rather clear-spoken >> about this). I want to have this out of the way before I make an >> Emacs/AUCTeX/preview-latex representation at a major GNU/Linux >> conference Saturday and a workshop at a major TeX conference next >> week without having the demos crash. That's simply uncool. > > > Please insert the thread id in the trace output, otherwise you can't > know if it is another thread or a signal handler that calls xmalloc. Apparently a signal handler. I'd have an assertion get thrown if it were another thread. But I get my aborts not on the comparisons of the thread id. Ok, what is the beef with signal handlers? Are they supposed to ever throw a longjmp, whether in the course of Lisp exceptions or not? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum