{"action":"opened","issue":{"url":"https://api.github.com/repos/madhawav/YOLO3-4-Py/issues/21","repository_url":"https://api.github.com/repos/madhawav/YOLO3-4-Py","labels_url":"https://api.github.com/repos/madhawav/YOLO3-4-Py/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/madhawav/YOLO3-4-Py/issues/21/comments","events_url":"https://api.github.com/repos/madhawav/YOLO3-4-Py/issues/21/events","html_url":"https://github.com/madhawav/YOLO3-4-Py/issues/21","id":341991359,"node_id":"MDU6SXNzdWUzNDE5OTEzNTk=","number":21,"title":"SIGSEGV when creating a Detector","user":{"login":"Pravez","id":5870874,"node_id":"MDQ6VXNlcjU4NzA4NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5870874?v=4","gravatar_id":"","url":"https://api.github.com/users/Pravez","html_url":"https://github.com/Pravez","followers_url":"https://api.github.com/users/Pravez/followers","following_url":"https://api.github.com/users/Pravez/following{/other_user}","gists_url":"https://api.github.com/users/Pravez/gists{/gist_id}","starred_url":"https://api.github.com/users/Pravez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pravez/subscriptions","organizations_url":"https://api.github.com/users/Pravez/orgs","repos_url":"https://api.github.com/users/Pravez/repos","events_url":"https://api.github.com/users/Pravez/events{/privacy}","received_events_url":"https://api.github.com/users/Pravez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-17T16:21:27Z","updated_at":"2018-07-17T16:21:27Z","closed_at":null,"author_association":"NONE","body":"Hi !\r\nFirst, thank you for your work !\r\n\r\nI was first using the darknet python script, but with really poor performances. As yours seems better I am trying to use it but get a segfault each time I try to instantiate a Detector.\r\n\r\nI have first installed your lib through PyPi, but it did not work. Then building it from source with my own build of Darknet, was successful when installing, but not working on execution, with always a segfault error. Apparently after running valgrind it may concern memory allocation ...\r\n\r\n```\r\n Access not within mapped region at address 0x0\r\n==18723==    at 0x16254939: free_network (in /home/pbreton/.local/lib/python3.6/site-packages/__libdarknet/libdarknet.so)\r\n==18723==    by 0x15FE2FF8: __pyx_pf_9pydarknet_8Detector_6__dealloc__ (pydarknet.cpp:3157)\r\n==18723==    by 0x15FE2FF8: __pyx_pw_9pydarknet_8Detector_7__dealloc__ (pydarknet.cpp:3142)\r\n==18723==    by 0x15FE2FF8: __pyx_tp_dealloc_9pydarknet_Detector(_object*) (pydarknet.cpp:5861)\r\n==18723==    by 0x15FE6FC7: __pyx_tp_new_9pydarknet_Detector(_typeobject*, _object*, _object*) (pydarknet.cpp:5847)\r\n==18723==    by 0x5591FD4: ??? (in /usr/lib/libpython3.6m.so.1.0)\r\n==18723==    by 0x558A64B: _PyObject_FastCallDict (in /usr/lib/libpython3.6m.so.1.0)\r\n==18723==    by 0x5552B41: ??? (in /usr/lib/libpython3.6m.so.1.0)\r\n==18723==    by 0x5522859: _PyEval_EvalFrameDefault (in /usr/lib/libpython3.6m.so.1.0)\r\n==18723==    by 0x5552FC7: PyEval_EvalCodeEx (in /usr/lib/libpython3.6m.so.1.0)\r\n==18723==    by 0x552240B: PyEval_EvalCode (in /usr/lib/libpython3.6m.so.1.0)\r\n==18723==    by 0x55F2213: ??? (in /usr/lib/libpython3.6m.so.1.0)\r\n==18723==    by 0x55F50AD: PyRun_FileExFlags (in /usr/lib/libpython3.6m.so.1.0)\r\n==18723==    by 0x55F5294: PyRun_SimpleFileExFlags (in /usr/lib/libpython3.6m.so.1.0)\r\n```\r\n\r\nDo you have any idea ...?\r\n\r\nThank you ..."}}
{"actor":{"display_login":"Pravez"}}