{"comment":{"created_at":"2011-10-19T16:14:32Z","body":"It's definitely a SWIG bug, patch submitted here:\r\n\r\nhttp://sourceforge.net/tracker/?func=detail&aid=3421876&group_id=1645&atid=301645\r\n\r\nSo far, no response..","updated_at":"2011-10-19T16:14:32Z","url":"https://api.github.com/repos/robinst/taglib-ruby/issues/comments/2457840","id":2457840,"user":{"avatar_url":"https://secure.gravatar.com/avatar/cd49db0b676767ea4358b1047c4cddd2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"cd49db0b676767ea4358b1047c4cddd2","url":"https://api.github.com/users/robinst","id":16778,"login":"robinst"}},"action":"created","issue":{"number":1,"created_at":"2011-10-02T15:07:36Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"`tag` should return a `TagLib::Tag`. The problem with this is:\r\n\r\n```ruby\r\nfile = TagLib::MPEG::File.new(\"file.mp3\")\r\ntag = file.tag\r\ntag.frame_list\r\n```\r\n\r\n`frame_list` doesn't exist on `TagLib::Tag`, but can be called because the result type of `tag` is `TagLib::ID3v2::Tag`. Then the call is dispatched to C++ land, which will result in a segfault.\r\n\r\nIt looks like a bug in SWIG, reported here: http://sourceforge.net/tracker/?func=detail&aid=3416818&group_id=1645&atid=101645","comments":1,"title":"TagLib::MPEG::File#tag and #id3v2_tag both return TagLib::ID3v2::Tag","updated_at":"2011-10-19T16:14:32Z","url":"https://api.github.com/repos/robinst/taglib-ruby/issues/1","id":1796041,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/cd49db0b676767ea4358b1047c4cddd2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"cd49db0b676767ea4358b1047c4cddd2","url":"https://api.github.com/users/robinst","id":16778,"login":"robinst"},"html_url":"https://github.com/robinst/taglib-ruby/issues/1","labels":[],"state":"open"},"legacy":{"issue_id":1796041,"comment_id":2457840}}