From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jake Goulding Newsgroups: gmane.emacs.bugs Subject: bug#30320: 26.0.91; Crash when using lsp-ui-doc-mode Date: Thu, 1 Feb 2018 14:54:30 -0500 Message-ID: References: <83po5oeil8.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c09b922d4771205642bf6e2" X-Trace: blaine.gmane.org 1517515375 20586 195.159.176.226 (1 Feb 2018 20:02:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 1 Feb 2018 20:02:55 +0000 (UTC) Cc: 30320@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 01 21:02:51 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehL4J-0004os-6h for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Feb 2018 21:02:47 +0100 Original-Received: from localhost ([::1]:58955 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehL6K-0003e4-6P for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Feb 2018 15:04:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehL1d-0000BQ-Lg for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2018 15:03:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehKwo-0006Ux-MW for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2018 15:00:01 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44804) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ehKwo-0006Uq-Ek for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2018 14:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ehKwo-00073E-4z for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2018 14:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jake Goulding Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Feb 2018 19:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30320 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30320-submit@debbugs.gnu.org id=B30320.151751487927073 (code B ref 30320); Thu, 01 Feb 2018 19:55:02 +0000 Original-Received: (at 30320) by debbugs.gnu.org; 1 Feb 2018 19:54:39 +0000 Original-Received: from localhost ([127.0.0.1]:52701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehKwQ-00072b-WA for submit@debbugs.gnu.org; Thu, 01 Feb 2018 14:54:39 -0500 Original-Received: from mail-ot0-f170.google.com ([74.125.82.170]:35657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehKwO-00072N-Nl for 30320@debbugs.gnu.org; Thu, 01 Feb 2018 14:54:37 -0500 Original-Received: by mail-ot0-f170.google.com with SMTP id a2so6703249otf.2 for <30320@debbugs.gnu.org>; Thu, 01 Feb 2018 11:54:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dC7B+X6MJhbTjlzufd2g2SMmly1Wy15LGCTamS1REFI=; b=kBbp5ErGreS05inLw6vika98WGzbX7XqehxdqNqk/L6/1msfhrgMDSXJzNq72kME5U XMOFTJJVCvsD4CX9CXOAcfLlIgq0vEowHmGG/VLCz/wcTWt/tK95dhpP2ho8MP3/PDsU hYX51KYgDqkzQTbkz03Xzc3iyES8Pz0/j2WM78NZJGp84f1yrVvM/MZBZ10NLYxz6nW5 Hv8xmSxyMPNNBOdk9PlJG76qvLLQFow4N/FTcTOe40NpoOagtRMV4I1zq0XsXCxDLPMU jtUMMR2TAc2G/ekdFjgCuqQlkeec3lFJ9YHPqOgdDC4BtTw25O8qZKUO4grwcz7OB8aX r+Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dC7B+X6MJhbTjlzufd2g2SMmly1Wy15LGCTamS1REFI=; b=spXu1Y/gC67uSM/CwJcQnV7u0ByE1Zx7XtzXwtMKB3Tv6Q+SVoZ8gGBtM2Sg8IK+sI mb9MVRq1HXNPQZpP6XFF4CjHQEIP8Iixi196cc/rrwmHLc8LF/LG7jGEqjz7SZ9hJUnR RKmY9LIb7h6ilGspKrH6yxUEXptGdxmzyAos/6Yxgw07Qfon2zOYVD8So5kr7/N0rKPX 2owE2RFhc/JMjYCaIDzQ6r4g0yyuD/aLVGbkf5B8W/o24ZSam15sn3RpXHHohtwqhTn5 cRQj/myOvAKTB+Z5qNFX6c5SlTr70KjGiILcqiZMMOMAN552jPkHVq23QwjEuvM8DJKw BjpA== X-Gm-Message-State: AKwxytdHlbWDW9se/lMKJYEIn9cuy2ygoIZg8ulqPZBIRVtyWGz9J2MP chtr7ZxF4K2NxDnuYyxJsQVNRNOV5z/Ucezz/MRJ0Q== X-Google-Smtp-Source: AH8x224gGxLM2oAAVdQsW+sZCS7KYwtVFyUYXRAgbrejRRYnAXRtPoqDEavEOwO3ZCeEfCDpteRAJgzbv7Z+/avy1l0= X-Received: by 10.157.25.235 with SMTP id k98mr31730019otk.371.1517514871042; Thu, 01 Feb 2018 11:54:31 -0800 (PST) Original-Received: by 10.157.60.238 with HTTP; Thu, 1 Feb 2018 11:54:30 -0800 (PST) In-Reply-To: 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:142776 Archived-At: --94eb2c09b922d4771205642bf6e2 Content-Type: text/plain; charset="UTF-8" Now that I have debugging symbols, here is the complete backtrace: frame #0: 0x00007fff5c930e3e libsystem_kernel.dylib`__pthread_kill + 10 frame #1: 0x00007fff5ca6f150 libsystem_pthread.dylib`pthread_kill + 333 frame #2: 0x00007fff5c83f8fe libsystem_c.dylib`raise + 26 frame #3: 0x00000001001a4dc6 Emacs`terminate_due_to_signal(sig=6, backtrace_limit=40) at emacs.c:394 frame #4: 0x00000001001e1783 Emacs`emacs_abort at sysdep.c:2426 frame #5: 0x0000000100402e68 Emacs`ns_term_shutdown(sig=6) at nsterm.m:5332 frame #6: 0x00000001001a50b4 Emacs`shut_down_emacs(sig=6, stuff=0) at emacs.c:2118 frame #7: 0x00000001001a4d62 Emacs`terminate_due_to_signal(sig=6, backtrace_limit=40) at emacs.c:377 frame #8: 0x00000001001e1783 Emacs`emacs_abort at sysdep.c:2426 frame #9: 0x0000000100173380 Emacs`cmcheckmagic(tty=0x000000010180d000) at cm.c:118 frame #10: 0x0000000100181c02 Emacs`tty_write_glyphs(f=0x000000010402ffb8, string=0x000000010228c6e0, len=1) at term.c:793 * frame #11: 0x000000010018445b Emacs`write_glyphs(f=0x000000010402ffb8, string=0x000000010228c6b0, len=1) at terminal.c:165 frame #12: 0x000000010001ab99 Emacs`update_frame_line(f=0x000000010402ffb8, vpos=52, updating_menu_p=false) at dispnew.c:5036 frame #13: 0x000000010000667e Emacs`update_frame_1(f=0x000000010402ffb8, force_p=true, inhibit_id_p=false, set_cursor_p=true, updating_menu_p=false) at dispnew.c:4516 frame #14: 0x0000000100005fd6 Emacs`update_frame(f=0x000000010402ffb8, force_p=true, inhibit_hairy_id_p=false) at dispnew.c:3124 frame #15: 0x0000000100064456 Emacs`redisplay_internal at xdisp.c:14444 frame #16: 0x0000000100065a69 Emacs`redisplay at xdisp.c:13503 frame #17: 0x00000001001b05d0 Emacs`read_char(commandflag=1, map=4355478675, prev_event=0, used_mouse_menu=0x00007ffeefbfa587, end_time=0x0000000000000000) at keyboard.c:2480 frame #18: 0x00000001001ab75b Emacs`read_key_sequence(keybuf=0x00007ffeefbfa8a0, bufsize=30, prompt=0, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9147 frame #19: 0x00000001001aa0ab Emacs`command_loop_1 at keyboard.c:1368 frame #20: 0x00000001002d4d6f Emacs`internal_condition_case(bfun=(Emacs`command_loop_1 at keyboard.c:1259), handlers=18672, hfun=(Emacs`cmd_error at keyboard.c:938)) at eval.c:1332 frame #21: 0x00000001001c3fec Emacs`command_loop_2(ignore=0) at keyboard.c:1110 frame #22: 0x00000001002d4018 Emacs`internal_catch(tag=19344, func=(Emacs`command_loop_2 at keyboard.c:1106), arg=0) at eval.c:1097 frame #23: 0x00000001001a8db0 Emacs`command_loop at keyboard.c:1081 frame #24: 0x00000001001a8c90 Emacs`recursive_edit_1 at keyboard.c:695 frame #25: 0x0000000100213d2d Emacs`read_minibuf(map=4362498003, initial=0, prompt=4332737972, expflag=false, histvar=149436936, histpos=2, defalt=0, allow_props=false, inherit_input_method=false) at minibuf.c:685 frame #26: 0x0000000100212848 Emacs`Fread_from_minibuffer(prompt=4332737972, initial_contents=0, keymap=4362498003, read=0, hist=149436936, default_value=0, inherit_input_method=0) at minibuf.c:992 frame #27: 0x00000001002e58a9 Emacs`funcall_subr(subr=0x00000001004d87c8, numargs=7, args=0x00007ffeefbfb1c0) at eval.c:2861 frame #28: 0x00000001002e40bd Emacs`Ffuncall(nargs=8, args=0x00007ffeefbfb1b8) at eval.c:2766 frame #29: 0x000000010037a3fb Emacs`exec_byte_code(bytestr=4300820540, vector=4300820573, maxdepth=74, args_template=8202, nargs=8, args=0x00007ffeefbfbd68) at bytecode.c:629 frame #30: 0x00000001002e5cd5 Emacs`funcall_lambda(fun=4300820493, nargs=8, arg_vector=0x00007ffeefbfbd28) at eval.c:2967 frame #31: 0x00000001002e4105 Emacs`Ffuncall(nargs=9, args=0x00007ffeefbfbd20) at eval.c:2768 frame #32: 0x0000000100214759 Emacs`Fcompleting_read(prompt=4332737972, collection=4300851469, predicate=13968, require_match=45936, initial_input=0, hist=149436936, def=0, inherit_input_method=0) at minibuf.c:1696 frame #33: 0x00000001002e591c Emacs`funcall_subr(subr=0x00000001004d8a08, numargs=6, args=0x00007ffeefbfbf10) at eval.c:2866 frame #34: 0x00000001002e40bd Emacs`Ffuncall(nargs=7, args=0x00007ffeefbfbf08) at eval.c:2766 frame #35: 0x000000010037a3fb Emacs`exec_byte_code(bytestr=4300850636, vector=4300850669, maxdepth=42, args_template=2, nargs=0, args=0x00007ffeefbfca38) at bytecode.c:629 frame #36: 0x00000001002e5cd5 Emacs`funcall_lambda(fun=4300850589, nargs=0, arg_vector=0x00007ffeefbfca38) at eval.c:2967 frame #37: 0x00000001002e4105 Emacs`Ffuncall(nargs=1, args=0x00007ffeefbfca30) at eval.c:2768 frame #38: 0x000000010037a3fb Emacs`exec_byte_code(bytestr=4300853548, vector=4300853597, maxdepth=14, args_template=0, nargs=0, args=0x0000000000000000) at bytecode.c:629 frame #39: 0x0000000100374e2c Emacs`Fbyte_code(bytestr=4300853548, vector=4300853597, maxdepth=14) at bytecode.c:321 frame #40: 0x00000001002cbead Emacs`eval_sub(form=4300853515) at eval.c:2237 frame #41: 0x00000001002d635d Emacs`Feval(form=4300853515, lexical=0) at eval.c:2051 frame #42: 0x00000001002c268a Emacs`Fcall_interactively(function=132615656, record_flag=0, keys=4463572133) at callint.c:357 frame #43: 0x00000001002e576b Emacs`funcall_subr(subr=0x00000001008e1e28, numargs=3, args=0x00007ffeefbfe160) at eval.c:2846 frame #44: 0x00000001002e40bd Emacs`Ffuncall(nargs=4, args=0x00007ffeefbfe158) at eval.c:2766 frame #45: 0x000000010037a3fb Emacs`exec_byte_code(bytestr=4300853692, vector=4300853725, maxdepth=54, args_template=4102, nargs=1, args=0x00007ffeefbfecd8) at bytecode.c:629 frame #46: 0x00000001002e5cd5 Emacs`funcall_lambda(fun=4300853645, nargs=1, arg_vector=0x00007ffeefbfecd0) at eval.c:2967 frame #47: 0x00000001002e4105 Emacs`Ffuncall(nargs=2, args=0x00007ffeefbfecc8) at eval.c:2768 frame #48: 0x00000001002e4e94 Emacs`call1(fn=13920, arg1=132615656) at eval.c:2617 frame #49: 0x00000001001aa5b6 Emacs`command_loop_1 at keyboard.c:1482 frame #50: 0x00000001002d4d6f Emacs`internal_condition_case(bfun=(Emacs`command_loop_1 at keyboard.c:1259), handlers=18672, hfun=(Emacs`cmd_error at keyboard.c:938)) at eval.c:1332 frame #51: 0x00000001001c3fec Emacs`command_loop_2(ignore=0) at keyboard.c:1110 frame #52: 0x00000001002d4018 Emacs`internal_catch(tag=47520, func=(Emacs`command_loop_2 at keyboard.c:1106), arg=0) at eval.c:1097 frame #53: 0x00000001001a8e28 Emacs`command_loop at keyboard.c:1089 frame #54: 0x00000001001a8c90 Emacs`recursive_edit_1 at keyboard.c:695 frame #55: 0x00000001001a905a Emacs`Frecursive_edit at keyboard.c:766 frame #56: 0x00000001001a6c2e Emacs`main(argc=3, argv=0x00007ffeefbff578) at emacs.c:1713 frame #57: 0x00007fff5c7e1115 libdyld.dylib`start + 1 frame #58: 0x00007fff5c7e1115 libdyld.dylib`start + 1 On Thu, Feb 1, 2018 at 2:52 PM, Jake Goulding wrote: > It looks like `curY (tty) >= FrameRows (tty) - 1`: > > > (lldb) > frame #9: 0x0000000100173380 Emacs`cmcheckmagic(tty=0x000000010180d000) > at cm.c:118 > 115 if (curX (tty) == FrameCols (tty)) > 116 { > 117 if (!MagicWrap (tty) || curY (tty) >= FrameRows (tty) - 1) > -> 118 emacs_abort (); > 119 if (tty->termscript) > 120 putc_unlocked ('\r', tty->termscript); > 121 putc_unlocked ('\r', tty->output); > (lldb) p (tty)->Wcm->cm_magicwrap > (bool_bf) $0 = true > (lldb) p (tty)->Wcm->cm_curY > (int) $1 = 2 > (lldb) p (tty)->Wcm->cm_rows > (int) $2 = 3 > > > > was the original cause also in "emacs -nw", or was it in a GUI > frame? > > It was not in a GUI, but it was an `emacsclient -t` invocation. > --94eb2c09b922d4771205642bf6e2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Now that I have debugging symbols, here is the complete ba= cktrace:

