Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2019 14:11:49 +0900 (JST)
From:      Masachika ISHIZUKA <ish@amail.plala.or.jp>
To:        freebsd-current@freebsd.org
Subject:   Re: libunwind: decodeEHHdr
Message-ID:  <20190221.141149.503065714050778060.ish@amail.plala.or.jp>
In-Reply-To: <B2D1A7A4-F4EF-4BAE-8A48-6E9A3DE9A975@FreeBSD.org>
References:  <20190219.220122.810151023308691159.ish@amail.plala.or.jp> <B2D1A7A4-F4EF-4BAE-8A48-6E9A3DE9A975@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>  On 13.0-CURRENT r344253, many applications can not run with the error
>> message as follows.
>> 
>> okra.ish.org[101]_% firefox
>> libunwind: decodeEHHdr /usr/altlocal/freebsd-current/src/contrib/llvm/projects/libunwind/src/EHHeaderParser.hpp:62 - Unsupported .eh_frame_hdr version
>> Redirecting call to abort() to mozalloc_abort
>> 
>> Segmentation fault (core dumped)
>> okra.ish.org[102]_% uname -a
>> FreeBSD okra.ish.org 13.0-CURRENT FreeBSD 13.0-CURRENT #15 r344253M: Tue Feb 19 05:02:52 JST 2019     ishizuka@okra.ish.org:/usr/altlocal/freebsd-current/obj/usr/altlocal/freebsd-current/src/amd64.amd64/sys/GENERIC  amd64
>> 
>>  Is this error only me ?
> 
> Looks like it, you are the first one reporting it.  For me, Firefox
> works just fine on 13.0-CURRENT.  Are you compiling world with any
> special options, or with a non-default compiler?

  Thank you for reply.
  I was compiling without special options.

% cd /usr/src
(/usr/src -> nfsserver:/usr/altlocal/freebsd-current/src)
% svn up
% time sh -c 'make -j4 buildworld && make -j4 buildkernel'
(nfs connection was stalled. So I rebooted machine and re-makeworld as follows)
% su
# reboot
% cd /usr/src
% time sh -c 'make -j4 buildworld && make -j4 buildkernel'
% su
# make installkernel
# reboot
# cd /usr/src
# make installworld
(Broked userland was installed.)
# mergemaster -Ui
# make check-old
# make BATCH_DELETE_OLD_FILES=yes delete-old
# make check-old-libs
# make BATCH_DELETE_OLD_FILES=yes delete-old-libs
# pkg upgrade
# reboot
(I can not make buildworld with the libunwind: decodeEHHdr error.)

  I did rebuild kernel and userland with another machine and
reinstall kernel/userland to the broken machines.  Now they
are working well.

P.S. Althougth I was applied patches of https://reviews.llvm.org/D57081,
  no libunwind: decodeEHHdr messages are displayed. I think D57081 is
  not cause of this.
-- 
Masachika ISHIZUKA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190221.141149.503065714050778060.ish>