{"action":"created","issue":{"url":"https://api.github.com/repos/BhallaLab/moose-core/issues/48","labels_url":"https://api.github.com/repos/BhallaLab/moose-core/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/BhallaLab/moose-core/issues/48/comments","events_url":"https://api.github.com/repos/BhallaLab/moose-core/issues/48/events","html_url":"https://github.com/BhallaLab/moose-core/issues/48","id":121562963,"number":48,"title":"core dumped:  with  'gssa' solver on moose.Function while reinit() ","user":{"login":"hrani","id":11624899,"avatar_url":"https://avatars.githubusercontent.com/u/11624899?v=3","gravatar_id":"","url":"https://api.github.com/users/hrani","html_url":"https://github.com/hrani","followers_url":"https://api.github.com/users/hrani/followers","following_url":"https://api.github.com/users/hrani/following{/other_user}","gists_url":"https://api.github.com/users/hrani/gists{/gist_id}","starred_url":"https://api.github.com/users/hrani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrani/subscriptions","organizations_url":"https://api.github.com/users/hrani/orgs","repos_url":"https://api.github.com/users/hrani/repos","events_url":"https://api.github.com/users/hrani/events{/privacy}","received_events_url":"https://api.github.com/users/hrani/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"upibhalla","id":13747709,"avatar_url":"https://avatars.githubusercontent.com/u/13747709?v=3","gravatar_id":"","url":"https://api.github.com/users/upibhalla","html_url":"https://github.com/upibhalla","followers_url":"https://api.github.com/users/upibhalla/followers","following_url":"https://api.github.com/users/upibhalla/following{/other_user}","gists_url":"https://api.github.com/users/upibhalla/gists{/gist_id}","starred_url":"https://api.github.com/users/upibhalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/upibhalla/subscriptions","organizations_url":"https://api.github.com/users/upibhalla/orgs","repos_url":"https://api.github.com/users/upibhalla/repos","events_url":"https://api.github.com/users/upibhalla/events{/privacy}","received_events_url":"https://api.github.com/users/upibhalla/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-12-10T19:45:52Z","updated_at":"2015-12-11T08:02:28Z","closed_at":"2015-12-11T08:02:28Z","body":"python: Stoich.cpp:570: const FuncTerm* Stoich::funcs(unsigned int) const: Assertion `funcs_[i]' failed.\r\n7849 abort (core dumped)  \r\n\r\nimport moose\r\nn = moose.Neutral('/model')\r\ncompt = moose.CubeMesh('/model/kinetics')\r\np1 = moose.BufPool('/model/kinetics/Ca')\r\nfunction = moose.Function('/model/kinetics/Ca/func')\r\ngsolve = moose.Gsolve( compt.path+'/gsolve' )\r\nstoich = moose.Stoich( compt.path+'/stoich' )\r\nstoich.compartment = compt\r\nstoich.ksolve = gsolve\r\nstoich.path = compt.path+\"/##\"\r\n\r\nprint \"pool \",p1, \"pool tick \",p1.tick\r\nprint \" function \",function, \"function tick \",function.tick\r\nmoose.reinit()\r\n\r\npool  <moose.ZombieBufPool: id=461, dataIndex=0, path=/model[0]/kinetics[0]/Ca[0]> pool tick  -2\r\nfunc  <moose.Function: id=462, dataIndex=0, path=/model[0]/kinetics[0]/Ca[0]/func[0]> fun tick  12\r\n\r\nFunction object is not converted to ZombieFunction after solver is set and tick is 12 ( for both gsl and gssa) as compared to pool\r\n"},"comment":{"url":"https://api.github.com/repos/BhallaLab/moose-core/issues/comments/163869601","html_url":"https://github.com/BhallaLab/moose-core/issues/48#issuecomment-163869601","issue_url":"https://api.github.com/repos/BhallaLab/moose-core/issues/48","id":163869601,"user":{"login":"hrani","id":11624899,"avatar_url":"https://avatars.githubusercontent.com/u/11624899?v=3","gravatar_id":"","url":"https://api.github.com/users/hrani","html_url":"https://github.com/hrani","followers_url":"https://api.github.com/users/hrani/followers","following_url":"https://api.github.com/users/hrani/following{/other_user}","gists_url":"https://api.github.com/users/hrani/gists{/gist_id}","starred_url":"https://api.github.com/users/hrani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrani/subscriptions","organizations_url":"https://api.github.com/users/hrani/orgs","repos_url":"https://api.github.com/users/hrani/repos","events_url":"https://api.github.com/users/hrani/events{/privacy}","received_events_url":"https://api.github.com/users/hrani/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T08:02:28Z","updated_at":"2015-12-11T08:02:28Z","body":"This is because moose.function is not connected, so ticks are not assigned and its not Zombie-ed both (gsl and gssa).\r\nIt gives core dump in case of GSSA and its fine with GSL.\r\n\r\nThis needs little check as why stoich is not catching or bypassing in the case of GSL case!\r\n\r\n\"python: Stoich.cpp:570: const FuncTerm* Stoich::funcs(unsigned int) const: Assertion `funcs_[i]' failed.\"\r\nSuggestion: Instead of simple assert  which is not giving any information as why its giving core dump. It would be nice if it says that function is not connected. [To make it more user friendly.]"}}