=C2=A0 =C2=A0 frame #0: 0x00007fff5c930e3e= libsystem_kernel.dylib`__pthread_kill + 10
=C2=A0 =C2=A0 frame #= 1: 0x00007fff5ca6f150 libsystem_pthread.dylib`pthread_kill + 333
= =C2=A0 =C2=A0 frame #2: 0x00007fff5c83f8fe libsystem_c.dylib`raise + 26
=C2=A0 =C2=A0 frame #3: 0x00000001001a4dc6 Emacs`terminate_due_to_si= gnal(sig=3D6, backtrace_limit=3D40) at emacs.c:394
=C2=A0 =C2=A0 = frame #4: 0x00000001001e1783 Emacs`emacs_abort at sysdep.c:2426
= =C2=A0 =C2=A0 frame #5: 0x0000000100402e68 Emacs`ns_term_shutdown(sig=3D6) = at nsterm.m:5332
=C2=A0 =C2=A0 frame #6: 0x00000001001a50b4 Emacs= `shut_down_emacs(sig=3D6, stuff=3D0) at emacs.c:2118
=C2=A0 =C2= =A0 frame #7: 0x00000001001a4d62 Emacs`terminate_due_to_signal(sig=3D6, bac= ktrace_limit=3D40) at emacs.c:377
=C2=A0 =C2=A0 frame #8: 0x00000= 001001e1783 Emacs`emacs_abort at sysdep.c:2426
=C2=A0 =C2=A0 fram= e #9: 0x0000000100173380 Emacs`cmcheckmagic(tty=3D0x000000010180d000) at cm= .c:118
=C2=A0 =C2=A0 frame #10: 0x0000000100181c02 Emacs`tty_writ= e_glyphs(f=3D0x000000010402ffb8, string=3D0x000000010228c6e0, len=3D1) at t= erm.c:793
=C2=A0 * frame #11: 0x000000010018445b Emacs`write_glyp= hs(f=3D0x000000010402ffb8, string=3D0x000000010228c6b0, len=3D1) at termina= l.c:165
=C2=A0 =C2=A0 frame #12: 0x000000010001ab99 Emacs`update_= frame_line(f=3D0x000000010402ffb8, vpos=3D52, updating_menu_p=3Dfalse) at d= ispnew.c:5036
=C2=A0 =C2=A0 frame #13: 0x000000010000667e Emacs`u= pdate_frame_1(f=3D0x000000010402ffb8, force_p=3Dtrue, inhibit_id_p=3Dfalse,= set_cursor_p=3Dtrue, updating_menu_p=3Dfalse) at dispnew.c:4516
= =C2=A0 =C2=A0 frame #14: 0x0000000100005fd6 Emacs`update_frame(f=3D0x000000= 010402ffb8, force_p=3Dtrue, inhibit_hairy_id_p=3Dfalse) at dispnew.c:3124
=C2=A0 =C2=A0 frame #15: 0x0000000100064456 Emacs`redisplay_intern= al at xdisp.c:14444
=C2=A0 =C2=A0 frame #16: 0x0000000100065a69 E= macs`redisplay at xdisp.c:13503
=C2=A0 =C2=A0 frame #17: 0x000000= 01001b05d0 Emacs`read_char(commandflag=3D1, map=3D4355478675, prev_event=3D= 0, used_mouse_menu=3D0x00007ffeefbfa587, end_time=3D0x0000000000000000) at = keyboard.c:2480
=C2=A0 =C2=A0 frame #18: 0x00000001001ab75b Emacs= `read_key_sequence(keybuf=3D0x00007ffeefbfa8a0, bufsize=3D30, prompt=3D0, d= ont_downcase_last=3Dfalse, can_return_switch_frame=3Dtrue, fix_current_buff= er=3Dtrue, prevent_redisplay=3Dfalse) at keyboard.c:9147
=C2=A0 = =C2=A0 frame #19: 0x00000001001aa0ab Emacs`command_loop_1 at keyboard.c:136= 8
=C2=A0 =C2=A0 frame #20: 0x00000001002d4d6f Emacs`internal_cond= ition_case(bfun=3D(Emacs`command_loop_1 at keyboard.c:1259), handlers=3D186= 72, hfun=3D(Emacs`cmd_error at keyboard.c:938)) at eval.c:1332
= =C2=A0 =C2=A0 frame #21: 0x00000001001c3fec Emacs`command_loop_2(ignore=3D0= ) at keyboard.c:1110
=C2=A0 =C2=A0 frame #22: 0x00000001002d4018 = Emacs`internal_catch(tag=3D19344, func=3D(Emacs`command_loop_2 at keyboard.= c:1106), arg=3D0) at eval.c:1097
=C2=A0 =C2=A0 frame #23: 0x00000= 001001a8db0 Emacs`command_loop at keyboard.c:1081
=C2=A0 =C2=A0 f= rame #24: 0x00000001001a8c90 Emacs`recursive_edit_1 at keyboard.c:695
=
=C2=A0 =C2=A0 frame #25: 0x0000000100213d2d Emacs`read_minibuf(map=3D4= 362498003, initial=3D0, prompt=3D4332737972, expflag=3Dfalse, histvar=3D149= 436936, histpos=3D2, defalt=3D0, allow_props=3Dfalse, inherit_input_method= =3Dfalse) at minibuf.c:685
=C2=A0 =C2=A0 frame #26: 0x00000001002= 12848 Emacs`Fread_from_minibuffer(prompt=3D4332737972, initial_contents=3D0= , keymap=3D4362498003, read=3D0, hist=3D149436936, default_value=3D0, inher= it_input_method=3D0) at minibuf.c:992
=C2=A0 =C2=A0 frame #27: 0x= 00000001002e58a9 Emacs`funcall_subr(subr=3D0x00000001004d87c8, numargs=3D7,= args=3D0x00007ffeefbfb1c0) at eval.c:2861
=C2=A0 =C2=A0 frame #2= 8: 0x00000001002e40bd Emacs`Ffuncall(nargs=3D8, args=3D0x00007ffeefbfb1b8) = at eval.c:2766
=C2=A0 =C2=A0 frame #29: 0x000000010037a3fb Emacs`= exec_byte_code(bytestr=3D4300820540, vector=3D4300820573, maxdepth=3D74, ar= gs_template=3D8202, nargs=3D8, args=3D0x00007ffeefbfbd68) at bytecode.c:629=
=C2=A0 =C2=A0 frame #30: 0x00000001002e5cd5 Emacs`funcall_lambda= (fun=3D4300820493, nargs=3D8, arg_vector=3D0x00007ffeefbfbd28) at eval.c:29= 67
=C2=A0 =C2=A0 frame #31: 0x00000001002e4105 Emacs`Ffuncall(nar= gs=3D9, args=3D0x00007ffeefbfbd20) at eval.c:2768
=C2=A0 =C2=A0 f= rame #32: 0x0000000100214759 Emacs`Fcompleting_read(prompt=3D4332737972, co= llection=3D4300851469, predicate=3D13968, require_match=3D45936, initial_in= put=3D0, hist=3D149436936, def=3D0, inherit_input_method=3D0) at minibuf.c:= 1696
=C2=A0 =C2=A0 frame #33: 0x00000001002e591c Emacs`funcall_su= br(subr=3D0x00000001004d8a08, numargs=3D6, args=3D0x00007ffeefbfbf10) at ev= al.c:2866
=C2=A0 =C2=A0 frame #34: 0x00000001002e40bd Emacs`Ffunc= all(nargs=3D7, args=3D0x00007ffeefbfbf08) at eval.c:2766
=C2=A0 = =C2=A0 frame #35: 0x000000010037a3fb Emacs`exec_byte_code(bytestr=3D4300850= 636, vector=3D4300850669, maxdepth=3D42, args_template=3D2, nargs=3D0, args= =3D0x00007ffeefbfca38) at bytecode.c:629
=C2=A0 =C2=A0 frame #36:= 0x00000001002e5cd5 Emacs`funcall_lambda(fun=3D4300850589, nargs=3D0, arg_v= ector=3D0x00007ffeefbfca38) at eval.c:2967
=C2=A0 =C2=A0 frame #3= 7: 0x00000001002e4105 Emacs`Ffuncall(nargs=3D1, args=3D0x00007ffeefbfca30) = at eval.c:2768
=C2=A0 =C2=A0 frame #38: 0x000000010037a3fb Emacs`= exec_byte_code(bytestr=3D4300853548, vector=3D4300853597, maxdepth=3D14, ar= gs_template=3D0, nargs=3D0, args=3D0x0000000000000000) at bytecode.c:629
=C2=A0 =C2=A0 frame #39: 0x0000000100374e2c Emacs`Fbyte_code(bytest= r=3D4300853548, vector=3D4300853597, maxdepth=3D14) at bytecode.c:321
=
=C2=A0 =C2=A0 frame #40: 0x00000001002cbead Emacs`eval_sub(form=3D4300= 853515) at eval.c:2237
=C2=A0 =C2=A0 frame #41: 0x00000001002d635= d Emacs`Feval(form=3D4300853515, lexical=3D0) at eval.c:2051
=C2= =A0 =C2=A0 frame #42: 0x00000001002c268a Emacs`Fcall_interactively(function= =3D132615656, record_flag=3D0, keys=3D4463572133) at callint.c:357
=C2=A0 =C2=A0 frame #43: 0x00000001002e576b Emacs`funcall_subr(subr=3D0x0= 0000001008e1e28, numargs=3D3, args=3D0x00007ffeefbfe160) at eval.c:2846
=C2=A0 =C2=A0 frame #44: 0x00000001002e40bd Emacs`Ffuncall(nargs=3D4= , args=3D0x00007ffeefbfe158) at eval.c:2766
=C2=A0 =C2=A0 frame #= 45: 0x000000010037a3fb Emacs`exec_byte_code(bytestr=3D4300853692, vector=3D= 4300853725, maxdepth=3D54, args_template=3D4102, nargs=3D1, args=3D0x00007f= feefbfecd8) at bytecode.c:629
=C2=A0 =C2=A0 frame #46: 0x00000001= 002e5cd5 Emacs`funcall_lambda(fun=3D4300853645, nargs=3D1, arg_vector=3D0x0= 0007ffeefbfecd0) at eval.c:2967
=C2=A0 =C2=A0 frame #47: 0x000000= 01002e4105 Emacs`Ffuncall(nargs=3D2, args=3D0x00007ffeefbfecc8) at eval.c:2= 768
=C2=A0 =C2=A0 frame #48: 0x00000001002e4e94 Emacs`call1(fn=3D= 13920, arg1=3D132615656) at eval.c:2617
=C2=A0 =C2=A0 frame #49: = 0x00000001001aa5b6 Emacs`command_loop_1 at keyboard.c:1482
=C2=A0= =C2=A0 frame #50: 0x00000001002d4d6f Emacs`internal_condition_case(bfun=3D= (Emacs`command_loop_1 at keyboard.c:1259), handlers=3D18672, hfun=3D(Emacs`= cmd_error at keyboard.c:938)) at eval.c:1332
=C2=A0 =C2=A0 frame = #51: 0x00000001001c3fec Emacs`command_loop_2(ignore=3D0) at keyboard.c:1110=
=C2=A0 =C2=A0 frame #52: 0x00000001002d4018 Emacs`internal_catch= (tag=3D47520, func=3D(Emacs`command_loop_2 at keyboard.c:1106), arg=3D0) at= eval.c:1097
=C2=A0 =C2=A0 frame #53: 0x00000001001a8e28 Emacs`co= mmand_loop at keyboard.c:1089
=C2=A0 =C2=A0 frame #54: 0x00000001= 001a8c90 Emacs`recursive_edit_1 at keyboard.c:695
=C2=A0 =C2=A0 f= rame #55: 0x00000001001a905a Emacs`Frecursive_edit at keyboard.c:766
<= div>=C2=A0 =C2=A0 frame #56: 0x00000001001a6c2e Emacs`main(argc=3D3, argv= =3D0x00007ffeefbff578) at emacs.c:1713
=C2=A0 =C2=A0 frame #57: 0= x00007fff5c7e1115 libdyld.dylib`start + 1
=C2=A0 =C2=A0 frame #58= : 0x00007fff5c7e1115 libdyld.dylib`start + 1

