{"action":"created","issue":{"url":"https://api.github.com/repos/networkupstools/nut/issues/252","labels_url":"https://api.github.com/repos/networkupstools/nut/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/networkupstools/nut/issues/252/comments","events_url":"https://api.github.com/repos/networkupstools/nut/issues/252/events","html_url":"https://github.com/networkupstools/nut/issues/252","id":124408982,"number":252,"title":"Segfault on Ubuntu 14.04 with usbhid-ups on APC Backup-UPS 550G","user":{"login":"tas50","id":1015200,"avatar_url":"https://avatars.githubusercontent.com/u/1015200?v=3","gravatar_id":"","url":"https://api.github.com/users/tas50","html_url":"https://github.com/tas50","followers_url":"https://api.github.com/users/tas50/followers","following_url":"https://api.github.com/users/tas50/following{/other_user}","gists_url":"https://api.github.com/users/tas50/gists{/gist_id}","starred_url":"https://api.github.com/users/tas50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tas50/subscriptions","organizations_url":"https://api.github.com/users/tas50/orgs","repos_url":"https://api.github.com/users/tas50/repos","events_url":"https://api.github.com/users/tas50/events{/privacy}","received_events_url":"https://api.github.com/users/tas50/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/networkupstools/nut/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-30T22:37:00Z","updated_at":"2016-01-25T14:00:01Z","closed_at":"2015-12-30T23:40:52Z","body":"It's quite possible I'm doing something horribly wrong here, but here goes nothing.  I have Ubuntu 14.04 with the backported 4.2 kernel and the nut PPA to get nut \"2.7.2.9~really2.7.3-2\".  I have an APC Back-UPS ES 550G with USB.  I've copied in the UDEV script 62-nut-usbups.rules.  I have the following /etc/nut/ups.conf:\r\n\r\n[apc]\r\n\tdriver = usbhid-ups\r\n\tport = auto\r\n\tdesc = APC Back-UPS BE550G\r\n\r\n\r\nwhen I try to start nut I get a failure though:\r\n\r\nupsdrvctl start apc -h\r\nNetwork UPS Tools - UPS driver controller 2.7.3\r\nNetwork UPS Tools - Generic HID driver 0.39 (2.7.3)\r\nUSB communication driver 0.32\r\nkill: No such process\r\nDriver exited abnormally\r\n\r\nSyslog shows a segfault:\r\nDec 30 14:35:15 smith-0 kernel: [51973.368161] usbhid-ups[9719]: segfault at 0 ip 00007f936a18cff4 sp 00007ffe6ca287d8 error 4 in libc-2.19.so[7f936a04b000+1bb000] \r\n\r\nAny ideas?  Is there more information I can gather?"},"comment":{"url":"https://api.github.com/repos/networkupstools/nut/issues/comments/174516596","html_url":"https://github.com/networkupstools/nut/issues/252#issuecomment-174516596","issue_url":"https://api.github.com/repos/networkupstools/nut/issues/252","id":174516596,"user":{"login":"clepple","id":193087,"avatar_url":"https://avatars.githubusercontent.com/u/193087?v=3","gravatar_id":"","url":"https://api.github.com/users/clepple","html_url":"https://github.com/clepple","followers_url":"https://api.github.com/users/clepple/followers","following_url":"https://api.github.com/users/clepple/following{/other_user}","gists_url":"https://api.github.com/users/clepple/gists{/gist_id}","starred_url":"https://api.github.com/users/clepple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clepple/subscriptions","organizations_url":"https://api.github.com/users/clepple/orgs","repos_url":"https://api.github.com/users/clepple/repos","events_url":"https://api.github.com/users/clepple/events{/privacy}","received_events_url":"https://api.github.com/users/clepple/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T14:00:01Z","updated_at":"2016-01-25T14:00:01Z","body":"For future reference, this also seems to be the same point in the code as #258:\r\n```\r\n$ addr2line -f -e /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.19.so $(printf \"0x%x\" $((0x00007f936a18cff4 - 0x7f936a04b000)))\r\n__strncmp_ssse3\r\n/build/buildd/eglibc-2.19/string/../sysdeps/x86_64/multiarch/../strcmp.S:1233\r\n```\r\n\r\nSame issue in an upstream bug: https://bugs.launchpad.net/ubuntu/+source/nut/+bug/1483615"}}