-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
3.11.0
-
None
-
None
-
False
-
I have recently updated one of our CI jobs to Fedora 36 which brings in origin-clients-3.11.2-7.fc36.x86_64
This has started segfaulting; a sample is at https://zuul.opendev.org/t/zuul/build/40f4609a03134446a005852a415f9e47/console#2/1/0/launcher
oc login -u developer -p developer --insecure-skip-tls-verify=true https://centos-7-ovh-gra1-0030821260:844
This fails with
Login successful. You have one project on this server: "myproject" Using project "myproject". panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x41493c] goroutine 1 [running]: reflect.mapiternext(0x40?) /usr/lib/golang/src/runtime/map.go:1378 +0x19 github.com/openshift/origin/vendor/github.com/modern-go/reflect2.(*UnsafeMapIterator).UnsafeNext(0x0?) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/modern-go/reflect2/unsafe_map.go:136 +0x32 github.com/openshift/origin/vendor/github.com/json-iterator/go.(*sortKeysMapEncoder).Encode(0xc00165e9f0, 0xc0006555a8, 0xc0016545a0) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/json-iterator/go/reflect_map.go:273 +0x335 github.com/openshift/origin/vendor/github.com/json-iterator/go.(*placeholderEncoder).Encode(0xc00140e370?, 0xc96c87?, 0xc0016545b8?) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/json-iterator/go/reflect.go:325 +0x22 github.com/openshift/origin/vendor/github.com/json-iterator/go.(*structFieldEncoder).Encode(0xc001664660, 0x2140d04?, 0xc0016545a0) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/json-iterator/go/reflect_struct_encoder.go:110 +0x56 github.com/openshift/origin/vendor/github.com/json-iterator/go.(*structEncoder).Encode(0xc0016647b0, 0xc0016504e0?, 0xc0016545a0) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/json-iterator/go/reflect_struct_encoder.go:158 +0x652 github.com/openshift/origin/vendor/github.com/json-iterator/go.(*placeholderEncoder).Encode(0xc00140e4e8?, 0xc96c87?, 0xc0016545b8?) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/json-iterator/go/reflect.go:325 +0x22 github.com/openshift/origin/vendor/github.com/json-iterator/go.(*structFieldEncoder).Encode(0xc001664a20, 0x20b24f3?, 0xc0016545a0) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/json-iterator/go/reflect_struct_encoder.go:110 +0x56 github.com/openshift/origin/vendor/github.com/json-iterator/go.(*structEncoder).Encode(0xc001664a80, 0xc00140e620?, 0xc0016545a0) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/json-iterator/go/reflect_struct_encoder.go:158 +0x652 github.com/openshift/origin/vendor/github.com/json-iterator/go.(*sliceEncoder).Encode(0xc001645620, 0xc00118fa78, 0xc0016545a0) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/json-iterator/go/reflect_slice.go:38 +0x2bb github.com/openshift/origin/vendor/github.com/json-iterator/go.(*structFieldEncoder).Encode(0xc0016657a0, 0x20be9db?, 0xc0016545a0) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/json-iterator/go/reflect_struct_encoder.go:110 +0x56 github.com/openshift/origin/vendor/github.com/json-iterator/go.(*structEncoder).Encode(0xc001665890, 0x0?, 0xc0016545a0) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/json-iterator/go/reflect_struct_encoder.go:158 +0x652 github.com/openshift/origin/vendor/github.com/json-iterator/go.(*OptionalEncoder).Encode(0xc00140e848?, 0x4103a5?, 0x238a080?) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/json-iterator/go/reflect_optional.go:74 +0xa4 github.com/openshift/origin/vendor/github.com/json-iterator/go.(*onePtrEncoder).Encode(0xc00009b510, 0xc00118fa20, 0xc00140e898?) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/json-iterator/go/reflect.go:213 +0x82 github.com/openshift/origin/vendor/github.com/json-iterator/go.(*Stream).WriteVal(0xc0016545a0, {0x24716e0, 0xc00118fa20}) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/json-iterator/go/reflect.go:93 +0x158 github.com/openshift/origin/vendor/github.com/json-iterator/go.(*frozenConfig).Marshal(0xc000128480, {0x24716e0, 0xc00118fa20}) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/json-iterator/go/config.go:296 +0xc9 github.com/openshift/origin/vendor/k8s.io/apimachinery/pkg/runtime/serializer/json.(*Serializer).Encode(0xc0002c1110?, {0x2d20998?, 0xc00118fa20?}, {0x2d106a0, 0xc001687500}) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go:226 +0x6d github.com/openshift/origin/vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning.(*codec).Encode(0xc0001830e0, {0x2d20948?, 0xc001655860}, {0x2d106a0, 0xc001687500}) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning.go:221 +0x7c6 github.com/openshift/origin/vendor/k8s.io/apimachinery/pkg/runtime.Encode({0x7f5a68d30b18, 0xc0001830e0}, {0x2d20948, 0xc001655860}) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/apimachinery/pkg/runtime/codec.go:46 +0x64 github.com/openshift/origin/vendor/k8s.io/client-go/tools/clientcmd.Write(...) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/client-go/tools/clientcmd/loader.go:426 github.com/openshift/origin/vendor/k8s.io/client-go/tools/clientcmd.WriteToFile({{0x0, 0x0}, {0x0, 0x0}, {0x0, 0xc001686e10}, 0xc001687380, 0xc0016873e0, 0xc001687410, {0xc00167cbc0, ...}, ...}, ...) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/client-go/tools/clientcmd/loader.go:406 +0xa8 github.com/openshift/origin/vendor/k8s.io/client-go/tools/clientcmd.ModifyConfig({0x2d3a240, 0xc000852910}, {{0x0, 0x0}, {0x0, 0x0}, {0x0, 0xc0011d5f80}, 0xc0011d5fb0, 0xc0011fa000, ...}, ...) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/client-go/tools/clientcmd/config.go:268 +0xb38 github.com/openshift/origin/pkg/oc/cli/login.(*LoginOptions).SaveConfig(0xc00140f790) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/pkg/oc/cli/login/loginoptions.go:382 +0x227 github.com/openshift/origin/pkg/oc/cli/login.LoginOptions.Run({{0xc0011b2690, 0x29}, {0x0, 0x0}, 0x1, {0xc0015747d0, 0x9}, {0x7fff348ddbf0, 0x9}, {0xc001575460, ...}, ...}) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/pkg/oc/cli/login/login.go:179 +0x38 github.com/openshift/origin/pkg/oc/cli/login.NewCmdLogin.func1(0xc000d58000?, {0xc00111d140, 0x1, 0x6}) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/pkg/oc/cli/login/login.go:59 +0x1c5 github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).execute(0xc000d58000, {0xc00111d080, 0x6, 0x6}) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:760 +0x663 github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc000cfbb80) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:846 +0x2dc github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).Execute(...) /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:794 main.main() /builddir/build/BUILD/origin-20c5b86c88657888e4906ed7942b85515c650f96/_output/local/go/src/github.com/openshift/origin/cmd/oc/oc.go:70 +0x4db