On Thu, Feb 1, 2018 at 2:52 PM= , Jake Goulding <jake.goulding@gmail.com> wrote:
It looks like `curY (tty) >=3D FrameRows (tty) - 1`:
=

(lldb)
frame #9: 0x0000000100173380= Emacs`cmcheckmagic(tty=3D0x000000010180d000) at cm.c:118
= =C2=A0 =C2=A0115 =C2=A0 if (cu= rX (tty) =3D=3D FrameCols (tty))
=C2=A0 =C2=A0116 =C2=A0 =C2=A0 {
=C2=A0 =C2=A0117 =C2=A0 =C2=A0 =C2=A0 if (!MagicW= rap (tty) || curY (tty) >=3D FrameRows (tty) - 1)
-> 118 emacs_abort ();
=C2= =A0 =C2=A0119 =C2=A0 =C2=A0 = =C2=A0 if (tty->termscript)
=C2=A0 =C2=A0120 putc_unlocked ('\r', tty->termscrip= t);
=C2=A0 =C2=A0121 =C2=A0 =C2=A0 =C2=A0 putc_unlocked ('\r', tty->output);
(lldb) p (tty)->Wcm->cm_magicwrap
(bool_bf) $0 =3D true<= /div>
(lldb) p (tty)->Wcm->cm_curY
(int) $1 =3D 2
=
(lldb) p (tty)->Wcm->cm_rows
(int) $2 =3D 3


>=C2=A0= was the original cause also in "emacs=C2=A0-nw"= ;, or was it in a GUI
frame?=C2=A0

=
It was not in = a GUI, but it was an `emacsclient -t` invocation.=C2=A0

--94eb2c09b922d4771205642bf6e2--