[New Thread 21364.0x3eb8]
Thread 15 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 21364.0x3eb8]
0x00000004001ecb07 in run_thread (state=0x400ae5068 <dumped_data+4654312>) at ../../emacs/src/thread.c:700
700 self->m_stack_bottom = self->stack_top = (char *) &stack_pos;
(gdb) p self
$1 = (struct thread_state *) 0x400ae5068 <dumped_data+4654312>
(gdb) p *self
$2 = {header = {size = 4611686018662539271}, m_last_thing_searched = {i = 0}, m_saved_last_thing_searched = {i = 0}, name = {
i = 0}, function = {i = -17087155184}, error_symbol = {i = 0}, error_data = {i = 0}, event_object = {i = 0},
m_stack_bottom = 0x0, stack_top = 0x0, m_catchlist = 0x0, m_handlerlist = 0x0, m_handlerlist_sentinel = 0x0,
m_specpdl_size = 50, m_specpdl = 0x5f270b8, m_specpdl_ptr = 0x5f270b8, m_lisp_eval_depth = 0, m_current_buffer = 0x5f26c80,
m_search_regs = {num_regs = 0, start = 0x0, end = 0x0}, m_search_regs_saved = false, m_saved_search_regs = {num_regs = 0,
start = 0x0, end = 0x0}, m_re_match_object = {i = 0}, m_waiting_for_user_input_p = 0, m_waiting_for_input = false,
m_getcjmp = {{Part = {0, 0}} <repeats 16 times>}, thread_id = 0, thread_condvar = {wait_count = 0, wait_count_lock = {
DebugInfo = 0xffffffffffffffff, LockCount = -1, RecursionCount = 0, OwningThread = 0x0, LockSemaphore = 0x0,
SpinCount = 33556432}, events = {0x40c, 0x410}, initialized = true}, wait_condvar = 0x0, not_holding_lock = 0,
next_thread = 0x400664500 <main_thread>}
(gdb) p stack_pos
$3 = {__max_align_ll = 0, __max_align_ld = 3.587554638101247699761989924457637e-4943}
I am not sure what causes the segfault.
m_stack_bottom is of type char* but stack_top is of type void*. Could that be a problem ?