From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; Emacs seg fault Date: Sun, 30 Sep 2007 16:44:41 +0100 Message-ID: References: <87abr4a0nv.fsf@kfs-lx.testafd.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1191167212 8832 80.91.229.12 (30 Sep 2007 15:46:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Sep 2007 15:46:52 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 30 17:46:48 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ic10H-0001lq-It for ged-emacs-devel@m.gmane.org; Sun, 30 Sep 2007 17:46:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ic10D-0006vB-NI for ged-emacs-devel@m.gmane.org; Sun, 30 Sep 2007 11:46:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ic0z3-0006a0-1h for emacs-devel@gnu.org; Sun, 30 Sep 2007 11:45:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ic0yx-0006XH-9r for emacs-devel@gnu.org; Sun, 30 Sep 2007 11:45:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ic0yw-0006XA-TN for emacs-devel@gnu.org; Sun, 30 Sep 2007 11:45:22 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ic0yw-0000Z6-B9 for emacs-devel@gnu.org; Sun, 30 Sep 2007 11:45:22 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ic0yh-0004dC-8g for emacs-devel@gnu.org; Sun, 30 Sep 2007 15:45:07 +0000 Original-Received: from accountslaptop.gradunion.cam.ac.uk ([193.60.92.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Sep 2007 15:45:07 +0000 Original-Received: from sdl.web by accountslaptop.gradunion.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Sep 2007 15:45:07 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 45 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: accountslaptop.gradunion.cam.ac.uk Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAElBMVEUAAAAAAP+LRRP0pGC+ vr7///+7mT1iAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMO DhglKe4AAAEsSURBVCjPbZNBboQwDEV/Cd4X9QJRThApmn0XYW+Jyf2v0m+HhqDBgiAe9rcTG7QH w/1Vn2Ar8gBb/ocywSN3qK9T3z4eFDB4eApocBpeBs1RSykoJd8gQcm8pGmHXFso3ajnmsqV0TnY DQkOfXUfN5NwaI7AWTVOyEhcu1aHmdWItHddUVUcUgUBCkitu8V6ditHVOVdqzl2EQ1ZVGTbdK0V 7cqn8vWzoU5Q/bF9Y/Y0cRU1xwkys5dJ+Dt6pBDWifcNQml8Gh2JVmPSoQzo7en0grswkxrUGYJ7 0hSxxAGr7ZMwYcHIzprpi7TENEE1xtiYxixRlCfPBsUUrwHD7uGIwATrbnODJcVrPpVn3hxiGloe m/S+z3CtuzUSMo83N4DPH+F0evwR3P4A2k+75838OKQAAAAASUVORK5CYII= User-Agent: Gnus/5.110007 Emacs/23.0.50 (20070922) Fedora 7 (gnu/linux) Cancel-Lock: sha1:XC+UPtGW/Lxd5yMtilpdaZd86rc= X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:80056 gmane.emacs.pretest.bugs:20033 Archived-At: On 2007-09-30 11:49 +0100, Kim F. Storm wrote: > Leo writes: > >> #1 0x08194676 in wait_reading_process_output (time_limit=30, microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=137551137, >> wait_proc=0x0, just_wait_proc=0) at process.c:4880 > > I doubt that is the right line number due to compiler optimizations. > Compile with CFLAGS="-g -O0" to get max debugging info. I will get an output with better debugging info. However I can't do that until after 8 Oct. > Since xerrno = 9 (EBADF), I suspect it actually traps in process.c > line 4651 > > This means that one of the bits in the Available mask does not > correspond to a valid file descriptor. > > Looking at the code, I see that this piece of code is executed > between setting up the Available mask and the call to select. > > /* If frame size has changed or the window is newly mapped, > redisplay now, before we start to wait. There is a race > condition here; if a SIGIO arrives between now and the select > and indicates that a frame is trashed, the select may block > displaying a trashed screen. */ > if (frame_garbaged && do_display) > { > clear_waiting_for_input (); > redisplay_preserve_echo_area (11); > if (read_kbd < 0) > set_waiting_for_input (&timeout); > } > > This looks dangerous to me. > > Could you try this patch and see if it fixes the problem: [...] It didn't fix the problem. -- .: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :. Use the most powerful email client -- http://gnus.org/