all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Liam Stitt <stittl@cuug.ab.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 44047@debbugs.gnu.org
Subject: bug#44047: current HEAD has been crashing on startup
Date: Sun, 18 Oct 2020 19:10:12 -0600 (MDT)	[thread overview]
Message-ID: <alpine.DEB.2.20.2010181902290.25328@arnold.cuug.ab.ca> (raw)
In-Reply-To: <83v9f8srih.fsf@gnu.org>


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 <Smessage>, 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 <top_level_2>, handlers=XIL(0x90), 
hfun=0x5555556e770b <cmd_error>) 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 <top_level_1>, 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






  reply	other threads:[~2020-10-19  1:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-17 17:06 bug#44047: current HEAD has been crashing on startup Liam Stitt
2020-10-17 17:15 ` Eli Zaretskii
2020-10-19  1:10   ` Liam Stitt [this message]
2020-10-19 14:23     ` Eli Zaretskii
2020-10-19 16:28       ` Liam Stitt
2020-10-19 17:08         ` Eli Zaretskii
2020-10-20  4:39           ` Liam Stitt
2020-10-20 15:48             ` Eli Zaretskii
2020-10-20 22:19               ` Liam Stitt
2020-10-21 16:03                 ` Eli Zaretskii
2020-10-26 15:12                   ` Eli Zaretskii
2020-11-01 13:48                     ` Liam Stitt
2020-11-01 15:34                       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.2010181902290.25328@arnold.cuug.ab.ca \
    --to=stittl@cuug.ab.ca \
    --cc=44047@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.