Skip to content

Dump at least partial stack trace for stack overflow #825

@janvorli

Description

@janvorli

When stack overflow happens, it is sometimes hard to determine the real cause, since at stack overflow, the stack trace is not printed.
Since we've recently switched to allocating the alternate stack space using mmap, we could actually reserve larger VM space and commit just the size needed by the regular sigsegv handling. On stack overflow, we could commit more of the space so that we have enough to dump at least partial stack trace.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions