{"action":"created","issue":{"url":"https://api.github.com/repos/bristolcrypto/SPDZ-2/issues/41","repository_url":"https://api.github.com/repos/bristolcrypto/SPDZ-2","labels_url":"https://api.github.com/repos/bristolcrypto/SPDZ-2/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/bristolcrypto/SPDZ-2/issues/41/comments","events_url":"https://api.github.com/repos/bristolcrypto/SPDZ-2/issues/41/events","html_url":"https://github.com/bristolcrypto/SPDZ-2/issues/41","id":296959657,"number":41,"title":"After running spdz2-offline.x, Player-Online.x is purging pre-processing data","user":{"login":"danxinnoble","id":25803357,"avatar_url":"https://avatars0.githubusercontent.com/u/25803357?v=4","gravatar_id":"","url":"https://api.github.com/users/danxinnoble","html_url":"https://github.com/danxinnoble","followers_url":"https://api.github.com/users/danxinnoble/followers","following_url":"https://api.github.com/users/danxinnoble/following{/other_user}","gists_url":"https://api.github.com/users/danxinnoble/gists{/gist_id}","starred_url":"https://api.github.com/users/danxinnoble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danxinnoble/subscriptions","organizations_url":"https://api.github.com/users/danxinnoble/orgs","repos_url":"https://api.github.com/users/danxinnoble/repos","events_url":"https://api.github.com/users/danxinnoble/events{/privacy}","received_events_url":"https://api.github.com/users/danxinnoble/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-02-14T02:54:51Z","updated_at":"2018-02-20T08:02:35Z","closed_at":null,"author_association":"NONE","body":"Hi\r\n\r\nI'm trying to generate the pre-processing data using spdz2-offline.x between two machines (technically 2 Ubuntu 16.04.1 vms, each with 2Gb RAM, running on a Windows 10 laptop).\r\n\r\nI've been able to build spdz2-offline.x by adding \"USE_NTL=1\" and \"MOD=-DMAX_MOD_SZ=6\" to CONFIG.mine, running make clean, then running make.\r\n\r\nI run spdz2-offline.x on both vms at the same time with the relevant args and it outputs a lot of good things, and then starts outputting text in the form:\r\n\"Inv: 1800 out of 9600\"\r\netc, incrementing in steps of 100 each time.\r\n\r\nAfter letting it do this for a while I kill the processes, as this is what is suggested in the documentation (\"The program will generate every kind of randomness required by the online phase until you stop it.\") and also in this comment https://github.com/bristolcrypto/SPDZ-2/issues/33#issuecomment-359184489. Unfortunately Ctrl-C doesn't seem to do the trick. After doing Ctrl-C, it initially says \"Stopping production...\" \r\n...\r\n\"Writing to file Player-Data/2-128-40\" \r\n...\r\n\r\nHowever after producing these messages it continues outputting text in the form \r\n\"Inv. 3900 out of 9600\". \r\nSo after this I killed the spdz2-offline.x process on each machine using \r\n$ kill -9 [pid]\r\n\r\nI then try running the program, first with a server on vm A:\r\n[Alice-vm] $ ./Server.x 2 5000 &\r\n[Alice-vm] $ ./Player-Online.x -pn 5000 0 [programName]\r\n[Bob-vm] $ ./Player-Online.x -pn 5000 -h [Alice IP] 1 [programName]\r\n\r\nIt loads some parameters well, but then both machines output:\r\n\"Purging preprocessing data because something is wrong\"\r\n...\r\n\"Removing Player-Data/....\"\r\n...\r\n\"terminate called after throwing an instance of 'not_enough_to_buffer'\r\nwhat(): Not enough data available for buffer...\"\r\n\r\nSeems like there is a check on the pre-processing data that failed, so something went wrong when generating the pre-processing data.\r\n\r\nAny thoughts on what I should do? Or if I made a mistake in any of the steps?\r\n\r\nThanks \r\nDaniel"},"comment":{"url":"https://api.github.com/repos/bristolcrypto/SPDZ-2/issues/comments/366895637","html_url":"https://github.com/bristolcrypto/SPDZ-2/issues/41#issuecomment-366895637","issue_url":"https://api.github.com/repos/bristolcrypto/SPDZ-2/issues/41","id":366895637,"user":{"login":"mkskeller","id":20222909,"avatar_url":"https://avatars3.githubusercontent.com/u/20222909?v=4","gravatar_id":"","url":"https://api.github.com/users/mkskeller","html_url":"https://github.com/mkskeller","followers_url":"https://api.github.com/users/mkskeller/followers","following_url":"https://api.github.com/users/mkskeller/following{/other_user}","gists_url":"https://api.github.com/users/mkskeller/gists{/gist_id}","starred_url":"https://api.github.com/users/mkskeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkskeller/subscriptions","organizations_url":"https://api.github.com/users/mkskeller/orgs","repos_url":"https://api.github.com/users/mkskeller/repos","events_url":"https://api.github.com/users/mkskeller/events{/privacy}","received_events_url":"https://api.github.com/users/mkskeller/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T08:02:35Z","updated_at":"2018-02-20T08:02:35Z","author_association":"CONTRIBUTOR","body":"Have you tried wiping everything clean and starting over?"}}
{"actor":{"display_login":"mkskeller"}}