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

Oversized mailbox leads to stack overflow by root regions when preparing for gc (Bugzilla #107) #113

Open
krant opened this issue Aug 13, 2015 · 0 comments
Labels

Comments

@krant
Copy link
Contributor

krant commented Aug 13, 2015

status CONFIRMED severity enhancement in component ling-vm for ---
Reported in version 0.2.3 on platform PC
Assigned to: mk

On 2014-04-19 15:49:31 +0200, mk wrote:

The root regions are allocated on stack before ruunning gc. The super-sized mailbox may lead to the stack overflow. Each region is 16bytes. The mailbox may contain a 100,000 messages.

The current workaround is to skip gc if there are more than MAX_ROOT_REGS (65535) regions.

On 2014-04-19 22:59:33 +0200, mk wrote:

Fast VIF may cause an oversized mailbox. Use mailbox_limit option when opening vif to avoid this.

@krant krant added the bug label Aug 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant