Skip to content

malloc(): memory corruption #8

@RossComputerGuy

Description

@RossComputerGuy

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)
	})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions