{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1466","repository_url":"https://api.github.com/repos/Microsoft/BashOnWindows","labels_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1466/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1466/comments","events_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1466/events","html_url":"https://github.com/Microsoft/BashOnWindows/issues/1466","id":193828077,"number":1466,"title":"Program making futex system call crashing","user":{"login":"Oeffner","id":16670930,"avatar_url":"https://avatars.githubusercontent.com/u/16670930?v=3","gravatar_id":"","url":"https://api.github.com/users/Oeffner","html_url":"https://github.com/Oeffner","followers_url":"https://api.github.com/users/Oeffner/followers","following_url":"https://api.github.com/users/Oeffner/following{/other_user}","gists_url":"https://api.github.com/users/Oeffner/gists{/gist_id}","starred_url":"https://api.github.com/users/Oeffner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Oeffner/subscriptions","organizations_url":"https://api.github.com/users/Oeffner/orgs","repos_url":"https://api.github.com/users/Oeffner/repos","events_url":"https://api.github.com/users/Oeffner/events{/privacy}","received_events_url":"https://api.github.com/users/Oeffner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-06T17:02:51Z","updated_at":"2016-12-06T23:48:45Z","closed_at":"2016-12-06T23:48:45Z","body":"Please use the following bug reporting template to help produce actionable and reproducible issues. Please try to ensure that the reproduction is minimal so that the team can go through more bugs!\r\n\r\n* A brief description\r\nI am working with scientific programs from CCP4 that all run fine on native Linux but crash on WSL. They are text mode and do scientific number crunching. They have all been compiled with Intel fortran using MKL and OpenMP. Due to copyright restrictions I am not able to submit neither a binary nor the source code of any of the programs. Nor have I so far been able to reproduce the crash with my own small example code using intels compiler.\r\n\r\n* Expected results\r\nWhen run without arguments these programs should print about 40 lines help text to stdout.\r\n\r\n* Actual results (with terminal output if applicable)\r\nInstant termination with no output to stdout.\r\nI think that strace suggest that the problem is with the futex system call.\r\n\r\n* Your Windows build number\r\n10.0.14971 \r\n\r\n* Steps / All commands required to reproduce the error from a brand new installation \r\nAfter installing CCP4 run any of the commands, shelxe, shelxc, shelxd, shelxl, shelxs, shelxt from a bash shell.\r\n\r\n* Strace of the failing command\r\n\r\nroot@Pauli:~/LinuxTest#\r\nroot@Pauli:~/LinuxTest# strace -ff shelxd\r\nexecve(\"/mnt/b/LinuxTest/ccp4-7.0/bin/shelxd\", [\"shelxd\"], [/* 36 vars */]) = 0\r\nuname({sys=\"Linux\", node=\"Pauli\", ...}) = 0\r\nbrk(0)                                  = 0x2773000\r\nbrk(0x2774110)                          = 0x2774110\r\narch_prctl(ARCH_SET_FS, 0x2773800)      = 0\r\nset_tid_address(0x2773ad0)              = 1524\r\nset_robust_list(0x2773ae0, 24)          = 0\r\nfutex(0x7fffe629bf6c, FUTEX_WAKE_PRIVATE, 1) = 0\r\nfutex(0x7fffe629bf6c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 2773800) = -1 EAGAIN (Resource temporarily unavailable)\r\nrt_sigaction(SIGRTMIN, {0x1982830, [], SA_RESTORER|SA_SIGINFO, 0x19816c0}, NULL, 8) = 0\r\nrt_sigaction(SIGRT_1, {0x1982760, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x19816c0}, NULL, 8) = 0\r\nrt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0\r\ngetrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}) = 0\r\nbrk(0x2795110)                          = 0x2795110\r\nbrk(0x2796000)                          = 0x2796000\r\nrt_sigaction(SIGFPE, {0x18726a0, [], SA_RESTORER|SA_RESTART|SA_NODEFER|SA_SIGINFO, 0x19816c0}, NULL, 8) = 0\r\nrt_sigaction(SIGILL, {0x18726a0, [], SA_RESTORER|SA_RESTART|SA_NODEFER|SA_SIGINFO, 0x19816c0}, NULL, 8) = 0\r\nrt_sigaction(SIGSEGV, {0x18726a0, [], SA_RESTORER|SA_RESTART|SA_NODEFER|SA_SIGINFO, 0x19816c0}, NULL, 8) = 0\r\nrt_sigaction(SIGABRT, {0x18726a0, [], SA_RESTORER|SA_RESTART|SA_NODEFER|SA_SIGINFO, 0x19816c0}, NULL, 8) = 0\r\nrt_sigaction(SIGTERM, {0x18726a0, [], SA_RESTORER|SA_RESTART|SA_NODEFER|SA_SIGINFO, 0x19816c0}, NULL, 8) = 0\r\nrt_sigaction(SIGQUIT, {0x18726a0, [], SA_RESTORER|SA_RESTART|SA_NODEFER|SA_SIGINFO, 0x19816c0}, {SIG_DFL, [], SA_RESTORER, 0x7f843b026cb0}, 8) = 0\r\nrt_sigaction(SIGINT, {0x18726a0, [], SA_RESTORER|SA_RESTART|SA_NODEFER|SA_SIGINFO, 0x19816c0}, {SIG_DFL, [], SA_RESTORER, 0x7f843b026cb0}, 8) = 0\r\nfutex(0x1fcd1a0, FUTEX_WAKE_PRIVATE, 2147483647) = 0\r\n--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=0xffffffffff600000} ---\r\n--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=0xffffffffff600000} ---\r\nexit_group(174)                         = ?\r\n+++ exited with 174 +++\r\nroot@Pauli:~/LinuxTest#\r\n\r\n\r\n* Required packages and commands to install\r\nInstall the scientific software suite CCP4 + SHELX from http://www.ccp4.ac.uk/download/index.php#os=linux on WSL, about 750Gb. Uncompress the package ccp4-7.0-shelx-linux-x86_64.tar.bz2 and run the setup script.\r\n\r\nSee [our contributing instructions](/CONTRIBUTING.md) for assistance.\r\n"}}
{"actor":{"display_login":"Oeffner"}}