{"action":"opened","issue":{"url":"https://api.github.com/repos/neuronsimulator/nrn/issues/136","repository_url":"https://api.github.com/repos/neuronsimulator/nrn","labels_url":"https://api.github.com/repos/neuronsimulator/nrn/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/neuronsimulator/nrn/issues/136/comments","events_url":"https://api.github.com/repos/neuronsimulator/nrn/issues/136/events","html_url":"https://github.com/neuronsimulator/nrn/issues/136","id":395142282,"node_id":"MDU6SXNzdWUzOTUxNDIyODI=","number":136,"title":"Segmentation fault (core dumped) for getattr","user":{"login":"orena1","id":8983713,"node_id":"MDQ6VXNlcjg5ODM3MTM=","avatar_url":"https://avatars0.githubusercontent.com/u/8983713?v=4","gravatar_id":"","url":"https://api.github.com/users/orena1","html_url":"https://github.com/orena1","followers_url":"https://api.github.com/users/orena1/followers","following_url":"https://api.github.com/users/orena1/following{/other_user}","gists_url":"https://api.github.com/users/orena1/gists{/gist_id}","starred_url":"https://api.github.com/users/orena1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orena1/subscriptions","organizations_url":"https://api.github.com/users/orena1/orgs","repos_url":"https://api.github.com/users/orena1/repos","events_url":"https://api.github.com/users/orena1/events{/privacy}","received_events_url":"https://api.github.com/users/orena1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-01-02T03:37:21Z","updated_at":"2019-01-02T03:37:21Z","closed_at":null,"author_association":"NONE","body":"It seems that this simple example create a segfault (using this modfile: [ProbAMPANMDA_EMS.zip](https://github.com/neuronsimulator/nrn/files/2719888/ProbAMPANMDA_EMS.zip) )\r\n\r\n\r\n```python\r\nIn [1]: from neuron import gui, h\r\n   ...: h(\"create soma\")\r\n   ...: tm = h.ProbAMPANMDA_EMS(0.5,sec=h.soma)\r\n   ...: getattr(tm,'rng')\r\n   ...: \r\nNEURON -- VERSION 7.5 master (6b4c19f) 2017-09-25\r\nDuke, Yale, and the BlueBrain Project -- Copyright 1984-2016\r\nSee http://neuron.yale.edu/neuron/credits\r\n\r\nloading membrane mechanisms from x86_64/.libs/libnrnmech.so\r\nAdditional mechanisms from files\r\n ProbAMPANMDA_EMS.mod\r\nNEURON: unable to open font \"*helvetica-medium-r-normal*--14*\", using \"fixed\"\r\nSegmentation fault (core dumped)\r\n```\r\nIs it possible that getattr will cause an exception or error message instead of the segfault\r\n\r\n\r\nThanks"}}
{"actor":{"display_login":"orena1"}}