{"action":"opened","issue":{"url":"https://api.github.com/repos/habanero-rice/habanero-upc/issues/1","repository_url":"https://api.github.com/repos/habanero-rice/habanero-upc","labels_url":"https://api.github.com/repos/habanero-rice/habanero-upc/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/habanero-rice/habanero-upc/issues/1/comments","events_url":"https://api.github.com/repos/habanero-rice/habanero-upc/issues/1/events","html_url":"https://github.com/habanero-rice/habanero-upc/issues/1","id":139384690,"number":1,"title":"Running HabaneroUPC++ Programs with mpirun with -np more than 1 crashes all the time.","user":{"login":"NecOnIce","id":10723558,"avatar_url":"https://avatars.githubusercontent.com/u/10723558?v=3","gravatar_id":"","url":"https://api.github.com/users/NecOnIce","html_url":"https://github.com/NecOnIce","followers_url":"https://api.github.com/users/NecOnIce/followers","following_url":"https://api.github.com/users/NecOnIce/following{/other_user}","gists_url":"https://api.github.com/users/NecOnIce/gists{/gist_id}","starred_url":"https://api.github.com/users/NecOnIce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NecOnIce/subscriptions","organizations_url":"https://api.github.com/users/NecOnIce/orgs","repos_url":"https://api.github.com/users/NecOnIce/repos","events_url":"https://api.github.com/users/NecOnIce/events{/privacy}","received_events_url":"https://api.github.com/users/NecOnIce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-08T20:24:58Z","updated_at":"2016-03-08T20:24:58Z","closed_at":null,"body":"Hi,\r\n\r\ni have tried to run some Programs with HabaneroUPC++ and mpirun. But if i set mpirun -np to more than 1, e.g. -np 2 or -np 4, the Program always crashes after the hupcpp::launch Method is invoked.\r\n\r\nThe Message:\r\n\r\n/usr/bin/mpirun -np 2 ./HelloHabaneroUPC\r\n*** Caught a fatal signal: SIGSEGV(11) on node 0/2\r\nNOTICE: Before reporting bugs, run with GASNET_BACKTRACE=1 in the environment to generate a backtrace. \r\n\r\nHere is one simple test program:\r\n```\r\nint main(int argc, char **argv) {\r\n\r\n    hupcpp::launch(&argc, &argv, [=] () {\r\n\r\n        hupcpp::finish_spmd([=] () {\r\n\r\n            cout << \"Number of Workers: \" << hupcpp::numWorkers() << endl;\r\n\r\n            for (int i = 0; i < 100; i++) {\r\n                hupcpp::async([=] () {\r\n                    int temp = 0;\r\n                    for (int j = 0; j < 10000; j++) {\r\n                        temp++;\r\n                        temp += 2;\r\n                    }\r\n                   cout << \"Hello, i'm worker \" << hupcpp::get_hc_wid() << \" !\" << endl;\r\n                });\r\n            }\r\n        });\r\n    });\r\n\r\n    cout << \"Program terminating.\" << endl;\r\n    return 0;\r\n}\r\n```\r\n\r\nThe example Programs of upcxx are working all fine... only HabaneroUPC++ Programs fail."}}