From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.bugs Subject: bug#3399: Crash in multi-TTY mode Date: Sat, 30 May 2009 11:25:09 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <8369-76746@sneakemail.com> Reply-To: YAMAMOTO Mitsuharu , 3399@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1243651072 20800 80.91.229.12 (30 May 2009 02:37:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 May 2009 02:37:52 +0000 (UTC) Cc: 3399@emacsbugs.donarmstrong.com, Shannon Jones To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 30 04:37:48 2009 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 1MAESC-0001C7-08 for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 May 2009 04:37:48 +0200 Original-Received: from localhost ([127.0.0.1]:34203 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MAESB-0000RH-GI for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 May 2009 22:37:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MAERv-0000IT-1V for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 22:37:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MAERq-0000Hg-1e for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 22:37:30 -0400 Original-Received: from [199.232.76.173] (port=60463 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MAERp-0000HH-Og for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 22:37:25 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45595) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MAERp-00061C-29 for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 22:37:25 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4U2bHhI027703; Fri, 29 May 2009 19:37:22 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4U2U3f1026294; Fri, 29 May 2009 19:30:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: YAMAMOTO Mitsuharu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 30 May 2009 02:30:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3399 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3399-submit@emacsbugs.donarmstrong.com id=B3399.124365031725844 (code B ref 3399); Sat, 30 May 2009 02:30:03 +0000 Original-Received: (at 3399) by emacsbugs.donarmstrong.com; 30 May 2009 02:25:17 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mathmail.math.s.chiba-u.ac.jp (ntp.math.s.chiba-u.ac.jp [133.82.132.2]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4U2PA60025691 for <3399@emacsbugs.donarmstrong.com>; Fri, 29 May 2009 19:25:12 -0700 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id C382D2C40; Sat, 30 May 2009 11:25:09 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 =?UTF-8?Q?(Shij=C5=8D)?= APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 29 May 2009 22:37:30 -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:28310 Archived-At: >>>>> On Fri, 29 May 2009 10:30:09 -0400, Stefan Monnier said: > Now I'm not sure if I prefer the crash or the hideous workaround. > At the very least, the hideous workaround should be wrapped in > "#ifdef HIDEOUS_WORKAROUND" (or some more descriptive name). > Ideally, we could then use an autoconf macro to only activate the > workaround when needed. But in general it's impossible to tell at configure time which version of libX11 will be linked at runtime. I'd prefer the conservative "maybe leaking" one at this stage as I said first in http://lists.gnu.org/archive/html/emacs-devel/2009-05/msg00263.html . The third non-crashing non-hideous way would be to associate the created database before any call to XGetDefault so it may not set the XlibDisplayDfltRMDB flag. That will require reordering in the display initialization and we can try it after the release. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp