From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#407: gpm server stop making emacs abort() Date: Fri, 12 Sep 2008 00:14:25 -0400 Message-ID: References: <87wsktf41m.fsf@blah.blah> <87iqvpgwsj.fsf@gmx.de> Reply-To: Stefan Monnier , 407@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221193670 6891 80.91.229.12 (12 Sep 2008 04:27:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2008 04:27:50 +0000 (UTC) Cc: Kevin Ryde , 407@emacsbugs.donarmstrong.com To: Sven Joachim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 12 06:28:45 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ke0Gy-0001Pv-GT for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Sep 2008 06:28:44 +0200 Original-Received: from localhost ([127.0.0.1]:53856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ke0Fy-0006xf-3l for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Sep 2008 00:27:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ke0Fs-0006uZ-M9 for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2008 00:27:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ke0Fs-0006uB-CP for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2008 00:27:36 -0400 Original-Received: from [199.232.76.173] (port=33042 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ke0Fs-0006u8-4f for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2008 00:27:36 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43253) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ke0Fs-0006Ry-8o for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2008 00:27:36 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8C4RXfu010844; Thu, 11 Sep 2008 21:27:33 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8C4K4pL007845; Thu, 11 Sep 2008 21:20:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 12 Sep 2008 04:20:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 407 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: moreinfo Original-Received: via spool by 407-submit@emacsbugs.donarmstrong.com id=B407.12211928765989 (code B ref 407); Fri, 12 Sep 2008 04:20:03 +0000 Original-Received: (at 407) by emacsbugs.donarmstrong.com; 12 Sep 2008 04:14:36 +0000 Original-Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8C4EUrT005872 for <407@emacsbugs.donarmstrong.com>; Thu, 11 Sep 2008 21:14:34 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuUEAN+JyUhFxIqP/2dsb2JhbACBY7RUgWKBBg X-IronPort-AV: E=Sophos;i="4.32,385,1217822400"; d="scan'208";a="26706274" Original-Received: from 69-196-138-143.dsl.teksavvy.com (HELO ceviche.home) ([69.196.138.143]) by ironport2-out.teksavvy.com with ESMTP; 12 Sep 2008 00:14:25 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 7257FB40CD; Fri, 12 Sep 2008 00:14:25 -0400 (EDT) In-Reply-To: <87iqvpgwsj.fsf@gmx.de> (Sven Joachim's message of "Tue, 01 Jul 2008 22:43:40 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 12 Sep 2008 00:27:36 -0400 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:20500 Archived-At: >> + if (gpm < 0) >> + delete_gpm_wait_descriptor (gpm_fd); >> if (hold_quit.kind != NO_EVENT) >> kbd_buffer_store_event (&hold_quit); >> if (nread) > Works fine for me. I've installed a similar patch. It does not do (gpm-mouse-mode 0) because I don't think it is safe at this point. So there's probably room for improvement, but it hopefully fixes the crashes. Stefan