From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.bugs Subject: bug#17171: crash in ns_read_socket Date: Mon, 05 Jan 2015 07:07:32 +0100 Message-ID: <54AA2A24.7040901@swipnet.se> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1420438099 10408 80.91.229.3 (5 Jan 2015 06:08:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Jan 2015 06:08:19 +0000 (UTC) To: Greg Smolyn , 17171@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 05 07:08:11 2015 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 1Y80pn-0004re-L0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Jan 2015 07:08:11 +0100 Original-Received: from localhost ([::1]:59107 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y80pm-0006Nw-Pw for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Jan 2015 01:08:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y80pi-0006Nr-VT for bug-gnu-emacs@gnu.org; Mon, 05 Jan 2015 01:08:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y80pe-0006IX-QA for bug-gnu-emacs@gnu.org; Mon, 05 Jan 2015 01:08:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y80pe-0006IS-N5 for bug-gnu-emacs@gnu.org; Mon, 05 Jan 2015 01:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y80pe-0006JR-AQ for bug-gnu-emacs@gnu.org; Mon, 05 Jan 2015 01:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Jan D." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Jan 2015 06:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17171 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17171-submit@debbugs.gnu.org id=B17171.142043806324236 (code B ref 17171); Mon, 05 Jan 2015 06:08:02 +0000 Original-Received: (at 17171) by debbugs.gnu.org; 5 Jan 2015 06:07:43 +0000 Original-Received: from localhost ([127.0.0.1]:36882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y80pK-0006Ip-I3 for submit@debbugs.gnu.org; Mon, 05 Jan 2015 01:07:43 -0500 Original-Received: from mailfe06.swip.net ([212.247.154.161]:52756 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y80pH-0006Ib-8t for 17171@debbugs.gnu.org; Mon, 05 Jan 2015 01:07:40 -0500 X-T2-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 559791707; Mon, 05 Jan 2015 07:07:36 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 In-Reply-To: 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:98024 Archived-At: Greg Smolyn skrev den 2015-01-05 06:36: > Ok, I am making it crash every time in emacs 24.4. Everytime you do what? Please describe a case starting from emacs -Q. Jan D. > > Here's a stacktrace: > > #0 0x00007fff91d43c7e in __kill () from > /usr/lib/system/libsystem_kernel.dylib > #1 0x00000001000b84f4 in terminate_due_to_signal (sig=6, > backtrace_limit=) at emacs.c:378 > #2 0x00000001000d5863 in emacs_abort () at sysdep.c:2131 > #3 0x00000001001a961c in ns_term_shutdown (sig=) at > nsterm.m:4451 > #4 0x00000001000b86eb in shut_down_emacs (sig=32, stuff= out>) at emacs.c:2050 > #5 0x00000001000b84b9 in terminate_due_to_signal (sig=6, > backtrace_limit=40) at emacs.c:362 > #6 0x00000001000d5863 in emacs_abort () at sysdep.c:2131 > #7 0x00000001001b4d5d in ns_read_socket (terminal=0x1786d, > hold_quit=) at nsterm.m:3638 > #8 0x00000001000bf3af in gobble_input () at keyboard.c:6850 > #9 0x00000001000c5905 in handle_async_input () at keyboard.c:7090 > #10 process_pending_signals () at keyboard.c:7104 > #11 unblock_input_to (level=) at keyboard.c:7119 > #12 unblock_input () at keyboard.c:7138 > #13 0x00000001001b57ca in ns_set_vertical_scroll_bar (window= out>, portion=, whole=, > position=) at nsterm.m:3902 > #14 0x000000010004cf50 in redisplay_window (window=, > just_this_one_p=) at xdisp.c:16912 > #15 0x0000000100047fa9 in redisplay_window_1 (window=96365) at xdisp.c:14356 > #16 0x0000000100138114 in internal_condition_case_1 (bfun=0x28, arg=32, > handlers=, hfun=) at eval.c:1372 > #17 0x00000001000267e3 in redisplay_internal () at xdisp.c:14002 > #18 0x0000000100027200 in redisplay_preserve_echo_area > (from_where=96365) at xdisp.c:14185 > #19 0x000000010017a959 in wait_reading_process_output > (time_limit=, nsecs=, read_kbd=-1, > do_display=true, > wait_for_cell=4320145466, wait_proc=0x0, just_wait_proc= out>) at process.c:4704 > #20 0x0000000100007d84 in sit_for (timeout=, reading=40, > display_option=) at dispnew.c:5861 > #21 0x00000001000c0dfd in read_char (commandflag=1, map=4745847046, > prev_event=4320145466, used_mouse_menu=0x7fff5fbfc01f, end_time=0x0) > ---Type to continue, or q to quit--- > at keyboard.c:2809 > #22 0x00000001000bd833 in read_key_sequence (bufsize=30, > keybuf=, prompt=, > dont_downcase_last=, > can_return_switch_frame=, > fix_current_buffer=, prevent_redisplay=) > at keyboard.c:9088 > #23 0x00000001000bcec4 in command_loop_1 () at keyboard.c:1452 > #24 0x0000000100137ffb in internal_condition_case (bfun=0x28, > handlers=, hfun=) at eval.c:1348 > #25 0x00000001000cd22e in command_loop_2 (ignore=) at > keyboard.c:1177 > #26 0x0000000100137993 in internal_catch (tag=, > func=0x20, arg=40) at eval.c:1112 > #27 0x00000001000bb082 in command_loop () at keyboard.c:1148 > #28 recursive_edit_1 () at keyboard.c:777 > #29 0x00000001000ea27f in read_minibuf (map=, > initial=4320145466, prompt=, expflag=false, > histvar=, histpos=, defalt= out>, allow_props=, inherit_input_method=) > at minibuf.c:674 > #30 0x00000001000e9a7a in Fread_from_minibuffer (prompt=4722651153, > initial_contents=6, keymap=, read=40, hist=, > default_value=4320145466, inherit_input_method=5) at minibuf.c:957 > #31 0x000000010013999f in Ffuncall (nargs=, > args=) at eval.c:2838 > #32 0x0000000100171f6b in exec_byte_code (bytestr=, > vector=4347356341, maxdepth=, args_template=, > nargs=, args=) at bytecode.c:916 > #33 0x0000000100139699 in Ffuncall (nargs=, > args=) at eval.c:2861 > #34 0x0000000100171f6b in exec_byte_code (bytestr=, > vector=4739000069, maxdepth=, args_template=, > nargs=, args=) at bytecode.c:916 > #35 0x0000000100139699 in Ffuncall (nargs=, > args=) at eval.c:2861 > #36 0x0000000100135f04 in eval_sub (form=) at eval.c:2155 > #37 0x0000000100137d7a in internal_lisp_condition_case (var=4347420722, > bodyform=4402638582, handlers=) at eval.c:1317 > #38 0x0000000100172df5 in exec_byte_code (bytestr=, > vector=4738996165, maxdepth=, args_template=, > nargs=, args=) at bytecode.c:1162 > #39 0x0000000100139699 in Ffuncall (nargs=, > args=) at eval.c:2861 > #40 0x0000000100135f04 in eval_sub (form=) at eval.c:2155 > #41 0x0000000100137993 in internal_catch (tag=, > func=0x20, arg=40) at eval.c:1112 > #42 0x0000000100172bb2 in exec_byte_code (bytestr=, > vector=4347335461, maxdepth=, args_template=, > nargs=, args=) at bytecode.c:1097 > #43 0x0000000100139699 in Ffuncall (nargs=, > args=) at eval.c:2861 > #44 0x000000010013929d in Fapply (nargs=, args= out>) at eval.c:2351 > #45 0x0000000100139740 in Ffuncall (nargs=, > args=) at eval.c:2793 > #46 0x0000000100171f6b in exec_byte_code (bytestr=, > vector=4347334021, maxdepth=, args_template=, > nargs=, args=) at bytecode.c:916 > #47 0x0000000100139699 in Ffuncall (nargs=, > args=) at eval.c:2861 > #48 0x000000010013929d in Fapply (nargs=, args= out>) at eval.c:2351 > #49 0x0000000100139740 in Ffuncall (nargs=, > args=) at eval.c:2793 > #50 0x0000000100171f6b in exec_byte_code (bytestr=, > vector=4347334021, maxdepth=, args_template=, > nargs=, args=) at bytecode.c:916 > #51 0x0000000100139699 in Ffuncall (nargs=, > args=) at eval.c:2861 > #52 0x0000000100171f6b in exec_byte_code (bytestr=, > vector=4745497813, maxdepth=, args_template=, > nargs=, args=) at bytecode.c:916 > #53 0x000000010013a42f in funcall_lambda (fun=, > nargs=, arg_vector=) at eval.c:3045 > #54 0x0000000100139699 in Ffuncall (nargs=, > args=) at eval.c:2861 > #55 0x0000000100171f6b in exec_byte_code (bytestr=, > vector=4348836501, maxdepth=, args_template=, > nargs=, args=) at bytecode.c:916 > #56 0x0000000100138ff0 in apply_lambda (fun=4348836549, args= out>, count=) at eval.c:2920 > > > < ... more chopped out ... > > > and I tried an xbacktrace: > > "redisplay_internal (C function)" (0x53dbf0) > "read-from-minibuffer" (0x5fbfc568) > "helm-read-pattern-maybe" (0x5fbfc6a8) > 0x1a776850 PVEC_COMPILED > "funcall" (0x5fbfc7d0) > 0x1a775928 PVEC_COMPILED > "funcall" (0x5fbfcac0) > "helm-internal" (0x5fbfcd98) > "apply" (0x5fbfcec0) > "helm" (0x5fbfcff8) > "apply" (0x5fbfd120) > "helm" (0x5fbfd260) > "helm-projectile-find-file" (0x5fbfd428) > "projectile-switch-project-by-name" (0x5fbfd4c0) > "let" (0x5fbfd6c0) > 0x1a825eb0 Lisp type 6 > "apply" (0x5fbfd948) > "helm-funcall-with-source" (0x5fbfda80) > "helm-execute-selection-action-1" (0x5fbfdbb0) > "helm-execute-selection-action" (0x5fbfdcc0) > 0x1a66a3b0 PVEC_COMPILED > "funcall" (0x5fbfddf0) > 0x1a66a338 PVEC_COMPILED > "funcall" (0x5fbfe0e0) > "helm-internal" (0x5fbfe3b8) > "apply" (0x5fbfe4e0) > "helm" (0x5fbfe618) > "apply" (0x5fbfe740) > "helm" (0x5fbfe880) > "helm-projectile-switch-project" (0x5fbfea48) > 0x534268 PVEC_SUBR > "ad-Advice-call-interactively" (0x5fbfed78) > "apply" (0x5fbfee78) > "call-interactively" (0x5fbfefc0) > "command-execute" (0x5fbff0e8) > >