{"action":"created","issue":{"url":"https://api.github.com/repos/TigerVNC/tigervnc/issues/218","labels_url":"https://api.github.com/repos/TigerVNC/tigervnc/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/TigerVNC/tigervnc/issues/218/comments","events_url":"https://api.github.com/repos/TigerVNC/tigervnc/issues/218/events","html_url":"https://github.com/TigerVNC/tigervnc/issues/218","id":111288795,"number":218,"title":"TigerVNC server creating corrupt jpeg encode","user":{"login":"brettwilliams","id":752638,"avatar_url":"https://avatars.githubusercontent.com/u/752638?v=3","gravatar_id":"","url":"https://api.github.com/users/brettwilliams","html_url":"https://github.com/brettwilliams","followers_url":"https://api.github.com/users/brettwilliams/followers","following_url":"https://api.github.com/users/brettwilliams/following{/other_user}","gists_url":"https://api.github.com/users/brettwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/brettwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettwilliams/subscriptions","organizations_url":"https://api.github.com/users/brettwilliams/orgs","repos_url":"https://api.github.com/users/brettwilliams/repos","events_url":"https://api.github.com/users/brettwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/brettwilliams/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-13T22:57:45Z","updated_at":"2015-10-14T15:53:39Z","closed_at":null,"body":"I am currently getting corrupt jpegs when using the TigerVNC server.  Problem found when using the TurboVNC viewer.\r\n\r\nClient:\r\nMac OS/X 10.9.5\r\nTurboVNC Viewer 2.0 (20150714) (Java Hotspot 1.6.0_65 x86_64)\r\n\r\nServer:\r\nCentOS 6.5\r\ntigerVNC 1.5.0-21\r\nlibjpeg-turbo-official-1.4.2-20150921\r\n\r\nThis happens when I use a particular piece of commercial software.  TurboVNC errors out.  Other clients I have tried do not have an error with this application, but I was not using jpeg encoding with them.\r\n\r\nIn working with the TurboVNC developers, I've managed to capture an example of this corrupted jpeg.  The file is corrupt and can't be decoded using libjpeg standalone.  This seems to indicate a server side issue, or a bug in the encoder itself.\r\n\r\nerror0.jpg\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27390143-tigervnc-server-creating-corrupt-jpeg-encode?utm_campaign=plugin&utm_content=tracker%2F3557444&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F3557444&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/TigerVNC/tigervnc/issues/comments/148095919","html_url":"https://github.com/TigerVNC/tigervnc/issues/218#issuecomment-148095919","issue_url":"https://api.github.com/repos/TigerVNC/tigervnc/issues/218","id":148095919,"user":{"login":"CendioOssman","id":6640916,"avatar_url":"https://avatars.githubusercontent.com/u/6640916?v=3","gravatar_id":"","url":"https://api.github.com/users/CendioOssman","html_url":"https://github.com/CendioOssman","followers_url":"https://api.github.com/users/CendioOssman/followers","following_url":"https://api.github.com/users/CendioOssman/following{/other_user}","gists_url":"https://api.github.com/users/CendioOssman/gists{/gist_id}","starred_url":"https://api.github.com/users/CendioOssman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CendioOssman/subscriptions","organizations_url":"https://api.github.com/users/CendioOssman/orgs","repos_url":"https://api.github.com/users/CendioOssman/repos","events_url":"https://api.github.com/users/CendioOssman/events{/privacy}","received_events_url":"https://api.github.com/users/CendioOssman/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T15:53:39Z","updated_at":"2015-10-14T15:53:39Z","body":"So do this: Get the client to a point where it crashes. Save the error jpeg file. Disable JPEG in the client and connect again. Take a screenshot. Attach both images here."}}