{"action":"created","issue":{"url":"https://api.github.com/repos/YorickPeterse/ffi-aspell/issues/25","repository_url":"https://api.github.com/repos/YorickPeterse/ffi-aspell","labels_url":"https://api.github.com/repos/YorickPeterse/ffi-aspell/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/YorickPeterse/ffi-aspell/issues/25/comments","events_url":"https://api.github.com/repos/YorickPeterse/ffi-aspell/issues/25/events","html_url":"https://github.com/YorickPeterse/ffi-aspell/issues/25","id":160997569,"number":25,"title":"Segfault when calling Speller#correct?","user":{"login":"djudd","id":409126,"avatar_url":"https://avatars.githubusercontent.com/u/409126?v=3","gravatar_id":"","url":"https://api.github.com/users/djudd","html_url":"https://github.com/djudd","followers_url":"https://api.github.com/users/djudd/followers","following_url":"https://api.github.com/users/djudd/following{/other_user}","gists_url":"https://api.github.com/users/djudd/gists{/gist_id}","starred_url":"https://api.github.com/users/djudd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djudd/subscriptions","organizations_url":"https://api.github.com/users/djudd/orgs","repos_url":"https://api.github.com/users/djudd/repos","events_url":"https://api.github.com/users/djudd/events{/privacy}","received_events_url":"https://api.github.com/users/djudd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-18T00:32:39Z","updated_at":"2016-06-18T16:33:53Z","closed_at":null,"body":"```\r\n/mnt/istore/apps/academia.edu/shared/bundle/ruby/2.2.0/gems/ffi-aspell-1.1.0/lib/ffi/aspell/speller.rb:219: [BUG] Segmentation fault at 0x00000200000074\r\nruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]\r\n\r\n-- Control frame information -----------------------------------------------\r\nc:0037 p:---- s:0157 e:000156 CFUNC  :speller_check\r\nc:0036 p:0072 s:0151 e:000150 METHOD /mnt/istore/apps/academia.edu/shared/bundle/ruby/2.2.0/gems/ffi-aspell-1.1.0/lib/ffi/aspell/speller.rb:219\r\n```\r\n\r\nRuby 2.2.3, ffi-aspell 1.1.0, Ubuntu 14.04\r\n\r\n```\r\ndjudd@k-sidekiq-a-20160616-fructose:~$ aspell --version\r\n@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.7-20110707)\r\n```"},"comment":{"url":"https://api.github.com/repos/YorickPeterse/ffi-aspell/issues/comments/226951708","html_url":"https://github.com/YorickPeterse/ffi-aspell/issues/25#issuecomment-226951708","issue_url":"https://api.github.com/repos/YorickPeterse/ffi-aspell/issues/25","id":226951708,"user":{"login":"djudd","id":409126,"avatar_url":"https://avatars.githubusercontent.com/u/409126?v=3","gravatar_id":"","url":"https://api.github.com/users/djudd","html_url":"https://github.com/djudd","followers_url":"https://api.github.com/users/djudd/followers","following_url":"https://api.github.com/users/djudd/following{/other_user}","gists_url":"https://api.github.com/users/djudd/gists{/gist_id}","starred_url":"https://api.github.com/users/djudd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djudd/subscriptions","organizations_url":"https://api.github.com/users/djudd/orgs","repos_url":"https://api.github.com/users/djudd/repos","events_url":"https://api.github.com/users/djudd/events{/privacy}","received_events_url":"https://api.github.com/users/djudd/received_events","type":"User","site_admin":false},"created_at":"2016-06-18T16:33:52Z","updated_at":"2016-06-18T16:33:52Z","body":"This is enough to reproduce the segfault in the setting I described, both on the production machine where I found the problem originally and on my development VM:\r\n\r\n```\r\nruby -e \"require 'ffi/aspell'; s = FFI::Aspell::Speller.new('hi'); s.correct?('foo')\"\r\n```\r\n\r\nThe dictionary is installed:\r\n\r\n```\r\n$ aspell dicts | grep hi\r\nhi\r\n```"}}
{"actor":{"display_login":"djudd"}}