Skip to content

Segmentation fault on EPP using Inference-scheduler v0.2.0-rc2 #255

@Luca-Calabria

Description

@Luca-Calabria

Hi could you help to solve this SegFault error?

{"level":"info","ts":"2025-07-21T16:54:54Z","logger":"setup","caller":"runner/runner.go:267","msg":"Enabling pprof handlers"}
{"level":"Level(-2)","ts":"2025-07-21T16:54:54Z","caller":"manager/internal.go:196","msg":"Registering metrics http server extra handler","path":"/debug/pprof/heap"}
{"level":"Level(-2)","ts":"2025-07-21T16:54:54Z","caller":"manager/internal.go:196","msg":"Registering metrics http server extra handler","path":"/debug/pprof/goroutine"}
{"level":"Level(-2)","ts":"2025-07-21T16:54:54Z","caller":"manager/internal.go:196","msg":"Registering metrics http server extra handler","path":"/debug/pprof/allocs"}
{"level":"Level(-2)","ts":"2025-07-21T16:54:54Z","caller":"manager/internal.go:196","msg":"Registering metrics http server extra handler","path":"/debug/pprof/threadcreate"}
{"level":"Level(-2)","ts":"2025-07-21T16:54:54Z","caller":"manager/internal.go:196","msg":"Registering metrics http server extra handler","path":"/debug/pprof/block"}
{"level":"Level(-2)","ts":"2025-07-21T16:54:54Z","caller":"manager/internal.go:196","msg":"Registering metrics http server extra handler","path":"/debug/pprof/mutex"}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1da9531]

goroutine 1 [running]:
sigs.k8s.io/gateway-api-inference-extension/pkg/epp/scheduling.NewSchedulerWithConfig(...)
	/go/pkg/mod/sigs.k8s.io/gateway-api-inference-extension@v0.5.0-rc.3/pkg/epp/scheduling/scheduler.go:40
sigs.k8s.io/gateway-api-inference-extension/cmd/epp/runner.(*Runner).Run(0xc0006e3f30, {0x2efe4c8, 0xc0007e8000})
	/go/pkg/mod/sigs.k8s.io/gateway-api-inference-extension@v0.5.0-rc.3/cmd/epp/runner/runner.go:282 +0x5f1
main.main()
	/workspace/cmd/epp/main.go:46 +0xdb

Running the deployer I can see the epp pod failing during initialization reporting this error. The other pods go up and running successfully

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions