{"action":"created","issue":{"url":"https://api.github.com/repos/sys-bio/roadrunner/issues/162","labels_url":"https://api.github.com/repos/sys-bio/roadrunner/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/sys-bio/roadrunner/issues/162/comments","events_url":"https://api.github.com/repos/sys-bio/roadrunner/issues/162/events","html_url":"https://github.com/sys-bio/roadrunner/issues/162","id":98824113,"number":162,"title":"setCurrentIntegrator with gillespie crashes system","user":{"login":"hsauro","id":1054990,"avatar_url":"https://avatars.githubusercontent.com/u/1054990?v=3","gravatar_id":"","url":"https://api.github.com/users/hsauro","html_url":"https://github.com/hsauro","followers_url":"https://api.github.com/users/hsauro/followers","following_url":"https://api.github.com/users/hsauro/following{/other_user}","gists_url":"https://api.github.com/users/hsauro/gists{/gist_id}","starred_url":"https://api.github.com/users/hsauro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsauro/subscriptions","organizations_url":"https://api.github.com/users/hsauro/orgs","repos_url":"https://api.github.com/users/hsauro/repos","events_url":"https://api.github.com/users/hsauro/events{/privacy}","received_events_url":"https://api.github.com/users/hsauro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sys-bio/roadrunner/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/sys-bio/roadrunner/labels/priority","name":"priority","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"0u812","id":7402146,"avatar_url":"https://avatars.githubusercontent.com/u/7402146?v=3","gravatar_id":"","url":"https://api.github.com/users/0u812","html_url":"https://github.com/0u812","followers_url":"https://api.github.com/users/0u812/followers","following_url":"https://api.github.com/users/0u812/following{/other_user}","gists_url":"https://api.github.com/users/0u812/gists{/gist_id}","starred_url":"https://api.github.com/users/0u812/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0u812/subscriptions","organizations_url":"https://api.github.com/users/0u812/orgs","repos_url":"https://api.github.com/users/0u812/repos","events_url":"https://api.github.com/users/0u812/events{/privacy}","received_events_url":"https://api.github.com/users/0u812/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-08-03T19:44:02Z","updated_at":"2015-08-03T20:49:14Z","closed_at":null,"body":"If setCurrentIntegrator is called with cvode, rk4 or euler, the method successfully returns. If it is called with the name gillespie, the call crashes the system with an access violation."},"comment":{"url":"https://api.github.com/repos/sys-bio/roadrunner/issues/comments/127402717","html_url":"https://github.com/sys-bio/roadrunner/issues/162#issuecomment-127402717","issue_url":"https://api.github.com/repos/sys-bio/roadrunner/issues/162","id":127402717,"user":{"login":"0u812","id":7402146,"avatar_url":"https://avatars.githubusercontent.com/u/7402146?v=3","gravatar_id":"","url":"https://api.github.com/users/0u812","html_url":"https://github.com/0u812","followers_url":"https://api.github.com/users/0u812/followers","following_url":"https://api.github.com/users/0u812/following{/other_user}","gists_url":"https://api.github.com/users/0u812/gists{/gist_id}","starred_url":"https://api.github.com/users/0u812/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0u812/subscriptions","organizations_url":"https://api.github.com/users/0u812/orgs","repos_url":"https://api.github.com/users/0u812/repos","events_url":"https://api.github.com/users/0u812/events{/privacy}","received_events_url":"https://api.github.com/users/0u812/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T20:49:14Z","updated_at":"2015-08-03T20:49:14Z","body":"I don't know where the segfault is coming from. There is a C test which calls `setCurrentIntegrator(_handle, \"gillespie\")` which doesn't crash:\r\nhttps://github.com/sys-bio/roadrunner/blob/develop/wrappers/C/ApiTest/main.c#L121\r\n\r\nCould you call setLogLevel(\"debug\") at the beginning of your program get give me the log output? You can enable logging to a file by calling \r\n```\r\nenableLoggingToFile()\r\nchar* t = getLogFileName();\r\nprintf(\"Enabling logging to %s\\n\", t);\r\n```\r\n\r\nPlease use 1.3.8 binaries for this, I fixed some problems with logging etc:\r\nhttp://sourceforge.net/projects/libroadrunner/files/libroadrunner-1.3.8/alpha/roadrunner-1.3.8-vs12-llvm-3.5-win32.zip/download"}}