{"action":"closed","issue":{"url":"https://api.github.com/repos/Cantera/cantera/issues/326","repository_url":"https://api.github.com/repos/Cantera/cantera","labels_url":"https://api.github.com/repos/Cantera/cantera/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/Cantera/cantera/issues/326/comments","events_url":"https://api.github.com/repos/Cantera/cantera/issues/326/events","html_url":"https://github.com/Cantera/cantera/issues/326","id":141012413,"number":326,"title":"cantera 2.2.1 segfault for Python FalloffReaction().falloff attribute","user":{"login":"connie","id":583115,"avatar_url":"https://avatars.githubusercontent.com/u/583115?v=3","gravatar_id":"","url":"https://api.github.com/users/connie","html_url":"https://github.com/connie","followers_url":"https://api.github.com/users/connie/followers","following_url":"https://api.github.com/users/connie/following{/other_user}","gists_url":"https://api.github.com/users/connie/gists{/gist_id}","starred_url":"https://api.github.com/users/connie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connie/subscriptions","organizations_url":"https://api.github.com/users/connie/orgs","repos_url":"https://api.github.com/users/connie/repos","events_url":"https://api.github.com/users/connie/events{/privacy}","received_events_url":"https://api.github.com/users/connie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Cantera/cantera/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Cantera/cantera/labels/Python","name":"Python","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-15T15:39:56Z","updated_at":"2016-03-23T16:02:43Z","closed_at":"2016-03-23T16:02:43Z","body":"Didn't find this amongst the issues, so not sure if it's already fixed in the current code.  I am using the anaconda version of cantera 2.2.1 through Python.  The `falloff` attribute of a newly initialized `cantera.FalloffReaction()` object leads to the following segfault error:\r\n\r\n```\r\nimport cantera as ct\r\nrxn = ct.FalloffReaction()\r\nrxn.falloff\r\n>> Segmentation fault: 11\r\n```\r\n\r\nHowever, setting the falloff reaction as a simple falloff object eliminates this error:\r\n\r\n```\r\nimport cantera as ct\r\nrxn = ct.FalloffReaction()\r\nrxn.falloff = ct.Falloff()\r\nrxn.falloff.parameters\r\n>> array([], dtype=float64)\r\n```\r\n\r\nI guess this is pretty minor but perhaps the `falloff` attribute should be initialized to the base simple `Falloff` object so as to prevent segfaults?\r\n"}}