Re: libunwind: decodeEHHdr

From: Masachika ISHIZUKA <ish_at_amail.plala.or.jp>
Date: Thu, 21 Feb 2019 14:11:49 +0900 (JST)
>>  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_at_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
Received on Thu Feb 21 2019 - 04:12:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC