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

ls hangs on latest build (against arch linux environment) #89

Open
joebo opened this issue Mar 4, 2016 · 2 comments
Open

ls hangs on latest build (against arch linux environment) #89

joebo opened this issue Mar 4, 2016 · 2 comments
Labels

Comments

@joebo
Copy link

joebo commented Mar 4, 2016

Running ls in the arch linux environment with the latest build hangs. It looks like it's an exception

I've isolated it to the location change of vfs_fork in this commit:

a2229ff#diff-105f07286aa45dd30511b098a017cf41L195

Placing it back to the original location solves the problem

FAILS:

if (!tls_fork(info.hProcess))
    goto fail;

if (!vfs_fork(info.hProcess, info.dwProcessId))
    goto fail;

if (!mm_fork(info.hProcess))
    goto fail;

if (!shared_fork(info.hProcess))
    goto fail;

if (!heap_fork(info.hProcess))
    goto fail;

if (!signal_fork(info.hProcess))
    goto fail;

if (!process_fork(info.hProcess))
    goto fail;

if (!exec_fork(info.hProcess))
    goto fail;

OK:

if (!tls_fork(info.hProcess))
    goto fail;


if (!mm_fork(info.hProcess))
    goto fail;

if (!shared_fork(info.hProcess))
    goto fail;

if (!heap_fork(info.hProcess))
    goto fail;

if (!signal_fork(info.hProcess))
    goto fail;

if (!process_fork(info.hProcess))
    goto fail;

if (!vfs_fork(info.hProcess, info.dwProcessId))
    goto fail;

if (!exec_fork(info.hProcess))
    goto fail;
@wishstudio
Copy link
Owner

Thanks for the info. Looks like it's related to #88

@wishstudio
Copy link
Owner

I cannot reproduce this bug and understand the rationality. Can you provide more info?

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

2 participants