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

Segmentation fault for Valkey GLIDE client #14145

Open
infrahead opened this issue Sep 24, 2024 · 0 comments
Open

Segmentation fault for Valkey GLIDE client #14145

infrahead opened this issue Sep 24, 2024 · 0 comments
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux

Comments

@infrahead
Copy link

How can we reproduce the crash?

Was testing the newly released ValKey client for node, as potential Redis client replacement. It uses NAPI native addon for the core driver.

I'm getting random panics with "Illegal instruction", even though first couple runs and about every other are fine. Simplest repro:

import { GlideClient } from '@valkey/valkey-glide'

const client = await GlideClient.createClient({
	addresses: [
		{
			host: '127.0.0.1',
			port: 6379
		}
	],
})


const pong = await client.customCommand(['PING'])
console.log(pong)

client.close()

Relevant log output

No response

Stack Trace (bun.report)

Bun v1.1.29 (6d43b36) on linux x86_64 [AutoCommand]

Segmentation fault at address 0x7FCB00000030

Features: jsc, transpiler_cache, tsconfig

@infrahead infrahead added the crash An issue that could cause a crash label Sep 24, 2024
@github-actions github-actions bot added the linux An issue that occurs on Linux label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux
Projects
None yet
Development

No branches or pull requests

1 participant