{"action":"created","issue":{"url":"https://api.github.com/repos/medoc92/upmpdcli/issues/101","repository_url":"https://api.github.com/repos/medoc92/upmpdcli","labels_url":"https://api.github.com/repos/medoc92/upmpdcli/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/medoc92/upmpdcli/issues/101/comments","events_url":"https://api.github.com/repos/medoc92/upmpdcli/issues/101/events","html_url":"https://github.com/medoc92/upmpdcli/issues/101","id":232558685,"number":101,"title":"scctl: Segmentation fault when using UDN","user":{"login":"joerg-krause","id":6870896,"avatar_url":"https://avatars1.githubusercontent.com/u/6870896?v=3","gravatar_id":"","url":"https://api.github.com/users/joerg-krause","html_url":"https://github.com/joerg-krause","followers_url":"https://api.github.com/users/joerg-krause/followers","following_url":"https://api.github.com/users/joerg-krause/following{/other_user}","gists_url":"https://api.github.com/users/joerg-krause/gists{/gist_id}","starred_url":"https://api.github.com/users/joerg-krause/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joerg-krause/subscriptions","organizations_url":"https://api.github.com/users/joerg-krause/orgs","repos_url":"https://api.github.com/users/joerg-krause/repos","events_url":"https://api.github.com/users/joerg-krause/events{/privacy}","received_events_url":"https://api.github.com/users/joerg-krause/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-31T13:04:58Z","updated_at":"2017-06-07T06:44:23Z","closed_at":null,"body":"Using scctl sometime works when using a UDN:\r\n\r\n```\r\n# scctl -x uuid:859f8ae8-331a-dc5a-700f-0023b1e3c315\r\n:2:src/netcon-fixed.cpp:707::NetconCli: connect() errno 111 (Connection refused)\r\n:4:scctl_src/scctl.cpp:314::openconn(/tmp/scctl0/sock) failed (ok: server not running)\r\n:4:libupnpp/upnpplib.cxx:156::LibUPnP: Using IP 192.168.1.141 port 49153\r\n:2:libupnpp/control/linnsongcast.cxx:487::Songcast: resetting uuid:859f8ae8-331a-dc5a-700f-0023b1e3c315\r\n:3:libupnpp/control/service.cxx:289::Service::srvCB: no callback found for sid uuid:db12a1b4-4600-11e7-9a53-f48172b9e787\r\n:2:libupnpp/control/linnsongcast.cxx:497::uuid:859f8ae8-331a-dc5a-700f-0023b1e3c315: not in receiver mode\r\n:4:./libupnpp/workqueue.h:176::setTerminateAndWait:DiscoveredQueue\r\n:4:./libupnpp/workqueue.h:312::WorkQueue:ok:DiscoveredQueue: not ok m_ok 0 m_workers_exited 0 m_worker_threads size 1\r\n:4:./libupnpp/workqueue.h:293::workerExit:DiscoveredQueue\r\n:3:./libupnpp/workqueue.h:192::DiscoveredQueue: tasks 18 nowakes 24 wsleeps 13 csleeps 0\r\n:4:./libupnpp/workqueue.h:216::setTerminateAndWait:DiscoveredQueue done\r\n```\r\n\r\n.. but sometimes segfaults:\r\n\r\n```\r\n# scctl -x uuid:859f8ae8-331a-dc5a-700f-0023b1e3c315\r\n:2:src/netcon-fixed.cpp:707::NetconCli: connect() errno 111 (Connection refused)\r\n:4:scctl_src/scctl.cpp:314::openconn(/tmp/scctl0/sock) failed (ok: server not running)\r\n:4:libupnpp/upnpplib.cxx:156::LibUPnP: Using IP 192.168.1.141 port 49153\r\n:2:libupnpp/control/linnsongcast.cxx:487::Songcast: resetting uuid:859f8ae8-331a-dc5a-700f-0023b1e3c315\r\n:2:libupnpp/control/linnsongcast.cxx:497::uuid:859f8ae8-331a-dc5a-700f-0023b1e3c315: not in receiver mode\r\nSegmentation fault\r\n```\r\n\r\n.. or:\r\n\r\n```\r\n# scctl -x uuid:859f8ae8-331a-dc5a-700f-0023b1e3c315\r\n:2:src/netcon-fixed.cpp:707::NetconCli: connect() errno 111 (Connection refused)\r\n:4:scctl_src/scctl.cpp:314::openconn(/tmp/scctl0/sock) failed (ok: server not running)\r\n:4:libupnpp/upnpplib.cxx:156::LibUPnP: Using IP 192.168.1.141 port 49155\r\n:2:libupnpp/control/linnsongcast.cxx:487::Songcast: resetting uuid:859f8ae8-331a-dc5a-700f-0023b1e3c315\r\n:4:libupnpp/control/linnsongcast.cxx:383::stopReceiver: st.nm HBM10-0478 st.UDN uuid:859f8ae8-331a-dc5a-700f-0023b1e3c315\r\n:2:libupnpp/control/linnsongcast.cxx:502::uuid:859f8ae8-331a-dc5a-700f-0023b1e3c315 back from receiver mode \r\n:4:./libupnpp/workqueue.h:176::setTerminateAndWait:DiscoveredQueue\r\nSegmentation fault\r\n```\r\n\r\nIt never segfaults when using the friendly name:\r\n\r\n```\r\n# scctl -x HBM10-0478\r\n:2:src/netcon-fixed.cpp:707::NetconCli: connect() errno 111 (Connection refused)\r\n:4:scctl_src/scctl.cpp:314::openconn(/tmp/scctl0/sock) failed (ok: server not running)\r\n:4:libupnpp/upnpplib.cxx:156::LibUPnP: Using IP 192.168.1.141 port 49155\r\n:2:libupnpp/control/linnsongcast.cxx:487::Songcast: resetting HBM10-0478\r\n:4:libupnpp/control/linnsongcast.cxx:383::stopReceiver: st.nm HBM10-0478 st.UDN uuid:859f8ae8-331a-dc5a-700f-0023b1e3c315\r\n:2:libupnpp/control/linnsongcast.cxx:502::HBM10-0478 back from receiver mode \r\n:4:./libupnpp/workqueue.h:176::setTerminateAndWait:DiscoveredQueue\r\n:4:./libupnpp/workqueue.h:312::WorkQueue:ok:DiscoveredQueue: not ok m_ok 0 m_workers_exited 0 m_worker_threads size 1\r\n:4:./libupnpp/workqueue.h:293::workerExit:DiscoveredQueue\r\n:3:./libupnpp/workqueue.h:192::DiscoveredQueue: tasks 53 nowakes 68 wsleeps 36 csleeps 0\r\n:4:./libupnpp/workqueue.h:216::setTerminateAndWait:DiscoveredQueue done\r\n```"},"comment":{"url":"https://api.github.com/repos/medoc92/upmpdcli/issues/comments/306702312","html_url":"https://github.com/medoc92/upmpdcli/issues/101#issuecomment-306702312","issue_url":"https://api.github.com/repos/medoc92/upmpdcli/issues/101","id":306702312,"user":{"login":"medoc92","id":4502171,"avatar_url":"https://avatars3.githubusercontent.com/u/4502171?v=3","gravatar_id":"","url":"https://api.github.com/users/medoc92","html_url":"https://github.com/medoc92","followers_url":"https://api.github.com/users/medoc92/followers","following_url":"https://api.github.com/users/medoc92/following{/other_user}","gists_url":"https://api.github.com/users/medoc92/gists{/gist_id}","starred_url":"https://api.github.com/users/medoc92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/medoc92/subscriptions","organizations_url":"https://api.github.com/users/medoc92/orgs","repos_url":"https://api.github.com/users/medoc92/repos","events_url":"https://api.github.com/users/medoc92/events{/privacy}","received_events_url":"https://api.github.com/users/medoc92/received_events","type":"User","site_admin":false},"created_at":"2017-06-07T06:44:23Z","updated_at":"2017-06-07T06:44:23Z","body":"ping ?"}}
{"actor":{"display_login":"medoc92"}}