Date: Tue, 19 Apr 2016 09:26:13 -0400 From: Ed Maste <emaste@freebsd.org> To: Wojciech Macek <wma@semihalf.com> Cc: "freebsd-arm@freebsd.org" <arm@freebsd.org>, arm64-dev <arm64-dev@semihalf.com> Subject: Re: ARM64 buildworld failure on ThunderX Message-ID: <CAPyFy2AeO9idH-=ZGS7oGJLspPGKeicgMfF2CN0-o2swLNn%2BYg@mail.gmail.com> In-Reply-To: <CANsEV8cRdGUmDmqFNNMOGFer7_0ptsmjr0kX-4q3CB4yv-Y-uQ@mail.gmail.com> References: <CANsEV8cRdGUmDmqFNNMOGFer7_0ptsmjr0kX-4q3CB4yv-Y-uQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 22 March 2016 at 08:34, Wojciech Macek <wma@semihalf.com> wrote: > Hello, > > I was debugging strange userspace crashes during native aarch64 buildworld, > and I think that it is highly probable that they are caused by issues with > recent toolchain or system libraries. > The same test as below, but run on older sources (the one with clang-3.6) is > just fine, build succeeds and soelim does not crash. > > I'd like to get some feedback if anyone do or did see similar behavior or > how this might be pushed forward. I can provide binaries, logs and whatever > is necessary. > > The application that fails is a soelim (in about 95% of all cases): > > --- be_BY.CP1131.LC_CTYPE --- > --- all_subdir_share/doc --- > --- all_subdir_share/doc/usd --- > groff: soelim: Signal 11 (core dumped) > --- all_subdir_share/i18n --- > sed "s/CPx/CP10007/" /root/freebsd-arm64/share/i18n/esdb/CP/CP.src > > CP10007.src > --- all_subdir_share/i18n/csmapper --- > --- UCS%CP950.mps --- > --- all_subdir_share/ctypedef --- > > > > When I try to manually call the application, it coredumps too. > > root@thunder_crb4:~/freebsd-arm64 # find /usr/obj/ -name soelim > /usr/obj/root/freebsd-arm64/tmp/usr/lib/debug/usr/tests/usr.bin/soelim > /usr/obj/root/freebsd-arm64/tmp/usr/tests/usr.bin/soelim > /usr/obj/root/freebsd-arm64/tmp/legacy/usr/bin/soelim > /usr/obj/root/freebsd-arm64/tmp/root/freebsd-arm64/usr.bin/soelim > /usr/obj/root/freebsd-arm64/tmp/root/freebsd-arm64/usr.bin/soelim/soelim > /usr/obj/root/freebsd-arm64/usr.bin/soelim > root@thunder_crb4:~/freebsd-arm64 # > /usr/obj/root/freebsd-arm64/tmp/root/freebsd-arm64/usr.bin/soelim/soelim > Segmentation fault (core dumped) > root@thunder_crb4:~/freebsd-arm64 # > > > Steps to reproduce: > 1. Clone the FreeBSD HEAD > 2. Call "make buildworld -j48 -DNO_CLEAN" > 3. Relax and wait for the crash to happen... Can you make the usr.bin/soelim directory available somewhere? My soelim doesn't crash when run by itself: root@cavium:~ # /usr/obj/usr/src/usr.bin/soelim/soelim root@cavium:~ # After keeping a copy, what happens if you clean the usr.bin/soelim directory and try again? With -NO_CLEAN it's not going to rebuild soelim and then segfault each time, of course.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2AeO9idH-=ZGS7oGJLspPGKeicgMfF2CN0-o2swLNn%2BYg>