all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philippe Vaucher <philippe.vaucher@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: branch master segfault (2019-02-05)
Date: Wed, 6 Feb 2019 10:00:35 +0100	[thread overview]
Message-ID: <CAGK7Mr41s4p4Vft-OaxEkX+WdsXrOYVZzW8WcyFxO0ktt4nKvQ@mail.gmail.com> (raw)
In-Reply-To: <83ftt2tc0e.fsf@gnu.org>


[-- Attachment #1.1: Type: text/plain, Size: 749 bytes --]

>
> > Here attached you'll find the gdb trace and a strace log. I tried to
> build the image with debug flags using what's
> > in DEBUG, but the errors are similar.
> >
> > I know that recently the portable dumper branch was merged, I suspect it
> has to do with the segfault... If
> > necessary, I can bisect to find the offending commit, but I was hoping
> someone would quickly know what is
> > happening.
> >
> > This happens even if I run the container in privileged mode.
>
> Thanks.  Could you please show the Lisp backtrace as well, using the
> "xbacktrace" command defined on src/.gdbinit?
>

Here attached you'll find the whole gdb session.


> Also, does this happen when Emacs is invoked as "emacs -Q"?
>

Yes it does.

Thanks,
Philippe

[-- Attachment #1.2: Type: text/html, Size: 1246 bytes --]

[-- Attachment #2: gdb.txt --]
[-- Type: text/plain, Size: 5897 bytes --]

GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./emacs...done.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
Environment variable "DISPLAY" not defined.
TERM = xterm
Breakpoint 1 at 0x1c15b0: file emacs.c, line 370.
Temporary breakpoint 2 at 0x1ef231: file sysdep.c, line 1095.
(gdb) run
Starting program: /opt/emacs/src/emacs 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe5120700 (LWP 8470)]

Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in  ()
#1  0x0000555555678d15 in encode_coding (coding=0x555555feaba0 <safe_terminal_coding>) at coding.c:7777
#2  0x000055555567affb in encode_coding_object (coding=0x555555feaba0 <safe_terminal_coding>, src_object=XIL(0), from=0, from_byte=0, to=13, to_byte=13, dst_object=XIL(0)) at coding.c:8355
#3  0x00005555556a1f4f in encode_terminal_code (src=0x7ffff7fb2430, src_len=13, coding=0x555555feaba0 <safe_terminal_coding>) at term.c:714
#4  0x00005555556a226b in tty_write_glyphs (f=0x555556073490, string=0x7ffff7fb21c0, len=211) at term.c:775
#5  0x00005555556acfb7 in write_glyphs (f=0x555556073490, string=0x7ffff7fb21c0, len=211) at terminal.c:165
#6  0x000055555559bfaf in update_frame_line (f=0x555556073490, vpos=51, updating_menu_p=false) at dispnew.c:4854
#7  0x000055555559b148 in update_frame_1 (f=0x555556073490, force_p=true, inhibit_id_p=true, set_cursor_p=true, updating_menu_p=false) at dispnew.c:4546
#8  0x0000555555597543 in update_frame (f=0x555556073490, force_p=true, inhibit_hairy_id_p=true) at dispnew.c:3123
#9  0x00005555555df653 in echo_area_display (update_frame_p=true) at xdisp.c:11726
#10 0x00005555555dc57c in message3_nolog (m=XIL(0x5555560711f4)) at xdisp.c:10667
#11 0x00005555555dc20d in message3 (m=XIL(0x5555560711f4)) at xdisp.c:10596
#12 0x00005555557d8c79 in Fmessage (nargs=2, args=0x7fffffffc270) at editfns.c:2809
#13 0x00005555557e9536 in funcall_subr (subr=0x555555f715a0 <Smessage>, numargs=2, args=0x7fffffffc270) at eval.c:2915
#14 0x00005555557e914f in Ffuncall (nargs=3, args=0x7fffffffc268) at eval.c:2860
#15 0x000055555583df37 in exec_byte_code (bytestr=XIL(0x7fffe5e92954), vector=XIL(0x7fffe5e927fd), maxdepth=make_number(8), args_template=make_number(0), nargs=0, args=0x7fffffffc758) at bytecode.c:633
#16 0x00005555557e9d80 in funcall_lambda (fun=XIL(0x7fffe5e927d5), nargs=0, arg_vector=0x7fffffffc758) at eval.c:3058
#17 0x00005555557e9193 in Ffuncall (nargs=1, args=0x7fffffffc750) at eval.c:2862
#18 0x000055555583df37 in exec_byte_code (bytestr=XIL(0x7fffe5e92994), vector=XIL(0x7fffe5e91755), maxdepth=make_number(23), args_template=make_number(257), nargs=1, args=0x7fffffffd0d8) at bytecode.c:633
#19 0x00005555557e9d80 in funcall_lambda (fun=XIL(0x7fffe5e91725), nargs=1, arg_vector=0x7fffffffd0d0) at eval.c:3058
#20 0x00005555557e9193 in Ffuncall (nargs=2, args=0x7fffffffd0c8) at eval.c:2862
#21 0x000055555583df37 in exec_byte_code (bytestr=XIL(0x7fffe5e9639c), vector=XIL(0x7fffe5e92bd5), maxdepth=make_number(12), args_template=make_number(0), nargs=0, args=0x7fffffffdbd8) at bytecode.c:633
#22 0x00005555557e9d80 in funcall_lambda (fun=XIL(0x7fffe5e92ba5), nargs=0, arg_vector=0x7fffffffdbd8) at eval.c:3058
#23 0x00005555557e9193 in Ffuncall (nargs=1, args=0x7fffffffdbd0) at eval.c:2862
#24 0x000055555583df37 in exec_byte_code (bytestr=XIL(0x7fffe5e96fec), vector=XIL(0x7fffe5e9656d), maxdepth=make_number(12), args_template=make_number(0), nargs=0, args=0x7fffffffe1b0) at bytecode.c:633
#25 0x00005555557e9d80 in funcall_lambda (fun=XIL(0x7fffe5e9653d), nargs=0, arg_vector=0x7fffffffe1b0) at eval.c:3058
#26 0x00005555557e99eb in apply_lambda (fun=XIL(0x7fffe5e9653d), args=XIL(0), count=4) at eval.c:2994
#27 0x00005555557e79c7 in eval_sub (form=XIL(0x7fffe5fedecb)) at eval.c:2373
#28 0x00005555557e6cbf in Feval (form=XIL(0x7fffe5fedecb), lexical=XIL(0)) at eval.c:2147
#29 0x000055555571a89b in top_level_2 () at keyboard.c:1099
#30 0x00005555557e4d03 in internal_condition_case (bfun=0x55555571a878 <top_level_2>, handlers=XIL(0x5490), hfun=0x55555571a24e <cmd_error>) at eval.c:1376
#31 0x000055555571a8e3 in top_level_1 (ignore=XIL(0)) at keyboard.c:1107
#32 0x00005555557e4180 in internal_catch (tag=XIL(0xca50), func=0x55555571a89d <top_level_1>, arg=XIL(0)) at eval.c:1139
#33 0x000055555571a7c4 in command_loop () at keyboard.c:1068
#34 0x0000555555719d35 in recursive_edit_1 () at keyboard.c:714
#35 0x0000555555719f2d in Frecursive_edit () at keyboard.c:785
#36 0x0000555555717b08 in main (argc=1, argv=0x7fffffffe6b8) at emacs.c:1951

Lisp Backtrace:
"message" (0xffffc270)
"display-startup-echo-area-message" (0xffffc758)
"command-line-1" (0xffffd0d0)
"command-line" (0xffffdbd8)
"normal-top-level" (0xffffe1b0)
(gdb) xbacktrace 
"message" (0xffffc270)
"display-startup-echo-area-message" (0xffffc758)
"command-line-1" (0xffffd0d0)
"command-line" (0xffffdbd8)
"normal-top-level" (0xffffe1b0)
(gdb) quit
A debugging session is active.

	Inferior 1 [process 8466] will be killed.

Quit anyway? (y or n) y

  reply	other threads:[~2019-02-06  9:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-05 14:48 branch master segfault (2019-02-05) Philippe Vaucher
2019-02-05 16:50 ` Eli Zaretskii
2019-02-06  9:00   ` Philippe Vaucher [this message]
     [not found]     ` <CAGK7Mr5KL6HPuemBXEHNQ_g6+KqhCoQPAOtQZ+zQ0mMsjQ8--A@mail.gmail.com>
2019-02-06  9:30       ` Philippe Vaucher
2019-02-06 10:33         ` Philippe Vaucher
2019-02-06 15:33           ` Eli Zaretskii
2019-02-06 15:44         ` Eli Zaretskii
2019-02-06 16:23           ` Philippe Vaucher
2019-02-06 16:45             ` Eli Zaretskii
2019-02-06 19:00               ` Philippe Vaucher
2019-02-06 19:46                 ` Eli Zaretskii
2019-02-09 17:15                   ` Philippe Vaucher

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=CAGK7Mr41s4p4Vft-OaxEkX+WdsXrOYVZzW8WcyFxO0ktt4nKvQ@mail.gmail.com \
    --to=philippe.vaucher@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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.