Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPD in session when attaching a worker #4150

Open
ankur22 opened this issue Dec 20, 2024 · 0 comments
Open

NPD in session when attaching a worker #4150

ankur22 opened this issue Dec 20, 2024 · 0 comments

Comments

@ankur22
Copy link
Contributor

ankur22 commented Dec 20, 2024

Brief summary

Stack trace for run id 3657286:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x90 pc=0x15e6efa]

goroutine 33485627 [running]:
github.com/grafana/xk6-browser/common.(*Session).Execute(0x0, {0x1f9acd0, 0xc03449ba70}, {0x1c28d2a, 0xa}, {0x0, 0x0}, {0x0, 0x0})
github.com/grafana/[email protected]/common/session.go:111 +0x7a
github.com/chromedp/cdproto/cdp.Execute({0x1f9acd0, 0xc03449ba70}, {0x1c28d2a, 0xa}, {0x0, 0x0}, {0x0, 0x0})
github.com/chromedp/[email protected]/cdp/types.go:49 +0x10e
github.com/chromedp/cdproto/log.(*EnableParams).Do(0x1f9ad08?, {0x1f9acd0?, 0xc03449ba70?})
github.com/chromedp/[email protected]/log/log.go:63 +0x3a
github.com/grafana/xk6-browser/common.(*Worker).initEvents(0xc037282a00)
github.com/grafana/[email protected]/common/worker.go:51 +0x12c
github.com/grafana/xk6-browser/common.NewWorker({0x1f9ad08, 0xc01cfa8370}, {0x1fa4cc0, 0x0}, {0xc033ac4b20, 0x20}, {0xc0277c8ff0, 0x43})
github.com/grafana/[email protected]/common/worker.go:33 +0x205
github.com/grafana/xk6-browser/common.(*FrameSession).attachWorkerToTarget(0xc0073c43c0, 0xc003577440, {0xc033ac4ae0, 0x20})
github.com/grafana/[email protected]/common/frame_session.go:1051 +0xa5
github.com/grafana/xk6-browser/common.(*FrameSession).onAttachedToTarget(0xc0073c43c0, 0xc01cfcf580)
github.com/grafana/[email protected]/common/frame_session.go:969 +0x2a6
github.com/grafana/xk6-browser/common.(*FrameSession).initEvents.func1()
github.com/grafana/[email protected]/common/frame_session.go:303 +0x233
created by github.com/grafana/xk6-browser/common.(*FrameSession).initEvents in goroutine 33475031
github.com/grafana/[email protected]/common/frame_session.go:239 +0x19b

k6 version

v0.55.0

OS

NA

Docker version and image (if applicable)

No response

Steps to reproduce the problem

NA

Expected behaviour

NA

Actual behaviour

NA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant