Date: Mon, 12 Aug 2024 14:26:18 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280777] sysutils/buildah: Segfault while run after update to 1.36 Message-ID: <bug-280777-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280777 Bug ID: 280777 Summary: sysutils/buildah: Segfault while run after update to 1.36 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: dfr@FreeBSD.org Reporter: goldii@ya.ru Assignee: dfr@FreeBSD.org Flags: maintainer-feedback?(dfr@FreeBSD.org) I've gotten an error after upgrading to 1.36.0_2: buildah run -- last-working-container cap_mkdb /etc/login.conf panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=3D0x1 addr=3D0x68 pc=3D0x1ae56= c0] goroutine 1 [running]: github.com/containers/buildah.(*Builder).addResolvConfEntries(0x870390300, {0x870486090, 0x26}, {0x0, 0x0, 0x0}, 0x0, 0x0, 0x1)=20 /wrkdirs/usr/ports/sysutils/buildah/work/buildah-1.36.0/run_common.go:93 +0= xc0 github.com/containers/buildah.(*Builder).Run(_, {_, _, _}, {0x0, {0x0, 0x0}, 0x0, {0x870014660, 0x7}, ...}) / wrkdirs/usr/ports/sysutils/buildah/work/buildah-1.36.0/run_freebsd.go:247 +0x176d main.runCmd(_, {_, _, _}, {0x0, {0x1e19ba0, 0x0, 0x0}, {0x1e19ba0, = 0x0, ...}, ...}) /wrkdirs/usr/ports/sysutils/buildah/work/buildah-1.36.0/cmd/buildah/run.go:= 192 +0xa58 main.init.23.func1(0x8703ca900?, {0x8704c7c80?, 0x4?, 0x4c95f3?}) /wrkdirs/usr/ports/sy sutils/buildah/work/buildah-1.36.0/cmd/buildah/run.go= :55 +0x7b github.com/spf13/cobra.(*Command).execute(0x8703c9200, {0x8704c7c40, = 0x4, 0x4}) /wrkdirs/usr/ports/sysutils/buildah/work/buildah-1.36.0/vendor/github.com/s= pf13/cobra/command.go:983 +0xabc github.com/spf13/cobra.(*Command).ExecuteC(0x1d352c0) /wrkdirs/usr/ports/sysutils/buildah/work/buildah-1 .36.0/vendor/github.com/spf13/cobra/command.go:1115 +0x3ff github.com/spf13/cobra.(*Command).Execute(...) /wrkdirs/usr/ports/sysutils/buildah/work/buildah-1.36.0/vendor/github.com/s= pf13/cobra/command.go:1039 main.main() /wrkdirs/usr/ports/sysutils/buildah/work/buildah-1.36.0/cmd/buildah/main.go= :236 +0x48 and there are no errors on v1.33.2, it works fine how to reproduce the error: 1. mdconfig -a -t vnode -f FreeBSD-14.1-RELEASE-amd64-memstick.img -u 0 2. mount /dev/md0s2a /mnt 3. tar -C /mnt -c . | podman import - freebsdmemstickamd64/last=20 4. buildah from freebsdmemstickamd64/last=20 5. buildah run -- last-working-container cap_mkdb /etc/login.conf --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280777-7788>