From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: --enable-font-backend bug (was: Re: 23.0.60; emacs segfaults when creating X display via emacsclient) Date: Tue, 05 Feb 2008 00:15:10 -0800 Message-ID: <200802050815.m158FAHS021150@sallyv1.ics.uci.edu> References: <200802050018.m150IrgE007563@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202200038 31301 80.91.229.12 (5 Feb 2008 08:27:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Feb 2008 08:27:18 +0000 (UTC) Cc: wence@gmx.li, emacs-pretest-bug@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 05 09:27:37 2008 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 1JMJ9T-0006AJ-Sd for ged-emacs-devel@m.gmane.org; Tue, 05 Feb 2008 09:27:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMJ91-00033D-KM for ged-emacs-devel@m.gmane.org; Tue, 05 Feb 2008 03:27:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMJ7w-0002b0-58 for emacs-devel@gnu.org; Tue, 05 Feb 2008 03:26:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMJ7o-0002Wb-Mx for emacs-devel@gnu.org; Tue, 05 Feb 2008 03:25:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMJ7n-0002WE-E3 for emacs-devel@gnu.org; Tue, 05 Feb 2008 03:25:51 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JMJ7n-0001Uf-1M for emacs-devel@gnu.org; Tue, 05 Feb 2008 03:25:51 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JMJ0Y-0003Yc-4Q for emacs-pretest-bug@gnu.org; Tue, 05 Feb 2008 03:18:22 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JMJ0U-0008SD-S8 for emacs-pretest-bug@gnu.org; Tue, 05 Feb 2008 03:18:21 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JMJ0U-0008Ri-DW for emacs-pretest-bug@gnu.org; Tue, 05 Feb 2008 03:18:18 -0500 X-ICS-MailScanner-Watermark: 1202804113.22551@/qzH4//93PKLWQVq9axkyA Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m158FAHS021150; Tue, 5 Feb 2008 00:15:10 -0800 (PST) In-Reply-To: (Kenichi Handa's message of "Tue, 05 Feb 2008 16:43:19 +0900") Original-Lines: 59 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-detected-kernel: by monty-python.gnu.org: 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:88253 gmane.emacs.pretest.bugs:20879 Archived-At: Kenichi Handa writes: > In article <200802050018.m150IrgE007563@sallyv1.ics.uci.edu>, Dan Nicolaescu writes: > > > Run emacs in a terminal > > > > 1) emacs -nw -Q --eval '(server-start)' > > > > Create an X frame. > > 2) emacsclient -c -d :0.0 > > > > Delete the frame > > 3) C-x 5 0 > > > > Try and create another X frame. > > 4) emacsclient -c -d :0.0 > > > > leading to the following backtrace: > > > I don't get a segfault, but emacs and emacsclient hang. > > As I got "Fatal error (6)Aborted", I started the debugging > by running the first emacs under gdb. But I found that I > can't suspend it by typing C-z once I did the step 2). > Emacs just shows this message: "Suspending an Emacs running > under X makes no sense". > > This makes the debugging very difficult. :-( Why not start the debugger in another terminal and attach to the emacs process? > Is this a multi-tty problem? The "Suspending an Emacs running under X" message? It is, I posted a message about that on emacs-devel a week or two ago. But that is harmless, it should not affect anything here. Emacs just refuses to suspend an tty frame thinking that it has an X11 frame. Again, if emacs is not configured with --enable-font-backend everything works fine. So it seems that the new font backend is the culprit here. > --- > Kenichi Handa > handa@ni.aist.go.jp > > PS. I had to do this to get this "abort". > > 1) emacs -nw -Q --eval '(server-start)' > 2) emacsclient -c -d :0.0 > 3) type C-h h > 4) C-x 5 0 > 5) emacsclient -c -d :0.0 After this step emacs and emacsclien hang completely for me, so I can't do step 6. > 6) type C-h h