[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28308: Build failure on FreeBSD/aarch64
From: |
Eli Zaretskii |
Subject: |
bug#28308: Build failure on FreeBSD/aarch64 |
Date: |
Fri, 20 Oct 2017 10:07:51 +0300 |
> From: Noam Postavsky <npostavs@users.sourceforge.net>
> Cc: Eli Zaretskii <eliz@gnu.org>, 28308@debbugs.gnu.org
> Date: Thu, 19 Oct 2017 19:39:11 -0400
>
> It seems that the debug info show by lldb is bogus, it shows two
> locations for tty_menu_display (see attached).
Maybe that function was inlined?
> Here is a backtrace from running 'lldb -- ./bootstrap-emacs -Q -batch',
> with source locations generated by 'addr2line -e ./bootstrap-emacs -f -i -p'.
>
> * thread #1, name = 'bootstrap-emacs', stop reason = signal SIGSEGV: invalid
> address (fault address: 0x41626d78)
> 0x000000000022810c XFLOAT_INIT at /root/emacs/src/alloc.c:543
> 0x0000000000227eb0 make_float at /root/emacs/src/alloc.c:2667
> 0x000000000022de24 init_alloc at /root/emacs/src/alloc.c:7481
> 0x000000000016825c main at /root/emacs/src/emacs.c:1251
> 0x0000000000040190 __start at /tank/rpi3/src/lib/csu/aarch64/crt1.c:84
> 0x0000000040390018 ?? at ??:0
Can you disassemble XFLOAT_INIT and tell which part of it caused the
segfault, and why? In particular, what is the relation of the
faulting address 0x41626d78 and the C source?