{"action":"created","issue":{"url":"https://api.github.com/repos/PistonDevelopers/image/issues/392","labels_url":"https://api.github.com/repos/PistonDevelopers/image/issues/392/labels{/name}","comments_url":"https://api.github.com/repos/PistonDevelopers/image/issues/392/comments","events_url":"https://api.github.com/repos/PistonDevelopers/image/issues/392/events","html_url":"https://github.com/PistonDevelopers/image/issues/392","id":70140486,"number":392,"title":"panicked at 'shift operation overflowed', entropy.rs:151","user":{"login":"jarrett","id":16208,"avatar_url":"https://avatars.githubusercontent.com/u/16208?v=3","gravatar_id":"","url":"https://api.github.com/users/jarrett","html_url":"https://github.com/jarrett","followers_url":"https://api.github.com/users/jarrett/followers","following_url":"https://api.github.com/users/jarrett/following{/other_user}","gists_url":"https://api.github.com/users/jarrett/gists{/gist_id}","starred_url":"https://api.github.com/users/jarrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarrett/subscriptions","organizations_url":"https://api.github.com/users/jarrett/orgs","repos_url":"https://api.github.com/users/jarrett/repos","events_url":"https://api.github.com/users/jarrett/events{/privacy}","received_events_url":"https://api.github.com/users/jarrett/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-22T14:22:09Z","updated_at":"2015-04-22T14:23:26Z","closed_at":"2015-04-22T14:23:26Z","body":"I updated to the latest `image`, and now I get this error reading a JPEG:\r\n\r\n    thread '<main>' panicked at 'shift operation overflowed', ~/.cargo/git/checkouts/image-f4d4ca6613133df7/master/./src/jpeg/entropy.rs:151\r\n\r\nHere's the relevant part of the backtrace:\r\n\r\n     1:        0x10b0a87ff - sys::backtrace::write::h652639cd75f0c63cnSs\r\n     2:        0x10b0abb64 - panicking::on_panic::h669c4ea43c1379a9CPw\r\n     3:        0x10b09f015 - rt::unwind::begin_unwind_inner::h3fc7f8f4791b4491lxw\r\n     4:        0x10b09f34c - rt::unwind::begin_unwind_fmt::hb5d695a390fe80eerww\r\n     5:        0x10b0ab43c - rust_begin_unwind\r\n     6:        0x10b0cae55 - panicking::panic_fmt::haa5585921651bddddTC\r\n     7:        0x10b0ca924 - panicking::panic::h7a00000ab5676d24KRC\r\n     8:        0x10b08113a - jpeg::entropy::derive_codes_and_sizes::h7b6c2dba9187b85dZRk\r\n     9:        0x10b0814d6 - jpeg::entropy::derive_tables::h7feb2a86643141c08Vk\r\n    10:        0x10aee73c0 - jpeg::decoder::JPEGDecoder<R>::read_huffman_tables::h7832727739452819256\r\n    11:        0x10aee5b5a - jpeg::decoder::JPEGDecoder<R>::read_metadata::h15411015948459407703\r\n    12:        0x10aee54dd - jpeg::decoder::JPEGDecoder<R>.ImageDecoder::colortype::h2756695996689006199\r\n    13:        0x10aee437b - dynimage::decoder_to_image::h6238989135411857914\r\n    14:        0x10aeb460b - dynimage::load::h6859065701976087660\r\n    15:        0x10aeb2b6e - dynimage::open::h3782749000994800688"},"comment":{"url":"https://api.github.com/repos/PistonDevelopers/image/issues/comments/95203116","html_url":"https://github.com/PistonDevelopers/image/issues/392#issuecomment-95203116","issue_url":"https://api.github.com/repos/PistonDevelopers/image/issues/392","id":95203116,"user":{"login":"nwin","id":949560,"avatar_url":"https://avatars.githubusercontent.com/u/949560?v=3","gravatar_id":"","url":"https://api.github.com/users/nwin","html_url":"https://github.com/nwin","followers_url":"https://api.github.com/users/nwin/followers","following_url":"https://api.github.com/users/nwin/following{/other_user}","gists_url":"https://api.github.com/users/nwin/gists{/gist_id}","starred_url":"https://api.github.com/users/nwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwin/subscriptions","organizations_url":"https://api.github.com/users/nwin/orgs","repos_url":"https://api.github.com/users/nwin/repos","events_url":"https://api.github.com/users/nwin/events{/privacy}","received_events_url":"https://api.github.com/users/nwin/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T14:23:26Z","updated_at":"2015-04-22T14:23:26Z","body":"closing as duplicate of #325"}}