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

Crash: uncaught: 'cannot push beyond allocated stack' #1

Open
ByteBitter opened this issue Aug 29, 2023 · 0 comments
Open

Crash: uncaught: 'cannot push beyond allocated stack' #1

ByteBitter opened this issue Aug 29, 2023 · 0 comments

Comments

@ByteBitter
Copy link

Hi there,
I get this error message after a view transmissions:

Sent Press on /Page1/Key301
/Page1/Key301 f 0.0
Sent Release on /Page1/Key301
/Page1/Key301 f 1.0
Sent Press on /Page1/Key301
/Page1/Key301 f 0.0
FATAL ERROR:
uncaught: 'cannot push beyond allocated stack'
[Process stopped]

Do you have any idea, why this is happening?

My Code:

// main.js

var oscClient = require("./osc").create("192.168.1.117", 3333);

var buttonManager = require("buttons");

buttonManager.on("buttonDown", function(obj) {
	var button = buttonManager.getButton(obj.bdaddr);
	console.log(button.name + " f 1.0");
	oscClient.send(button.name + " f 1.0", function() {
		console.log("Sent Press on " + button.name);
	});
});

buttonManager.on("buttonUp", function(obj) {
	var button = buttonManager.getButton(obj.bdaddr);
	console.log(button.name + " f 0.0");
	oscClient.send(button.name + " f 0.0", function() {
		console.log("Sent Release on " + button.name);
	});
});

@ByteBitter ByteBitter changed the title uncaught: 'cannot push beyond allocated stack' Crash: uncaught: 'cannot push beyond allocated stack' Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant