From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23424: 25.0.93; error in process sentinel with Melpa added to package-archives Date: Mon, 02 May 2016 19:58:08 +0300 Message-ID: <83twigl7mn.fsf@gnu.org> References: <8337q0mpe7.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1462208397 12840 80.91.229.3 (2 May 2016 16:59:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 May 2016 16:59:57 +0000 (UTC) Cc: 23424@debbugs.gnu.org To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 02 18:59:40 2016 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 1axHC4-00056s-2Z for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 May 2016 18:59:36 +0200 Original-Received: from localhost ([::1]:37664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axHBx-0006X2-Lq for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 May 2016 12:59:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axHBp-0006H2-6d for bug-gnu-emacs@gnu.org; Mon, 02 May 2016 12:59:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axHBZ-0006C4-Ql for bug-gnu-emacs@gnu.org; Mon, 02 May 2016 12:59:12 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axHBZ-0006B5-NJ for bug-gnu-emacs@gnu.org; Mon, 02 May 2016 12:59:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1axHBW-0007SH-B5 for bug-gnu-emacs@gnu.org; Mon, 02 May 2016 12:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 May 2016 16:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23424 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23424-submit@debbugs.gnu.org id=B23424.146220831728628 (code B ref 23424); Mon, 02 May 2016 16:59:02 +0000 Original-Received: (at 23424) by debbugs.gnu.org; 2 May 2016 16:58:37 +0000 Original-Received: from localhost ([127.0.0.1]:34109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axHB7-0007Rf-LZ for submit@debbugs.gnu.org; Mon, 02 May 2016 12:58:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axHB5-0007RT-UW for 23424@debbugs.gnu.org; Mon, 02 May 2016 12:58:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axHAg-0005zG-R1 for 23424@debbugs.gnu.org; Mon, 02 May 2016 12:58:27 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axHAg-0005xw-OS; Mon, 02 May 2016 12:58:10 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3428 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1axHAa-0001TZ-Nw; Mon, 02 May 2016 12:58:05 -0400 In-reply-to: (message from Kaushal Modi on Mon, 02 May 2016 16:41:32 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:117586 Archived-At: > From: Kaushal Modi > Date: Mon, 02 May 2016 16:41:32 +0000 > Cc: 23424@debbugs.gnu.org > > Breakpoint 3, Fsignal (error_symbol=41328, data=16757379) at eval.c:1471 > 1471 = (NILP (error_symbol) ? Fcar (data) : error_symbol); > (gdb) c > Continuing. > > Breakpoint 3, Fsignal (error_symbol=41328, data=14850531) at eval.c:1471 > 1471 = (NILP (error_symbol) ? Fcar (data) : error_symbol); > (gdb) c > Continuing. > > Breakpoint 3, Fsignal (error_symbol=41328, data=25212659) at eval.c:1471 > 1471 = (NILP (error_symbol) ? Fcar (data) : error_symbol); > (gdb) c > Continuing. > > Breakpoint 3, Fsignal (error_symbol=41328, data=25415251) at eval.c:1471 > 1471 = (NILP (error_symbol) ? Fcar (data) : error_symbol); This is your "Debugging Emacs 101", lesson 1: A breakpoint in Fsignal is frequently hit because some error is thrown which Emacs will catch and ignore, but the debugger gets to see it first. To see whether this is the signal you are after (if you don't already know), do this: (gdb) p error_symbol (gdb) xsymbol The last command should display the Lisp name of the signal. Crystal ball here says you will see "void-variable", which is not the signal you want. So now make the breakpoint conditional: (gdb) condition 3 error_symbol != 41328 (gdb) c and see what other signal is thrown. I had a couple of other unrelated signals (which happened once each, so I didn't feel like making the condition more complex), and finally you will get your expected "end-of-file" error. Then look around; the Lisp backtrace should be the first thing to look at.