{"action":"created","issue":{"url":"https://api.github.com/repos/clab/cnn/issues/71","repository_url":"https://api.github.com/repos/clab/cnn","labels_url":"https://api.github.com/repos/clab/cnn/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/clab/cnn/issues/71/comments","events_url":"https://api.github.com/repos/clab/cnn/issues/71/events","html_url":"https://github.com/clab/cnn/issues/71","id":175362810,"number":71,"title":"Segmentation fault in save (v2)","user":{"login":"vered1986","id":7113658,"avatar_url":"https://avatars.githubusercontent.com/u/7113658?v=3","gravatar_id":"","url":"https://api.github.com/users/vered1986","html_url":"https://github.com/vered1986","followers_url":"https://api.github.com/users/vered1986/followers","following_url":"https://api.github.com/users/vered1986/following{/other_user}","gists_url":"https://api.github.com/users/vered1986/gists{/gist_id}","starred_url":"https://api.github.com/users/vered1986/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vered1986/subscriptions","organizations_url":"https://api.github.com/users/vered1986/orgs","repos_url":"https://api.github.com/users/vered1986/repos","events_url":"https://api.github.com/users/vered1986/events{/privacy}","received_events_url":"https://api.github.com/users/vered1986/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-06T22:02:02Z","updated_at":"2016-09-06T22:15:52Z","closed_at":null,"body":"Saving any non-empty model results in \"Segmentation fault (core dumped)\":\r\n\r\nThe following code produces this error:\r\n\r\n```python\r\nfrom gpycnn import *\r\nm = Model()\r\nm.save('model')\r\nbilstm_builder = BiRNNBuilder(1, 2, 100, m, LSTMBuilder)\r\nm.save('model')\r\n```\r\n\r\nThe first save operation works well, and the second causes a segmentation fault. It also happens when `bilstm_builder = BiRNNBuilder(1, 2, 100, m, LSTMBuilder)` is replaced with a lookup table initialization.\r\n\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/clab/cnn/issues/comments/245113344","html_url":"https://github.com/clab/cnn/issues/71#issuecomment-245113344","issue_url":"https://api.github.com/repos/clab/cnn/issues/71","id":245113344,"user":{"login":"yoavg","id":464308,"avatar_url":"https://avatars.githubusercontent.com/u/464308?v=3","gravatar_id":"","url":"https://api.github.com/users/yoavg","html_url":"https://github.com/yoavg","followers_url":"https://api.github.com/users/yoavg/followers","following_url":"https://api.github.com/users/yoavg/following{/other_user}","gists_url":"https://api.github.com/users/yoavg/gists{/gist_id}","starred_url":"https://api.github.com/users/yoavg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoavg/subscriptions","organizations_url":"https://api.github.com/users/yoavg/orgs","repos_url":"https://api.github.com/users/yoavg/repos","events_url":"https://api.github.com/users/yoavg/events{/privacy}","received_events_url":"https://api.github.com/users/yoavg/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T22:15:52Z","updated_at":"2016-09-06T22:15:52Z","body":"thanks, I will look into it.\n\nOn Wed, Sep 7, 2016 at 1:08 AM Vered Shwartz <notifications@github.com>\nwrote:\n\n> No, the same code worked when I replaced gpycnn with pycnn.\n>\n> —\n> You are receiving this because you commented.\n>\n>\n> Reply to this email directly, view it on GitHub\n> <https://github.com/clab/cnn/issues/71#issuecomment-245111525>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/AAcVtH4clN2puJH7ft0cjHRbSBNPn8SFks5qneRAgaJpZM4J2VMQ>\n> .\n>\n"}}
{"actor":{"display_login":"yoavg"}}