Re: assert failed: sc->sc_parent->dk_rawopens > NUM

0 views
Skip to first unread message

syzbot

unread,
Apr 19, 2023, 3:59:29 AM4/19/23
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-2/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-2/netbsd/gopath/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/syzkaller/jobs-2/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.20.1"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/syzkaller/jobs-2/netbsd/gopath/src/github.com/google/syzkaller/go.mod"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build148373767=/tmp/go-build -gno-record-gcc-switches"

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


go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen
make .descriptions
bin/syz-sysgen
touch .descriptions
GOOS=netbsd GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=75c78242e3cb60e13282fa7040f13832f573320e -X 'github.com/google/syzkaller/prog.gitRevisionDate=20220927-130737'" "-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/prog.GitRevision=75c78242e3cb60e13282fa7040f13832f573320e -X 'github.com/google/syzkaller/prog.gitRevisionDate=20220927-130737'" "-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/prog.GitRevision=75c78242e3cb60e13282fa7040f13832f573320e -X 'github.com/google/syzkaller/prog.gitRevisionDate=20220927-130737'" "-tags=syz_target syz_os_netbsd syz_arch_amd64 " -o ./bin/netbsd_amd64/syz-stress github.com/google/syzkaller/tools/syz-stress
************************************************************************************
Executor will not be built
Native cross-compiler is missing/broken:
SOURCEDIR is not set
************************************************************************************



Tested on:

commit: bfa15e6c virtio(4): change variable name, nfc
git tree: https://github.com/NetBSD/src trunk
kernel config: https://syzkaller.appspot.com/x/.config?x=739e57438eb9ed9e
dashboard link: https://syzkaller.appspot.com/bug?extid=4076654b4f6ab4c97c19
compiler: Debian clang version 15.0.7
patch: https://syzkaller.appspot.com/x/patch.diff?x=13898800280000

Aleksandr Nogikh

unread,
Apr 20, 2023, 5:47:19 AM4/20/23
to syzbot, syzkaller-...@googlegroups.com
#syz test: https://github.com/NetBSD/src.git trunk
> --
> You received this message because you are subscribed to the Google Groups "syzkaller-netbsd-bugs" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-netbsd...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-netbsd-bugs/000000000000a703da05f9abcd0a%40google.com.

syzbot

unread,
Apr 20, 2023, 6:37:31 AM4/20/23
to nog...@google.com, syzkaller-...@googlegroups.com
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build64599970=/tmp/go-build -gno-record-gcc-switches"

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


go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen
make .descriptions
bin/syz-sysgen
touch .descriptions
GOOS=netbsd GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=75c78242e3cb60e13282fa7040f13832f573320e -X 'github.com/google/syzkaller/prog.gitRevisionDate=20220927-130737'" "-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/prog.GitRevision=75c78242e3cb60e13282fa7040f13832f573320e -X 'github.com/google/syzkaller/prog.gitRevisionDate=20220927-130737'" "-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/prog.GitRevision=75c78242e3cb60e13282fa7040f13832f573320e -X 'github.com/google/syzkaller/prog.gitRevisionDate=20220927-130737'" "-tags=syz_target syz_os_netbsd syz_arch_amd64 " -o ./bin/netbsd_amd64/syz-stress github.com/google/syzkaller/tools/syz-stress
************************************************************************************
Executor will not be built
Native cross-compiler is missing/broken:
SOURCEDIR is not set
************************************************************************************



Tested on:

commit: 8e8d3674 Add reloc keyworkd to let EFI bootstrap load ..
git tree: netbsd
Note: no patches were applied.

Aleksandr Nogikh

unread,
Apr 21, 2023, 7:15:29 AM4/21/23
to syzbot, syzkaller-...@googlegroups.com

syzbot

unread,
Apr 21, 2023, 8:07:26 AM4/21/23
to nog...@google.com, syzkaller-...@googlegroups.com
Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
SYZFATAL: executor failed NUM times: failed to create temp dir: mkdir ./syzkaller-testdirNUM: input/output error

2023/04/21 12:05:53 SYZFATAL: executor failed 11 times: failed to create temp dir: mkdir ./syzkaller-testdir2624579709: input/output error
2023/04/21 12:05:53 SYZFATAL: executor failed 11 times: failed to create temp dir: mkdir ./syzkaller-testdir2462743586: input/output error


Tested on:

commit: 48bba193 virtio(4): change members of struct vring_des..
git tree: netbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=12a9c684280000
Reply all
Reply to author
Forward
0 new messages