{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/564","repository_url":"https://api.github.com/repos/Homebrew/homebrew-core","labels_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/564/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/564/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/564/events","html_url":"https://github.com/Homebrew/homebrew-core/pull/564","id":150607726,"number":564,"title":"mozjpeg: Add important crash and fdct fixes from jpeg-turbo","user":{"login":"felixbuenemann","id":909587,"avatar_url":"https://avatars.githubusercontent.com/u/909587?v=3","gravatar_id":"","url":"https://api.github.com/users/felixbuenemann","html_url":"https://github.com/felixbuenemann","followers_url":"https://api.github.com/users/felixbuenemann/followers","following_url":"https://api.github.com/users/felixbuenemann/following{/other_user}","gists_url":"https://api.github.com/users/felixbuenemann/gists{/gist_id}","starred_url":"https://api.github.com/users/felixbuenemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixbuenemann/subscriptions","organizations_url":"https://api.github.com/users/felixbuenemann/orgs","repos_url":"https://api.github.com/users/felixbuenemann/repos","events_url":"https://api.github.com/users/felixbuenemann/events{/privacy}","received_events_url":"https://api.github.com/users/felixbuenemann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-23T23:41:14Z","updated_at":"2016-04-23T23:46:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/564","html_url":"https://github.com/Homebrew/homebrew-core/pull/564","diff_url":"https://github.com/Homebrew/homebrew-core/pull/564.diff","patch_url":"https://github.com/Homebrew/homebrew-core/pull/564.patch"},"body":"This adds 64-bit assembly fixes for mozilla/mozjpeg/issues/202 which are required to avoid segfaults with current clang and a fix for corruption with the IFAST DCT at quality 100 from mozilla/mozjpeg/pull/186.\r\n\r\nBoth fixes have been in libjpeg-turbo – which mozjpeg is based on – for a long time and have been approved by mozjpeg's pornel for inclusion in a future mozjpeg release.\r\n\r\nSee the linked issue / pull request for more info.\r\n\r\nThe revision bump is because this fixes crashes for existing installs.\r\n\r\nAlso updated formula order to comply with strict audit, which makes the diff a bit hard to read."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/comments/213853703","html_url":"https://github.com/Homebrew/homebrew-core/pull/564#issuecomment-213853703","issue_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/564","id":213853703,"user":{"login":"felixbuenemann","id":909587,"avatar_url":"https://avatars.githubusercontent.com/u/909587?v=3","gravatar_id":"","url":"https://api.github.com/users/felixbuenemann","html_url":"https://github.com/felixbuenemann","followers_url":"https://api.github.com/users/felixbuenemann/followers","following_url":"https://api.github.com/users/felixbuenemann/following{/other_user}","gists_url":"https://api.github.com/users/felixbuenemann/gists{/gist_id}","starred_url":"https://api.github.com/users/felixbuenemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixbuenemann/subscriptions","organizations_url":"https://api.github.com/users/felixbuenemann/orgs","repos_url":"https://api.github.com/users/felixbuenemann/repos","events_url":"https://api.github.com/users/felixbuenemann/events{/privacy}","received_events_url":"https://api.github.com/users/felixbuenemann/received_events","type":"User","site_admin":false},"created_at":"2016-04-23T23:46:02Z","updated_at":"2016-04-23T23:46:02Z","body":"This is the relevant part from the crash the ASM patch fixes:\r\n\r\n```\r\nThread 5 Crashed:: worker\r\n0   libjpeg.8.dylib               \t0x000000011097aca6 jsimd_ycc_rgb_convert_sse2.rowloop + 6\r\n1   ???                           \t0x00007fc8040635a8 0 + 140497037702568\r\n2   libjpeg.8.dylib               \t0x000000011096b048 sep_upsample + 261\r\n3   libjpeg.8.dylib               \t0x0000000110963967 process_data_context_main + 533\r\n4   libjpeg.8.dylib               \t0x000000011095d570 jpeg_read_scanlines + 115\r\n5   libvips.42.dylib              \t0x0000000110523042 read_jpeg_generate + 244\r\n```\r\nIt happened while using vips 8.3.0 from homebrew-science when compiled `--with-mozjpeg` 3.1."}}