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

malloc(): memory corruption #8

Open
RossComputerGuy opened this issue Nov 19, 2018 · 0 comments
Open

malloc(): memory corruption #8

RossComputerGuy opened this issue Nov 19, 2018 · 0 comments

Comments

@RossComputerGuy
Copy link

Whenever I try to read the fb_fix_screeninfo, node.js crashes and says malloc(): memory corruption. My fb_fix_screeninfo structure looks like:

    StructType({
		id: ArrayType(ref.types.char,16),
		smem_start: ref.types.ulong,
		
		smem_len: ref.types.uint,
		type: ref.types.uint,
		type_aux: ref.types.uint,
		visual: ref.types.uint,
		xpanstep: ref.types.ushort,
		ypanstep: ref.types.ushort,
		line_length: ref.types.uint,
		mmio_start: ref.types.ulong,
		
		mmio_len: ref.types.uint,
		accel: ref.types.uint,
		capabilities: ref.types.ushort,
		reserved: ArrayType(ref.types.ushort,2)
	})
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