From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexis Newsgroups: gmane.emacs.devel Subject: Re: Emacs daemon segfaults [was: Possible bug when running with --daemon on 24.3.92.3?] Date: Fri, 11 Jul 2014 18:27:59 +1000 Message-ID: <87k37kuwkb.fsf@gmail.com> References: <87bnt0qovn.fsf@gmail.com> <87lhs14q16.fsf@gmail.com> <87mwcgv5u0.fsf@gmail.com> <53BF99D7.3040200@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1405067465 24991 80.91.229.3 (11 Jul 2014 08:31:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jul 2014 08:31:05 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 11 10:30:58 2014 Return-path: Envelope-to: ged-emacs-devel@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 1X5WEK-0003Aa-HK for ged-emacs-devel@m.gmane.org; Fri, 11 Jul 2014 10:30:56 +0200 Original-Received: from localhost ([::1]:43019 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5WEJ-0001z6-V2 for ged-emacs-devel@m.gmane.org; Fri, 11 Jul 2014 04:30:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5WE9-0001uN-0R for emacs-devel@gnu.org; Fri, 11 Jul 2014 04:30:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5WDz-0007qk-D0 for emacs-devel@gnu.org; Fri, 11 Jul 2014 04:30:44 -0400 Original-Received: from mail-pd0-x22e.google.com ([2607:f8b0:400e:c02::22e]:55012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5WDy-0007q7-GU for emacs-devel@gnu.org; Fri, 11 Jul 2014 04:30:34 -0400 Original-Received: by mail-pd0-f174.google.com with SMTP id y10so1021538pdj.33 for ; Fri, 11 Jul 2014 01:30:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:to:subject:date:in-reply-to:message-id:mime-version :content-type; bh=vUF+55+lplbMz0dbCc+ju0u6empws2w2aJ86KjWKIW0=; b=HuYyk1z0YtoNmi/nrslMS1Htgt/2+0dAVKduN6O1ZgzOxaAJiZF7e0xtGssSkj+FWS mDTYsCMS3jG7lhV/qUPYYjQo/dv13oRh4Hog+E/4Fk/B2kQ9XLA9c3UvBVb4rxNlmyVA xQGPE2VTTq91s+vbqJGclTooTY4/Ghq2NIe5q9N1mVjfUR1A7qmcesCwEE35gbYNk46L FR1H1BJRwZSN2T99upyIIUcUgGV/Jf2GyF9goFaPNKPowEGFUUGh+z0E1ycfu1ngJ+3I 8eA9cxECPlgHBPDuTsTmaxPCcdEvinGyGaqwct6Ohgoe34BMMtO8GeMlcwaI/Sn+K71Y Xstw== X-Received: by 10.66.122.36 with SMTP id lp4mr52555126pab.82.1405067432839; Fri, 11 Jul 2014 01:30:32 -0700 (PDT) Original-Received: from localhost (ppp118-209-35-177.lns20.mel4.internode.on.net. [118.209.35.177]) by mx.google.com with ESMTPSA id tg9sm1534494pbc.29.2014.07.11.01.30.31 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 11 Jul 2014 01:30:32 -0700 (PDT) In-reply-to: <53BF99D7.3040200@yandex.ru> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::22e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172965 Archived-At: Dmitry Antipov writes: > On 07/11/2014 08:51 AM, Alexis wrote: > >> Well, getting a backtrace produced: >> >> #0 PSEUDOVECTORP (code=15, a=536871013) at lisp.h:2436 >> #1 font_clear_cache (cache=15546662, driver=driver@entry=0xb7b6e0, f=) at font.c:2607 > > Please send the backtrace with all stack frames. Program received signal SIGSEGV, Segmentation fault. PSEUDOVECTORP (code=15, a=536871013) at lisp.h:2436 2436 return PSEUDOVECTOR_TYPEP (h, code); (gdb) backtrace #0 PSEUDOVECTORP (code=15, a=536871013) at lisp.h:2436 #1 font_clear_cache (cache=15546662, driver=driver@entry=0xb7b6e0, f=) at font.c:2607 #2 0x000000000056f990 in font_finish_cache (driver=0xb7b6e0, f=0x119d858) at font.c:2566 #3 font_update_drivers (f=f@entry=0x119d858, new_drivers=12100466) at font.c:3475 #4 0x0000000000426d84 in delete_frame (frame=, force=12100466) at frame.c:1335 #5 0x000000000055c338 in Ffuncall (nargs=, args=) at eval.c:2818 #6 0x000000000059077d in exec_byte_code (bytestr=5, vector=12039904, maxdepth=4611686018679046144, args_template=2052, nargs=142, args=0x2) at bytecode.c:916 #7 0x000000000055be57 in funcall_lambda (fun=140735955395408, nargs=nargs@entry=1, arg_vector=0x10ac1d0, arg_vector@entry=0x7fffa4a0e4a8) at eval.c:2983 #8 0x000000000055c123 in Ffuncall (nargs=2, args=0x7fffa4a0e4a0) at eval.c:2876 #9 0x000000000059077d in exec_byte_code (bytestr=5, vector=12039904, maxdepth=4611686018679046144, args_template=1028, nargs=63, args=0x2) at bytecode.c:916 #10 0x000000000055be57 in funcall_lambda (fun=140735955395744, nargs=nargs@entry=1, arg_vector=0x10ba390, arg_vector@entry=0x7fffa4a0e5d8) at eval.c:2983 #11 0x000000000055c123 in Ffuncall (nargs=2, args=0x7fffa4a0e5d0) at eval.c:2876 #12 0x000000000059077d in exec_byte_code (bytestr=5, vector=12039904, maxdepth=4611686018679046144, args_template=1024, nargs=11, args=0x2) at bytecode.c:916 #13 0x000000000055be57 in funcall_lambda (fun=140735955396048, nargs=nargs@entry=1, arg_vector=0x8adf30, arg_vector@entry=0x7fffa4a0e728) at eval.c:2983 #14 0x000000000055c123 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fffa4a0e720) at eval.c:2876 #15 0x00000000005586dd in Fcall_interactively (function=16364402, record_flag=12100466, keys=12135165) at callint.c:836 #16 0x000000000055c328 in Ffuncall (nargs=, args=) at eval.c:2822 #17 0x000000000059077d in exec_byte_code (bytestr=5, vector=12039904, maxdepth=4611686018679046144, args_template=4100, nargs=108, args=0x4) at bytecode.c:916 #18 0x000000000055be57 in funcall_lambda (fun=140735955396808, nargs=nargs@entry=1, arg_vector=0x91c330, arg_vector@entry=0x7fffa4a0e9e8) at eval.c:2983 #19 0x000000000055c123 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fffa4a0e9e0) at eval.c:2876 #20 0x000000000055c4fa in call1 (fn=, arg1=) at eval.c:2614 #21 0x00000000004f6f2e in command_loop_1 () at keyboard.c:1559 #22 0x000000000055a6d5 in internal_condition_case (bfun=bfun@entry=0x4f6ba0 , handlers=, hfun=hfun@entry=0x4edc70 ) at eval.c:1354 #23 0x00000000004eb76e in command_loop_2 (ignore=ignore@entry=12100466) at keyboard.c:1177 #24 0x000000000055a5db in internal_catch (tag=12147682, func=func@entry=0x4eb750 , arg=12100466) at eval.c:1118 #25 0x00000000004ed877 in command_loop () at keyboard.c:1156 #26 recursive_edit_1 () at keyboard.c:777 #27 0x00000000004edb8d in Frecursive_edit () at keyboard.c:848 #28 0x00000000004196c5 in main (argc=3, argv=) at emacs.c:1646 Lisp Backtrace: "delete-frame" (0xa4a0e358) "server-delete-client" (0xa4a0e4a8) "server-save-buffers-kill-terminal" (0xa4a0e5d8) "save-buffers-kill-terminal" (0xa4a0e728) "call-interactively" (0xa4a0e8d0) "command-execute" (0xa4a0e9e8) > Also note that original recipe, i.e. > > 1. emacs -q --daemon > 2. emacsclient -c > 3. C-x C-c > 4. The `emacs --daemon` process is no longer running. > > doesn't work for me (daemon is still alive after closing the frame). *nod* This issue has only appeared for me on 64-bit Debian Wheezy, not on the 32-bit version. Alexis.