Re: panic: LOCKDEBUG: Reader / writer lock error: rw_vector_enter,307: locking against myself

0 views
Skip to first unread message

syzbot

unread,
Jul 1, 2022, 1:26:17 PM7/1/22
to rias...@netbsd.org, syzkaller-...@googlegroups.com
Hello,

syzbot tried to test the proposed patch but the build/boot failed:

bad config syzkaller param: can't find /syzkaller/jobs/netbsd/gopath/src/github.com/google/syzkaller/bin/netbsd_amd64/syz-executor

syzkaller build log:
go env (err=<nil>)
GO111MODULE="auto"
GOARCH="amd64"
GOBIN=""
GOCACHE="/syzkaller/.cache/go-build"
GOENV="/syzkaller/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/syzkaller/jobs/netbsd/gopath/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/syzkaller/jobs/netbsd/gopath"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3311411219=/tmp/go-build -gno-record-gcc-switches"

git status (err=<nil>)
HEAD detached at ab342da3f
nothing to commit, working tree clean


export BUILDOS=linux
export NATIVEBUILDOS=linux
export HOSTOS=linux
export HOSTARCH=amd64
export TARGETOS=netbsd
export TARGETARCH=amd64
export TARGETVMARCH=amd64
export CC=/../tools/bin/x86_64--netbsd-g++
export ADDCFLAGS=-O2 -pthread -Wall -Werror -Wparentheses -Wframe-larger-than=8192 -m64 --sysroot /../dest/
export NCORES=32
export EXE=
export NATIVEBUILDOS=linux
export NO_CROSS_COMPILER=yes

GOOS=netbsd GOARCH=amd64 go install ./syz-fuzzer
make fuzzer execprog stress executor
make[1]: Entering directory '/syzkaller/jobs/netbsd/gopath/src/github.com/google/syzkaller'
export BUILDOS=linux
export NATIVEBUILDOS=linux
export HOSTOS=linux
export HOSTARCH=amd64
export TARGETOS=netbsd
export TARGETARCH=amd64
export TARGETVMARCH=amd64
export CC=/../tools/bin/x86_64--netbsd-g++
export ADDCFLAGS=-O2 -pthread -Wall -Werror -Wparentheses -Wframe-larger-than=8192 -m64 --sysroot /../dest/
export NCORES=32
export EXE=
export NATIVEBUILDOS=linux
export NO_CROSS_COMPILER=yes

make[1]: warning: -j32 forced in makefile: resetting jobserver mode.
GOOS=netbsd GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/sys.GitRevision=ab342da3f9aa45e3f2d9e872576ab5cd3e3c350b -X 'github.com/google/syzkaller/sys.gitRevisionDate=Mon Dec 2 18:21:43 2019 +0100'" "-tags=syz_target syz_os_netbsd syz_arch_amd64 " -o ./bin/netbsd_amd64/syz-fuzzer github.com/google/syzkaller/syz-fuzzer
GOOS=netbsd GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/sys.GitRevision=ab342da3f9aa45e3f2d9e872576ab5cd3e3c350b -X 'github.com/google/syzkaller/sys.gitRevisionDate=Mon Dec 2 18:21:43 2019 +0100'" "-tags=syz_target syz_os_netbsd syz_arch_amd64 " -o ./bin/netbsd_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog
GOOS=netbsd GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/sys.GitRevision=ab342da3f9aa45e3f2d9e872576ab5cd3e3c350b -X 'github.com/google/syzkaller/sys.gitRevisionDate=Mon Dec 2 18:21:43 2019 +0100'" "-tags=syz_target syz_os_netbsd syz_arch_amd64 " -o ./bin/netbsd_amd64/syz-stress github.com/google/syzkaller/tools/syz-stress
************************************************************************************
Native cross-compiler /../tools/bin/x86_64--netbsd-g++ is missing. Executor will not be built.
************************************************************************************
make[1]: Nothing to be done for 'executor'.
make[1]: Leaving directory '/syzkaller/jobs/netbsd/gopath/src/github.com/google/syzkaller'



Tested on:

commit: 0e011ed7 Uglify code to fix build.
git tree: https://github.com/NetBSD/src trunk
kernel config: https://syzkaller.appspot.com/x/.config?x=6e4d6bd2b8e377a2
dashboard link: https://syzkaller.appspot.com/bug?extid=8e326b400e4060bf637a
compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110

Note: no patches were applied.

syzbot

unread,
Jul 1, 2022, 4:02:08 PM7/1/22
to rias...@netbsd.org, syzkaller-...@googlegroups.com
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2090483711=/tmp/go-build -gno-record-gcc-switches"
commit: 3f409338 Fix At argument and remove superfluous Pp.
Reply all
Reply to author
Forward
0 new messages