all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Stephen Berman <stephen.berman@gmx.net>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: Segfault with make bootrap on master
Date: Sat, 5 Aug 2017 09:33:43 -0400	[thread overview]
Message-ID: <CAM-tV-9qeep+KgJLLGLpfNs+jBbwc9zdWrUY-RM7NxgRXRhWWw@mail.gmail.com> (raw)
In-Reply-To: <83efsquorh.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

On Sat, Aug 5, 2017 at 9:29 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>>
>> lisp.h:1399: Emacs fatal error: assertion failed: VECTORLIKEP (a)
>> Fatal error 6: Aborted
>
> Should be fixed now.

Yeah, that avoids the segfault. Attached is the backtrace from
earlier, for reference.

[-- Attachment #2: bad-charset.txt --]
[-- Type: text/plain, Size: 6677 bytes --]

lisp.h:1399: Emacs fatal error: assertion failed: VECTORLIKEP (a)

Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:364
364	  signal (sig, SIG_DFL);
(gdb) bt
#0  0x000000000057d7c0 in terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:364
#1  0x0000000000613568 in die (msg=0x74ca3c "VECTORLIKEP (a)", file=0x74c8e0 "lisp.h", line=1399) at alloc.c:7348
#2  0x0000000000577ec3 in XVECTOR (a=XIL(0)) at lisp.h:1399
#3  0x0000000000577ee5 in ASIZE (array=XIL(0)) at lisp.h:1406
#4  0x00000000004caba7 in load_charset_map_from_vector (charset=0xd8d968 <charset_table_init+54120>, vec=XIL(0), control_flag=2)
    at charset.c:561
#5  0x00000000004cb042 in load_charset (charset=0xd8d968 <charset_table_init+54120>, control_flag=2) at charset.c:645
#6  0x00000000004d04ef in encode_char (charset=0xd8d968 <charset_table_init+54120>, c=4194208) at charset.c:1758
#7  0x00000000004d1eac in char_charset (c=4194208, charset_list=XIL(0x1215493), code_return=0x0) at charset.c:1987
#8  0x00000000004d21f8 in Fsplit_char (ch=make_number(4194208)) at charset.c:2022
#9  0x000000000063a791 in funcall_subr (subr=0x9c4710 <Ssplit_char>, numargs=1, args=0x7fffffffa600) at eval.c:2815
#10 0x000000000063a2e8 in Ffuncall (nargs=2, args=0x7fffffffa5f8) at eval.c:2740
#11 0x000000000068a59f in exec_byte_code (bytestr=XIL(0x2e8dd04), vector=XIL(0x15e2c35), maxdepth=make_number(10), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:629
#12 0x000000000063b3d2 in funcall_lambda (fun=XIL(0x15e2f6d), nargs=1, arg_vector=0x15e2c35 <bss_sbrk_buffer+8208373>)
    at eval.c:3023
#13 0x000000000063a32c in Ffuncall (nargs=2, args=0x7fffffffb018) at eval.c:2742
#14 0x000000000068a59f in exec_byte_code (bytestr=XIL(0x2ee3284), vector=XIL(0x15e3c35), maxdepth=make_number(8), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:629
#15 0x000000000063b3d2 in funcall_lambda (fun=XIL(0x15dee95), nargs=2, arg_vector=0x15e3c35 <bss_sbrk_buffer+8212469>)
    at eval.c:3023
#16 0x000000000063a32c in Ffuncall (nargs=3, args=0x7fffffffb828) at eval.c:2742
#17 0x000000000068a59f in exec_byte_code (bytestr=XIL(0x2ee5564), vector=XIL(0x15e6ed5), maxdepth=make_number(6), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:629
#18 0x000000000063b3d2 in funcall_lambda (fun=XIL(0x15d4fcd), nargs=0, arg_vector=0x15e6ed5 <bss_sbrk_buffer+8225429>)
    at eval.c:3023
#19 0x000000000063a32c in Ffuncall (nargs=1, args=0x7fffffffc040) at eval.c:2742
#20 0x000000000068a59f in exec_byte_code (bytestr=XIL(0xad12ac), vector=XIL(0xad12cd), maxdepth=make_number(23), args_template=make_number(257), nargs=1, args=0x7fffffffcc28) at bytecode.c:629
#21 0x000000000063aefa in funcall_lambda (fun=XIL(0xad127d), nargs=1, arg_vector=0x7fffffffcc20) at eval.c:2941
#22 0x000000000063a32c in Ffuncall (nargs=2, args=0x7fffffffcc18) at eval.c:2742
#23 0x000000000068a59f in exec_byte_code (bytestr=XIL(0xacbbfc), vector=XIL(0xacbc1d), maxdepth=make_number(21), args_template=make_number(0), nargs=0, args=0x7fffffffda98) at bytecode.c:629
#24 0x000000000063aefa in funcall_lambda (fun=XIL(0xacbbcd), nargs=0, arg_vector=0x7fffffffda98) at eval.c:2941
#25 0x000000000063a32c in Ffuncall (nargs=1, args=0x7fffffffda90) at eval.c:2742
#26 0x000000000068a59f in exec_byte_code (bytestr=XIL(0xacae0c), vector=XIL(0xacae2d), maxdepth=make_number(12), args_template=make_number(0), nargs=0, args=0x7fffffffe310) at bytecode.c:629
#27 0x000000000063aefa in funcall_lambda (fun=XIL(0xacaddd), nargs=0, arg_vector=0x7fffffffe310) at eval.c:2941
#28 0x000000000063ab36 in apply_lambda (fun=XIL(0xacaddd), args=XIL(0), count=4) at eval.c:2877
#29 0x0000000000638dd8 in eval_sub (form=XIL(0x1491e43)) at eval.c:2261
#30 0x00000000006381f6 in Feval (form=XIL(0x1491e43), lexical=XIL(0)) at eval.c:2038
#31 0x00000000005821bd in top_level_2 () at keyboard.c:1123
#32 0x00000000006365dd in internal_condition_case (bfun=0x5821a0 <top_level_2>, handlers=XIL(0x51f0), hfun=0x581bce <cmd_error>)
    at eval.c:1319
#33 0x00000000005821fe in top_level_1 (ignore=XIL(0)) at keyboard.c:1131
#34 0x0000000000635b1a in internal_catch (tag=XIL(0xc4e0), func=0x5821bf <top_level_1>, arg=XIL(0)) at eval.c:1084
#35 0x00000000005820f8 in command_loop () at keyboard.c:1092
#36 0x00000000005816e3 in recursive_edit_1 () at keyboard.c:699
#37 0x00000000005818c2 in Frecursive_edit () at keyboard.c:770
#38 0x000000000057f54f in main (argc=11, argv=0x7fffffffe8c8) at emacs.c:1706

Lisp Backtrace:
"split-char" (0xffffa600)
"tit-process-header" (0xffffb020)
"titdic-convert" (0xffffb830)
"batch-titdic-convert" (0xffffc048)
"command-line-1" (0xffffcc20)
"command-line" (0xffffda98)
"normal-top-level" (0xffffe310)
(gdb) up 4
#4  0x00000000004caba7 in load_charset_map_from_vector (charset=0xd8d968 <charset_table_init+54120>, vec=XIL(0), control_flag=2)
    at charset.c:561
561	  int len = ASIZE (vec);
(gdb) p vec
$1 = XIL(0)
(gdb) xpr
Lisp_Symbol
$2 = (struct Lisp_Symbol *) 0xdeb240 <lispsym>
"nil"
(gdb) up 
#5  0x00000000004cb042 in load_charset (charset=0xd8d968 <charset_table_init+54120>, control_flag=2) at charset.c:645
645	    load_charset_map_from_vector (charset, map, control_flag);
(gdb) p charset
$3 = (struct charset *) 0xd8d968 <charset_table_init+54120>
(gdb) p *charset
$4 = {
  id = 165, 
  hash_index = 187, 
  dimension = 2, 
  code_space = {33, 126, 94, 94, 33, 126, 94, 8836, 0, 0, 1, 8836, 0, 0, 1}, 
  code_space_mask = 0x128f400 <bss_sbrk_buffer+4720576> "\f", 
  code_linear_p = false, 
  iso_chars_96 = false, 
  ascii_compatible_p = false, 
  supplementary_p = false, 
  compact_codes_p = true, 
  unified_p = true, 
  iso_final = -1, 
  iso_revision = -1, 
  emacs_mule_id = -1, 
  method = CHARSET_METHOD_OFFSET, 
  min_code = 8481, 
  max_code = 32382, 
  char_index_offset = 0, 
  min_char = 2596864, 
  max_char = 2605699, 
  invalid_code = 0, 
  fast_map = '\000' <repeats 141 times>, "\034", '\000' <repeats 47 times>, 
  code_offset = 2596864
}
(gdb) p map
$5 = XIL(0)
(gdb) p CHARSET_METHOD (charset)
$6 = CHARSET_METHOD_OFFSET
(gdb) info macro CHARSET_UNIFY_MAP 
Defined at /home/npostavs/src/emacs/emacs-bootstrapping/src/charset.h:326
  included at /home/npostavs/src/emacs/emacs-bootstrapping/src/charset.c:38
#define CHARSET_UNIFY_MAP(charset) (CHARSET_ATTR_UNIFY_MAP (CHARSET_ATTRIBUTES (charset)))
(gdb) p CHARSET_UNIFY_MAP (charset)
$7 = XIL(0)
(gdb) p CHARSET_ATTRIBUTES (charset)
$8 = XIL(0x129850d)
(gdb) xpr
Lisp_Vectorlike
PVEC_NORMAL_VECTOR
$9 = (struct Lisp_Vector *) 0x1298508 <bss_sbrk_buffer+4757704>
{make_number(165), XIL(0x460580), XIL(0x1294a63), XIL(0), XIL(0), XIL(0), XIL(0), XIL(0), XIL(0), XIL(0)}

  reply	other threads:[~2017-08-05 13:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-05 12:39 Segfault with make bootrap on master Stephen Berman
2017-08-05 13:11 ` Noam Postavsky
2017-08-05 13:17   ` Eli Zaretskii
2017-08-05 13:29   ` Eli Zaretskii
2017-08-05 13:33     ` Noam Postavsky [this message]
2017-08-05 13:37       ` Eli Zaretskii
2017-08-05 13:48       ` Eli Zaretskii
2017-08-05 13:54         ` Noam Postavsky
2017-08-05 14:02           ` Eli Zaretskii
2017-08-05 21:33             ` Stephen Berman

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=CAM-tV-9qeep+KgJLLGLpfNs+jBbwc9zdWrUY-RM7NxgRXRhWWw@mail.gmail.com \
    --to=npostavs@users.sourceforge.net \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=stephen.berman@gmx.net \
    /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.