From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: peder@news.klingenberg.no (Peder O. Klingenberg) Newsgroups: gmane.emacs.devel Subject: Re: Possible bug when running with --daemon on 24.3.92.3? Date: Thu, 10 Jul 2014 13:16:19 +0200 Organization: Persons in a Position to Know, inc. Message-ID: References: <87bnt0qovn.fsf@gmail.com> <87lhs14q16.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1404991027 9213 80.91.229.3 (10 Jul 2014 11:17:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jul 2014 11:17:07 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 10 13:17:00 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 1X5CLQ-00078Y-Nt for ged-emacs-devel@m.gmane.org; Thu, 10 Jul 2014 13:16:56 +0200 Original-Received: from localhost ([::1]:37220 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5CLQ-0004IX-8A for ged-emacs-devel@m.gmane.org; Thu, 10 Jul 2014 07:16:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5CLC-0004Bz-7e for emacs-devel@gnu.org; Thu, 10 Jul 2014 07:16:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5CL3-0001Qz-CA for emacs-devel@gnu.org; Thu, 10 Jul 2014 07:16:42 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:47689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5CL3-0001Ql-53 for emacs-devel@gnu.org; Thu, 10 Jul 2014 07:16:33 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X5CL1-0006o2-2R for emacs-devel@gnu.org; Thu, 10 Jul 2014 13:16:31 +0200 Original-Received: from luna.netfonds.no ([80.91.225.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jul 2014 13:16:31 +0200 Original-Received: from peder by luna.netfonds.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jul 2014 13:16:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: luna.netfonds.no User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:cqXWSO3cr2crRPrXoyMzw9up8+Y= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:172929 Archived-At: On Thu, Jul 10 2014 at 09:41, Alexis wrote: > Peder O. Klingenberg writes: > >> Try attaching gdb to the emacs process before starting the >> emacsclient, and see if you catch a signal as you exit emacsclient? > > When i enter C-x 5 0 in emacsclient, gdb reports: > > Program received signal SIGSEGV, Segmentation fault. > PSEUDOVECTORP (code=15, a=536871013) at lisp.h:2436 > 2436 return PSEUDOVECTOR_TYPEP (h, code); So your emacs dies with a segfault, same as mine did. But not on the same line (or perhaps there's been code changes in that area since march, I haven't checked). WRT the Subject of this thread, I'd say definitely a bug. The next steps would be to get a backtrace, and perhaps look at some variables, to figure out the context in which it dies. Take a look at etc/DEBUG in the emacs sources for tips and hints. And then file a bug, and either hope for the guidance of those more knowledgeable in the ways of the source, or dig in yourself. Wonderful learning opportunity :) ...Peder... -- This must be Thursday. I never could get the hang of Thursdays.