From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Liam Stitt Newsgroups: gmane.emacs.bugs Subject: bug#44047: current HEAD has been crashing on startup Date: Sun, 18 Oct 2020 19:10:12 -0600 (MDT) Message-ID: References: <83v9f8srih.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13638"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: 44047@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 19 03:11:17 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kUJhl-0003Ot-6I for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Oct 2020 03:11:17 +0200 Original-Received: from localhost ([::1]:59220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUJhj-0005kf-Nk for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Oct 2020 21:11:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUJhW-0005kT-4Y for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2020 21:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56111) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUJhV-0005uS-RW for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2020 21:11:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kUJhV-0006ie-LA for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2020 21:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Liam Stitt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Oct 2020 01:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44047 X-GNU-PR-Package: emacs Original-Received: via spool by 44047-submit@debbugs.gnu.org id=B44047.160306981625770 (code B ref 44047); Mon, 19 Oct 2020 01:11:01 +0000 Original-Received: (at 44047) by debbugs.gnu.org; 19 Oct 2020 01:10:16 +0000 Original-Received: from localhost ([127.0.0.1]:39424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUJgm-0006hY-Br for submit@debbugs.gnu.org; Sun, 18 Oct 2020 21:10:16 -0400 Original-Received: from arnold.cuug.ab.ca ([67.231.23.5]:38084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUJgj-0006hO-W8 for 44047@debbugs.gnu.org; Sun, 18 Oct 2020 21:10:14 -0400 Original-Received: by arnold.cuug.ab.ca (Postfix, from userid 10022) id 838C3E0372; Sun, 18 Oct 2020 19:10:12 -0600 (MDT) Original-Received: from localhost (localhost [127.0.0.1]) by arnold.cuug.ab.ca (Postfix) with ESMTP id 79828E0318; Sun, 18 Oct 2020 19:10:12 -0600 (MDT) In-Reply-To: <83v9f8srih.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:190938 Archived-At: On Sat, 17 Oct 2020, Eli Zaretskii wrote: > You are saying that "./src/emacs -Q -nw" crashes on startup? That > doesn't happen to me with today's master branch. Yes. It is only happening on Linux; I can build without problems on OS X. > Can you build an unoptimized version, run it under GDB, and when it > crashes, show a backtrace? Does building the unoptimized version require more than tweaking the CFLAGS entry in src/Makefile? If not, this is what I got: (gdb) run -Q -nw Starting program: /home/frink/src/emacs/src/emacs -Q -nw [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff188e700 (LWP 2901333)] Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. 0x0000555555598126 in fill_up_frame_row_with_spaces (row=0x100, upto=0) at dispnew.c:2660 2660 int i = row->used[TEXT_AREA]; (gdb) bt #0 0x0000555555598126 in fill_up_frame_row_with_spaces (row=0x100, upto=0) at dispnew.c:2660 #1 0x0000555555597de8 in build_frame_matrix_from_leaf_window (frame_matrix=0x555555d4a2b0, w=0x555555d42420) at dispnew.c:2531 #2 0x0000555555597ba4 in build_frame_matrix_from_window_tree (matrix=0x555555d4a2b0, w=0x555555d42420) at dispnew.c:2465 #3 0x0000555555597b40 in build_frame_matrix (f=0x555555d421b8) at dispnew.c:2449 #4 0x0000555555599364 in update_frame (f=0x555555d421b8, force_p=true, inhibit_hairy_id_p=true) at dispnew.c:3236 #5 0x00005555555d97b5 in echo_area_display (update_frame_p=true) at xdisp.c:12210 #6 0x00005555555d64f0 in message3_nolog (m=XIL(0x555555eb3344)) at xdisp.c:11141 #7 0x00005555555d6261 in message3 (m=XIL(0x555555eb3344)) at xdisp.c:11071 #8 0x000055555579265e in Fmessage (nargs=2, args=0x7fffffffbf90) at editfns.c:2854 #9 0x00005555557a069a in funcall_subr (subr=0x555555c42980 , numargs=2, args=0x7fffffffbf90) at eval.c:2859 #10 0x00005555557a0388 in Ffuncall (nargs=3, args=0x7fffffffbf88) at eval.c:2806 #11 0x00005555557ea7a5 in exec_byte_code (bytestr=XIL(0x7ffff22d7b24), vector=XIL(0x7ffff22d79f5), maxdepth=make_fixnum(7), args_template=make_fixnum(0), nargs=0, args=0x7fffffffc4d8) at bytecode.c:632 #12 0x00005555557a0a27 in fetch_and_exec_byte_code (fun=XIL(0x7ffff22d79cd), syms_left=make_fixnum(0), nargs=0, args=0x7fffffffc4d8) at eval.c:2928 #13 0x00005555557a0db4 in funcall_lambda (fun=XIL(0x7ffff22d79cd), nargs=0, arg_vector=0x7fffffffc4d8) at eval.c:3009 #14 0x00005555557a03cc in Ffuncall (nargs=1, args=0x7fffffffc4d0) at eval.c:2808 #15 0x00005555557ea7a5 in exec_byte_code (bytestr=XIL(0x7ffff22d7b64), vector=XIL(0x7ffff22d684d), maxdepth=make_fixnum(25), args_template=make_fixnum(257), nargs=1, args=0x7fffffffceb8) at bytecode.c:632 #16 0x00005555557a0a27 in fetch_and_exec_byte_code (fun=XIL(0x7ffff22d681d), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffceb0) at eval.c:2928 #17 0x00005555557a0db4 in funcall_lambda (fun=XIL(0x7ffff22d681d), nargs=1, arg_vector=0x7fffffffceb0) at eval.c:3009 #18 0x00005555557a03cc in Ffuncall (nargs=2, args=0x7fffffffcea8) at eval.c:2808 #19 0x00005555557ea7a5 in exec_byte_code (bytestr=XIL(0x7ffff22db2ec), vector=XIL(0x7ffff22d7db5), maxdepth=make_fixnum(14), args_template=make_fixnum(0), nargs=0, args=0x7fffffffda28) at bytecode.c:632 #20 0x00005555557a0a27 in fetch_and_exec_byte_code (fun=XIL(0x7ffff22d7d85), syms_left=make_fixnum(0), nargs=0, args=0x7fffffffda28) at eval.c:2928 #21 0x00005555557a0db4 in funcall_lambda (fun=XIL(0x7ffff22d7d85), nargs=0, arg_vector=0x7fffffffda28) at eval.c:3009 #22 0x00005555557a03cc in Ffuncall (nargs=1, args=0x7fffffffda20) at eval.c:2808 #23 0x00005555557ea7a5 in exec_byte_code (bytestr=XIL(0x7ffff22dbfb4), vector=XIL(0x7ffff22db4bd), maxdepth=make_fixnum(12), args_template=make_fixnum(0), nargs=0, args=0x7fffffffe0a0) at bytecode.c:632 #24 0x00005555557a0a27 in fetch_and_exec_byte_code (fun=XIL(0x7ffff22db48d), syms_left=make_fixnum(0), nargs=0, args=0x7fffffffe0a0) at eval.c:2928 #25 0x00005555557a0db4 in funcall_lambda (fun=XIL(0x7ffff22db48d), nargs=0, arg_vector=0x7fffffffe0a0) at eval.c:3009 #26 0x00005555557a0bd1 in apply_lambda (fun=XIL(0x7ffff22db48d), args=XIL(0), count=4) at eval.c:2953 #27 0x000055555579effc in eval_sub (form=XIL(0x7ffff243625b)) at eval.c:2328 #28 0x000055555579e4f9 in Feval (form=XIL(0x7ffff243625b), lexical=XIL(0)) at eval.c:2112 #29 0x00005555556e7c82 in top_level_2 () at keyboard.c:1104 #30 0x000055555579cbfe in internal_condition_case (bfun=0x5555556e7c5f , handlers=XIL(0x90), hfun=0x5555556e770b ) at eval.c:1356 #31 0x00005555556e7cca in top_level_1 (ignore=XIL(0)) at keyboard.c:1112 #32 0x000055555579c4b3 in internal_catch (tag=XIL(0xd290), func=0x5555556e7c84 , arg=XIL(0)) at eval.c:1117 #33 0x00005555556e7bad in command_loop () at keyboard.c:1073 #34 0x00005555556e72dc in recursive_edit_1 () at keyboard.c:718 #35 0x00005555556e745f in Frecursive_edit () at keyboard.c:790 #36 0x00005555556e3f7d in main (argc=3, argv=0x7fffffffe618) at emacs.c:2047 Lisp Backtrace: "message" (0xffffbf90) "display-startup-echo-area-message" (0xffffc4d8) "command-line-1" (0xffffceb0) "command-line" (0xffffda28) "normal-top-level" (0xffffe0a0) (gdb) -- Liam Stitt stittl@cuug.ab.ca