Skip to content

SIGBUS error using mksnapshot on v22.0.0 and above #91

Open
@ryanthemanuel

Description

@ryanthemanuel

I have a script that I've been able to create a snapshot with versions of electron-mksnapshot under v22.0.0. However, when I upgrade to v22.0.0, mksnapshot crashes. I don't really get any kinds of logs with the crash, but I can print out details on the mksnapshot process and it shows it is crashing with a SIGBUS error, e.g.:

Error running mksnapshot. {
  status: null,
  signal: 'SIGBUS',
  output: [ null, null, null ],
  pid: 74231,
  stdout: null,
  stderr: null
}

My script is fairly large, and I am wondering if there is some kind of new memory limit I am running up against. If I comment out certain parts of an object that is being created in the script mksnapshot will succeed; however it seems to be more tied to the number of properties of the object rather than anything specific about the properties themselves. Is there something new in v22.0.0 that I might be running into? Is there any setting I can try to fiddle around with?

I am still digging into this and will keep updating as I discover things, but thought I'd check here to see if anyone has any ideas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions