From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Date: Mon, 29 Feb 2016 11:24:11 +0100 Message-ID: <87lh637r1w.fsf@gmx.de> References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> <838u25c3z4.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456741527 21805 80.91.229.3 (29 Feb 2016 10:25:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Feb 2016 10:25:27 +0000 (UTC) Cc: 22814@debbugs.gnu.org, andlind@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 29 11:25:15 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 1aaL0s-0002rN-E1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Feb 2016 11:25:14 +0100 Original-Received: from localhost ([::1]:35603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaL0r-0005Vd-Uy for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Feb 2016 05:25:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaL0k-0005Rs-W8 for bug-gnu-emacs@gnu.org; Mon, 29 Feb 2016 05:25:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaL0f-0007Rk-Pa for bug-gnu-emacs@gnu.org; Mon, 29 Feb 2016 05:25:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaL0f-0007Rf-M6 for bug-gnu-emacs@gnu.org; Mon, 29 Feb 2016 05:25:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aaL0f-0000DH-IM for bug-gnu-emacs@gnu.org; Mon, 29 Feb 2016 05:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Feb 2016 10:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22814 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.1456741463761 (code B ref 22814); Mon, 29 Feb 2016 10:25:01 +0000 Original-Received: (at 22814) by debbugs.gnu.org; 29 Feb 2016 10:24:23 +0000 Original-Received: from localhost ([127.0.0.1]:51882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaL02-0000CD-N4 for submit@debbugs.gnu.org; Mon, 29 Feb 2016 05:24:23 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:56937) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaL00-0000Bz-Ha for 22814@debbugs.gnu.org; Mon, 29 Feb 2016 05:24:21 -0500 Original-Received: from detlef.gmx.de ([87.146.57.150]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MQu9K-1aTHRT1thm-00UNt8; Mon, 29 Feb 2016 11:24:13 +0100 In-Reply-To: <838u25c3z4.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Feb 2016 22:06:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13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xA51NNahpXKFYTVKz42Y821HFmoSSNbct/pO0 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114122 Archived-At: Eli Zaretskii writes: >> From: Michael Albinus >> Cc: andlind@gmail.com, 22814@debbugs.gnu.org >> Date: Sat, 27 Feb 2016 20:56:29 +0100 >> >> I've improved the test case. The file-error is trapped, and the test >> continues. Now I get >> >> Test file-notify-test09-sufficient-ressources condition: >> (error "Invalid byte code in /usr/local/src/emacs-25/lisp/emacs-lisp/cl-seq.elc") >> >> The Lisp backtrace doesn't tell anything useful. What could I do now? > > Set a breakpoint in Fsignal, and see who signals the error, and why. --8<---------------cut here---------------start------------->8--- Breakpoint 5, Fsignal (error_symbol=15024, data=95357875) at eval.c:1471 1471 = (NILP (error_symbol) ? Fcar (data) : error_symbol); (gdb) pp error_symbol error (gdb) pp data ("Invalid byte code in /usr/local/src/emacs-25/lisp/emacs-lisp/cl-seq.elc") (gdb) xbacktrace "cl-intersection" (0xffffccc0) "ert--should-error-handle-error" (0xffffcd60) "condition-case" (0xffffcf68) "let" (0xffffd088) "let" (0xffffd1a8) "let" (0xffffd2c8) "let" (0xffffd3e8) "unwind-protect" (0xffffd4c8) 0x1b99710 Lisp type 3 "ert--run-test-internal" (0xffffd7c0) "ert-run-test" (0xffffd948) "ert-run-or-rerun-test" (0xffffdae8) "ert-run-tests" (0xffffdc68) "ert" (0xffffdea0) "funcall-interactively" (0xffffde98) "call-interactively" (0xffffe120) "command-execute" (0xffffe2d8) "command-line-1" (0xffffe440) "command-line" (0xffffe608) "normal-top-level" (0xffffe6d0) "nil" (0x0) 0 (0x15ab400) 0xe04620 Lisp type 4 0x1ae63b0 Lisp type 3 Error accessing memory address 0x37393832746e6588: Bad address. (gdb) bt #0 Fsignal (error_symbol=15024, data=95357875) at eval.c:1471 #1 0x000000000050b0a9 in xsignal (error_symbol=15024, data=95357875) at eval.c:1577 #2 0x000000000050970c in xsignal1 (error_symbol=, arg=) at eval.c:1592 #3 0x000000000050b173 in verror (m=, ap=) at eval.c:1770 #4 0x0000000000509632 in error (m=0x3ab0 ) at eval.c:1782 #5 0x000000000050c921 in Ffetch_bytecode (object=) at eval.c:2949 #6 0x000000000050c53f in funcall_lambda (fun=12117621, nargs=2, arg_vector=0x7fffffffccc0) at eval.c:2854 #7 0x000000000050bbf3 in Ffuncall (nargs=, args=) at eval.c:2742 #8 0x000000000053b8ee in exec_byte_code (bytestr=, vector=22872277, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 #9 0x000000000050b61a in apply_lambda (fun=22872381, args=, count=) at eval.c:2794 #10 0x0000000000508a14 in eval_sub (form=) at eval.c:2211 #11 0x000000000050a889 in internal_lisp_condition_case (var=11746680, bodyform=, handlers=) at eval.c:426 #12 0x0000000000508b83 in eval_sub (form=) at eval.c:2119 #13 0x0000000000509ff9 in Flet (args=) at eval.c:426 #14 0x0000000000508b83 in eval_sub (form=) at eval.c:2119 #15 0x0000000000509ff9 in Flet (args=) at eval.c:426 #16 0x0000000000508b83 in eval_sub (form=) at eval.c:2119 #17 0x0000000000509ff9 in Flet (args=) at eval.c:426 #18 0x0000000000508b83 in eval_sub (form=) at eval.c:2119 #19 0x0000000000509ff9 in Flet (args=) at eval.c:426 #20 0x0000000000508b83 in eval_sub (form=) at eval.c:2119 #21 0x000000000050a64e in Funwind_protect (args=28974979) at eval.c:1170 #22 0x0000000000508b83 in eval_sub (form=) at eval.c:2119 #23 0x000000000050c7c9 in funcall_lambda (fun=, nargs=, arg_vector=) at eval.c:426 #24 0x000000000050bbf3 in Ffuncall (nargs=, args=) at eval.c:2742 #25 0x000000000053b8ee in exec_byte_code (bytestr=, vector=23072773, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 #26 0x000000000050bbf3 in Ffuncall (nargs=, args=) at eval.c:2742 #27 0x000000000053b8ee in exec_byte_code (bytestr=, vector=23073197, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 #28 0x000000000050bbf3 in Ffuncall (nargs=, args=) at eval.c:2742 #29 0x000000000053b8ee in exec_byte_code (bytestr=, vector=23488237, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 #30 0x000000000050bbf3 in Ffuncall (nargs=, args=) at eval.c:2742 #31 0x000000000053b8ee in exec_byte_code (bytestr=, vector=23488597, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 #32 0x000000000050bbf3 in Ffuncall (nargs=, args=) at eval.c:2742 #33 0x000000000053b8ee in exec_byte_code (bytestr=, vector=23546765, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 #34 0x000000000050bbf3 in Ffuncall (nargs=, args=) at eval.c:2742 #35 0x0000000000506644 in Ffuncall_interactively (nargs=15024, args=0x5af0bb3) at callint.c:248 #36 0x000000000050bc5e in Ffuncall (nargs=, args=) at eval.c:2673 #37 0x000000000050b86d in Fapply (nargs=, args=) at eval.c:2321 #38 0x0000000000506b26 in Fcall_interactively (function=4839752, record_flag=, keys=) at callint.c:385 #39 0x000000000050bd63 in Ffuncall (nargs=, args=) at eval.c:2700 #40 0x000000000053b8ee in exec_byte_code (bytestr=, vector=8926749, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 [...] --8<---------------cut here---------------end--------------->8--- Emacs was compiled with "gmake bootstrap". I'll keep the gdb session open. Best regards, Michael.