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

Futex problem when building duckling with haskell #3881

Closed
peidaqi opened this issue Feb 27, 2019 · 9 comments
Closed

Futex problem when building duckling with haskell #3881

peidaqi opened this issue Feb 27, 2019 · 9 comments

Comments

@peidaqi
Copy link

peidaqi commented Feb 27, 2019

Please use the following bug reporting template to help produce issues which are actionable and reproducible, including all command-line steps necessary to induce the failure condition. Please fill out all the fields! Issues with missing or incomplete issue templates will be closed.

If you have a feature request, please post to the UserVoice.

If this is a console issue (a problem with layout, rendering, colors, etc.), please post to the console issue tracker.

Important: Do not open GitHub issues for Windows crashes (BSODs) or security issues. Please direct all Windows crashes and security issues to [email protected]. Ideally, please configure your machine to capture minidumps, repro the issue, and send the minidump from "C:\Windows\minidump".

Please fill out the below information:

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    10.0.17763.316
  • What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)
  1. Clone duckling repo from https://github.com/facebook/duckling
  2. Install haskell environment in bash with:
    sudo apt install haskell-stack
  3. Build duckling with:
    stack build
  • What's wrong / what should be happening instead:
    The build process failed with:
    The futex facility returned an unexpecteHUnit-1.5.0.0: configure

  • Strace of the failing command, if applicable: (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here).
    N/A

  • For WSL launch issues, please collect detailed logs.

See our contributing instructions for assistance.

@therealkenc
Copy link
Collaborator

therealkenc commented Feb 27, 2019

Those repro steps do not work, and the strace is entirely applicable (this is a build so the trace would be of the specific failing command in the build). In any case after getting GHC into order I wasn't able to reproduce the futex facility fail (made me look). Builds cleanly here. This was on Bionic and 18841. The Win10 version difference might matter -- but best guess, I'm doubting it it matters. Doesn't hurt to try.

image

@peidaqi
Copy link
Author

peidaqi commented Feb 27, 2019

Hmmm..... my uname -a shows 17763. Which Ubuntu did you install from the Windows Store? I'm using the one without version number, which is supposed to be the latest.

@benhillis
Copy link
Member

The "kernel" version is tied to your Windows release, not the Ubuntu app.

@peidaqi
Copy link
Author

peidaqi commented Feb 27, 2019

Yes I just realized that too. So @therealkenc do you work for Microsoft and have a lately Windows build not yet released for consumer update?

@benhillis
Copy link
Member

@therealkenc does not work at Microsoft, but he runs various Windows Insider builds.

@peidaqi
Copy link
Author

peidaqi commented Feb 28, 2019

Ok in that case, I think the problem is probably fixed in new release of LXSS. I'll just have to wait for the right Windows Update then. Thanks.

@peidaqi peidaqi closed this as completed Feb 28, 2019
@therealkenc
Copy link
Collaborator

I think the problem is probably fixed in new release of LXSS

Appears so. Confirmed your problem on 1809 (I needed a new image for unrelated reasons). futex(2) is interrupted on signal SIGVTALRM, the restart_syscall(2) fails with ETIMEDOUT, and that's ballgame. Can't dupe ya for lack of an immediately plausible target. Thanks for reporting. stack init fails let alone building duckling, so anyone using The Haskell Tool Stack will hit this.

@peidaqi
Copy link
Author

peidaqi commented Mar 1, 2019

No problem. Thanks for confirming this.

@Brian-Perkins
Copy link

#3618 fixed in build 18277

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants