We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i just closed and open again my app with bun test.js --watching
const WebSocket = require('ws'); const ws = new WebSocket('wss://stream.binance.com:9443/ws'); const symbols = ['btcusdt','ethusdt'];
ws.on('open', function open() { console.log('Conexión establecida con Binance.'); for (const symbol of symbols) { ws.send(JSON.stringify({ "method": "SUBSCRIBE", "params": [ ${symbol}@ticker ], "id": 1 })); } });
${symbol}@ticker
ws.on('message', function incoming(data) { const message = JSON.parse(data); if (message.a) { console.log(Precio de ${message.s}: ${message.a}); } });
Precio de ${message.s}: ${message.a}
ws.on('error', function error(err) { console.error('Error en la conexión:', err); });
ws.on('close', function close() { console.log('Conexión cerrada.'); });
No response
Bun v1.1.6 (e58d67b) on windows x86_64 [AutoCommand]
e58d67b
Segmentation fault at address 0xFFFFFFFFFFFFFFFF
us_socket_close
??
uv__process_poll_req
uv_run
uws.zig:2619
run
JSC__VM__holdAPILock
shimmer.zig:186
cppFn
cli.zig:1995
maybeOpenWithBunJS
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
How can we reproduce the crash?
i just closed and open again my app with bun test.js --watching
const WebSocket = require('ws');
const ws = new WebSocket('wss://stream.binance.com:9443/ws');
const symbols = ['btcusdt','ethusdt'];
ws.on('open', function open() {
console.log('Conexión establecida con Binance.');
for (const symbol of symbols) {
ws.send(JSON.stringify({
"method": "SUBSCRIBE",
"params": [
${symbol}@ticker
],
"id": 1
}));
}
});
ws.on('message', function incoming(data) {
const message = JSON.parse(data);
if (message.a) {
console.log(
Precio de ${message.s}: ${message.a}
);}
});
ws.on('error', function error(err) {
console.error('Error en la conexión:', err);
});
ws.on('close', function close() {
console.log('Conexión cerrada.');
});
JavaScript/TypeScript code that reproduces the crash?
No response
Relevant log output
No response
Stack Trace (bun.report)
Bun v1.1.6 (
e58d67b
) on windows x86_64 [AutoCommand]Segmentation fault at address 0xFFFFFFFFFFFFFFFF
us_socket_close
??
??
uv__process_poll_req
??
uv_run
uws.zig:2619
:run
JSC__VM__holdAPILock
shimmer.zig:186
:cppFn
cli.zig:1995
:maybeOpenWithBunJS
The text was updated successfully, but these errors were encountered: