{"action":"closed","issue":{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/525","labels_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/525/labels{/name}","comments_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/525/comments","events_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/525/events","html_url":"https://github.com/Hammerspoon/hammerspoon/issues/525","id":103572201,"number":525,"title":"LuaSkin registerLibraryWithObject: crash","user":{"login":"asmagill","id":8139480,"avatar_url":"https://avatars.githubusercontent.com/u/8139480?v=3","gravatar_id":"","url":"https://api.github.com/users/asmagill","html_url":"https://github.com/asmagill","followers_url":"https://api.github.com/users/asmagill/followers","following_url":"https://api.github.com/users/asmagill/following{/other_user}","gists_url":"https://api.github.com/users/asmagill/gists{/gist_id}","starred_url":"https://api.github.com/users/asmagill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmagill/subscriptions","organizations_url":"https://api.github.com/users/asmagill/orgs","repos_url":"https://api.github.com/users/asmagill/repos","events_url":"https://api.github.com/users/asmagill/events{/privacy}","received_events_url":"https://api.github.com/users/asmagill/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-27T18:54:39Z","updated_at":"2015-08-28T05:18:07Z","closed_at":"2015-08-28T05:18:07Z","body":"LuaSkin registerLibraryWithObject:... will crash if  objectFunctions: is nil.\r\n\r\nShould probably ignore the Userdata tag and just fall back to registerWithLibrary instead, but at least raise a specific exception rather than crash with:\r\n\r\nException Type:        EXC_BAD_ACCESS (SIGSEGV)\r\nException Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000\r\nException Note:        EXC_CORPSE_NOTIFY\r\n"}}