Since you have a core file, can you go in gdb and print a stack trace?
christosOn Jan 20, 2020, at 7:16 PM, bch <brad.harder%gmail.com@localhost> wrote:
On Sat, Jan 18, 2020 at 11:45 Martin Husemann <martin%duskware.de@localhost> wrote:
The following reply was made to PR misc/54856; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: misc/54856: makefs/walk.c assertion building images
Date: Sat, 18 Jan 2020 20:42:17 +0100
I can not reproduce it:
Hrm - I can still successfully reproduce the error. I’ve done a clean (no “-u”) (re)build of kernel, modules and tools in case some flaw was “leaking” into the build env. The tail of my latest effort has some (undocumented) makefs debugging turned on, though it’s not immediately illuminating to me:
# env CDMAKEFSEXTRAOPTS="-d 536870911" nice ./build.sh -j1 -u -U -x -V CDMAKEFSEXTRAOPTS="-d 536870911" -N2 release
[...]
apply_specdir: spec ethers
apply_specdir: spec exports
apply_specdir: spec fstab
apply_specdir: adding fstab
apply_specentry: cdrom/etc/fstab
changing gid from 0 to 0
changing mode from 0 to 0644
changing uid from 0 to 0
apply_specdir: spec ftpd.conf
apply_specdir: spec ftpwelcome
apply_specdir: spec gateways
apply_specdir: spec hesiod.conf
apply_specdir: spec hosts.allow
apply_specdir: spec hosts.deny
apply_specdir: spec ifaliases
apply_specdir: spec ipf.conf
apply_specdir: spec ipf6.conf
apply_specdir: spec ipnat.conf
apply_specdir: spec ipsec.conf
apply_specdir: spec ld.so.conf
apply_specdir: spec localtime
apply_specdir: adding localtime
[1] Abort trap (core dumped) /usr/src/obj/tooldir.NetBSD-9.99.39-amd64/bin/...
*** [image] Error code 134
nbmake[5]: stopped in /usr/src/distrib/amd64/cdroms/bootcd
1 error
nbmake[5]: stopped in /usr/src/distrib/amd64/cdroms/bootcd
*** [release-bootcd] Error code 2
nbmake[4]: stopped in /usr/src/distrib/amd64/cdroms
1 error
nbmake[4]: stopped in /usr/src/distrib/amd64/cdroms
*** [release-cdroms] Error code 2
nbmake[3]: stopped in /usr/src/distrib/amd64
1 error
nbmake[3]: stopped in /usr/src/distrib/amd64
*** [release-amd64] Error code 2
nbmake[2]: stopped in /usr/src/distrib
1 error
nbmake[2]: stopped in /usr/src/distrib
*** [snap_post] Error code 2
nbmake[1]: stopped in /usr/src/etc
1 error
nbmake[1]: stopped in /usr/src/etc
*** [release] Error code 2
nbmake: stopped in /usr/src
1 error
nbmake: stopped in /usr/src
ERROR: Failed to make release
*** BUILD ABORTED ***
===> Successful make install-image
===> build.sh ended: Sat Jan 18 20:39:08 CET 2020
===> Summary of results:
build.sh command: /usr/src/build.sh -O /tmp/obj -D /tmp/dest -T /tmp/tools -j24 -u -U -x release install-image
build.sh started: Sat Jan 18 19:58:34 CET 2020
NetBSD version: 9.99.39
MACHINE: amd64
MACHINE_ARCH: x86_64
Build platform: NetBSD 9.99.38 amd64
HOST_SH: /bin/sh
No $TOOLDIR/bin/nbmake, needs building.
Bootstrapping nbmake
MAKECONF file: /etc/mk.conf
TOOLDIR path: /tmp/tools
DESTDIR path: /tmp/dest
RELEASEDIR path: /tmp/obj/releasedir
Created /tmp/tools/bin/nbmake
Updated makewrapper: /tmp/tools/bin/nbmake-amd64
Successful make release
Successful make install-image
build.sh ended: Sat Jan 18 20:39:08 CET 2020
===> .
Martin
<sanitizer.log>