From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexis Newsgroups: gmane.emacs.bugs Subject: bug#17125: Issue still present in pretest 24.3.94.1: in daemon mode, closing X client frame exits entire Emacs Date: Thu, 02 Oct 2014 20:29:41 +1000 Message-ID: <87oatuix0a.fsf@gmail.com> References: <87tx3n2nhi.fsf@gmail.com> <542CF978.4080500@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1412245948 11323 80.91.229.3 (2 Oct 2014 10:32:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2014 10:32:28 +0000 (UTC) Cc: Dmitry Antipov To: 17125@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 02 12:32:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XZdgK-0005wN-Ox for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2014 12:32:20 +0200 Original-Received: from localhost ([::1]:33109 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZdgK-0004No-E9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2014 06:32:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZdgA-0004Nd-A7 for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 06:32:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZdg2-0007z2-Rc for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 06:32:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZdg2-0007yy-OX for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 06:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XZdg1-00014p-Vg for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 06:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alexis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Oct 2014 10:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17125 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17125-submit@debbugs.gnu.org id=B17125.14122458734070 (code B ref 17125); Thu, 02 Oct 2014 10:32:01 +0000 Original-Received: (at 17125) by debbugs.gnu.org; 2 Oct 2014 10:31:13 +0000 Original-Received: from localhost ([127.0.0.1]:58080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZdfE-00013Z-RA for submit@debbugs.gnu.org; Thu, 02 Oct 2014 06:31:13 -0400 Original-Received: from mail-pa0-f52.google.com ([209.85.220.52]:61081) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZdfC-00013Q-1R for 17125@debbugs.gnu.org; Thu, 02 Oct 2014 06:31:10 -0400 Original-Received: by mail-pa0-f52.google.com with SMTP id fb1so2136030pad.39 for <17125@debbugs.gnu.org>; Thu, 02 Oct 2014 03:31:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:to:cc:subject:date:in-reply-to:message-id :mime-version:content-type; bh=Pf4cHjmOPFoBGbgAvFUaHAOamFZtC7rnff1mnWcY8Io=; b=hWHHqHObY6i1FlQzP5IlV/hvhF9CLf9TjGKEfc9CBGqOlCQYDO1aSSUgU+mqv6BDgu DQj42MflaYylR92t3RwZs0vOH9584PS9yVlP+NB0i2YMLFp/iMakRY+Vw1mg8aok+h5G vwclJ3POg8BsS1lo1APsRO/J09k9MZ21B1RhJJXiHFARczjoYdlLmI//8g7iXuhFfYoO bxA+9ocYxTkWMXkaL3qbzo5Bv4PyHc+O8umAJwacz1flHelbPz7WUSN+bQQlYTELLzEn uuM3jkmD3Er77fAK9pebUmWhsC8GnxavsmQA6YXhwpLTHkgrKAMnMWtPb3aWaax+NMLC Nc3Q== X-Received: by 10.66.144.195 with SMTP id so3mr489884pab.156.1412245868893; Thu, 02 Oct 2014 03:31:08 -0700 (PDT) Original-Received: from localhost (ppp118-209-184-104.lns20.mel8.internode.on.net. [118.209.184.104]) by mx.google.com with ESMTPSA id td4sm3120719pab.19.2014.10.02.03.31.06 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 02 Oct 2014 03:31:07 -0700 (PDT) In-reply-to: <542CF978.4080500@yandex.ru> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94018 Archived-At: Dmitry Antipov writes: > On 10/02/2014 06:46 AM, Alexis wrote: > >> Daemon shutdown occurs regardless of whether one uses C-x 5 0 or C-x C-c >> to close the frame. > > Usually this means that the server process is crashed. > Can you obtain the backtrace? Recommended procedure is: > > 1) Compile with --with-x-toolkit=lucid --enable-checking > 2) ./src/emacs -Q --daemon > 3) gdb -p [pid of daemon process] > 4) In gdb, install breakpoints to 'die' and 'exit', then 'c'(ontinue) > 5) ./lib-src/emacsclient -nc > 6) In client frame, C-x 5 0 > 7) See gdb output from 3). (gdb) break die Breakpoint 1 at 0x57ffb0: file alloc.c, line 6830. (gdb) break exit Breakpoint 2 at 0x7fa4fe101b60 (gdb) continue Continuing. [New Thread 0x7fa4f3fff700 (LWP 30109)] [New Thread 0x7fa4f37fe700 (LWP 30110)] Breakpoint 1, die (msg=msg@entry=0x664203 "VECTORP (elt)", file=file@entry=0x66b506 "font.c", line=line@entry=2602) at alloc.c:6830 6830 { (gdb) bt #0 die (msg=msg@entry=0x664203 "VECTORP (elt)", file=file@entry=0x66b506 "font.c", line=line@entry=2602) at alloc.c:6830 #1 0x00000000005b28b1 in font_clear_cache (cache=16514454, driver=driver@entry=0xc7ac80, f=) at font.c:2602 #2 0x00000000005b9332 in font_finish_cache (driver=0xc7ac80, f=0x129cc28) at font.c:2566 #3 font_update_drivers (f=f@entry=0x129cc28, new_drivers=13144946) at font.c:3475 #4 0x0000000000427e13 in delete_frame (frame=, force=13144946) at frame.c:1345 #5 0x00000000005a139b in Ffuncall (nargs=nargs@entry=1, args=args@entry=0x7fff814f3e90) at eval.c:2815 #6 0x000000000059cbdc in Fcall_interactively (function=13187842, record_flag=13144946, keys=13179645) at callint.c:836 #7 0x00000000005a1387 in Ffuncall (nargs=, args=) at eval.c:2819 #8 0x00000000005df63d in exec_byte_code (bytestr=2, vector=6731014, maxdepth=2602, args_template=4100, nargs=4, args=0xfbfd80, args@entry=0x7fff814f4168) at bytecode.c:916 #9 0x00000000005a0dc0 in funcall_lambda (fun=4, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fff814f4168) at eval.c:2979 #10 0x00000000005a111b in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fff814f4160) at eval.c:2873 #11 0x00000000005a15aa in call1 (fn=, arg1=) at eval.c:2611 #12 0x000000000052bbeb in command_loop_1 () at keyboard.c:1559 #13 0x000000000059f085 in internal_condition_case (bfun=bfun@entry=0x52b770 , handlers=, hfun=hfun@entry=0x520750 ) at eval.c:1348 #14 0x000000000051db3e in command_loop_2 (ignore=ignore@entry=13144946) at keyboard.c:1177 #15 0x000000000059ef8b in internal_catch (tag=13192162, func=func@entry=0x51db20 , arg=13144946) at eval.c:1112 #16 0x0000000000520277 in command_loop () at keyboard.c:1156 #17 recursive_edit_1 () at keyboard.c:777 #18 0x00000000005205b5 in Frecursive_edit () at keyboard.c:848 #19 0x0000000000415e05 in main (argc=3, argv=) at emacs.c:1646 (gdb) Alexis.