{"action":"created","issue":{"url":"https://api.github.com/repos/twain/twain-cs/issues/18","repository_url":"https://api.github.com/repos/twain/twain-cs","labels_url":"https://api.github.com/repos/twain/twain-cs/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/twain/twain-cs/issues/18/comments","events_url":"https://api.github.com/repos/twain/twain-cs/issues/18/events","html_url":"https://github.com/twain/twain-cs/issues/18","id":219548552,"number":18,"title":"Low level memory corruption with some scanners [sf#14]","user":{"login":"kolomiets","id":270567,"avatar_url":"https://avatars2.githubusercontent.com/u/270567?v=3","gravatar_id":"","url":"https://api.github.com/users/kolomiets","html_url":"https://github.com/kolomiets","followers_url":"https://api.github.com/users/kolomiets/followers","following_url":"https://api.github.com/users/kolomiets/following{/other_user}","gists_url":"https://api.github.com/users/kolomiets/gists{/gist_id}","starred_url":"https://api.github.com/users/kolomiets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolomiets/subscriptions","organizations_url":"https://api.github.com/users/kolomiets/orgs","repos_url":"https://api.github.com/users/kolomiets/repos","events_url":"https://api.github.com/users/kolomiets/events{/privacy}","received_events_url":"https://api.github.com/users/kolomiets/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/twain/twain-cs/milestones/1","html_url":"https://github.com/twain/twain-cs/milestone/1","labels_url":"https://api.github.com/repos/twain/twain-cs/milestones/1/labels","id":2436412,"number":1,"title":"1.0","description":null,"creator":{"login":"kolomiets","id":270567,"avatar_url":"https://avatars2.githubusercontent.com/u/270567?v=3","gravatar_id":"","url":"https://api.github.com/users/kolomiets","html_url":"https://github.com/kolomiets","followers_url":"https://api.github.com/users/kolomiets/followers","following_url":"https://api.github.com/users/kolomiets/following{/other_user}","gists_url":"https://api.github.com/users/kolomiets/gists{/gist_id}","starred_url":"https://api.github.com/users/kolomiets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolomiets/subscriptions","organizations_url":"https://api.github.com/users/kolomiets/orgs","repos_url":"https://api.github.com/users/kolomiets/repos","events_url":"https://api.github.com/users/kolomiets/events{/privacy}","received_events_url":"https://api.github.com/users/kolomiets/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2017-04-05T11:05:00Z","updated_at":"2017-04-05T11:15:44Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2017-04-05T11:14:24Z","updated_at":"2017-04-05T11:15:59Z","closed_at":null,"body":"**Reported by neticous on 2015-10-13 20:12 UTC**\nI have the latest code and built it.\r\nI changed the ICAP_XFERMECH to native 0.\r\n\r\nThere is a memory corruption with some scanners.\r\nWhen I run the software it works fine until you close and then open the same or other.\r\nI am using the Fujitsu fi-7160 and the the Xerox Documate 3220 both exhibit this problem .\r\nTo reproduce to problem:\r\nRun TWAIN for C-Sharp preferably from within devstudio 2010-15\r\n1.\tOpen the fi-7160\r\n2.\tScan a few times\r\n3.\tClose the fi-7160\r\n4.\tOpen the fi-7160\r\n5.\tScan a few times\r\nThe following will expose the memory corruption.\r\nRun the snipping tool that comes with windows 7.\r\nSelect an area of the screen to snip, it does not matter what.\r\nIf you are in the debugger of VS you will get an Access violation exception in the Main program.cs.\r\nYou can also run this in WinDbg using the same steps.\r\nThis does not happen with all scanners.\r\nIt seems as though the scanner is not really being closed or cleaned up correctly for all scanners.\r\nI also have a Fujitsu fi-6230 and it works fine, no memory issues.\r\nAnybody have an idea why this is happening?\r\nIs there something missing in the TWAIN for C-Sharp implementation that would take care of this issue?\r\n\r\nThanks\r\n\r\nneticous\r\n"},"comment":{"url":"https://api.github.com/repos/twain/twain-cs/issues/comments/291830035","html_url":"https://github.com/twain/twain-cs/issues/18#issuecomment-291830035","issue_url":"https://api.github.com/repos/twain/twain-cs/issues/18","id":291830035,"user":{"login":"kolomiets","id":270567,"avatar_url":"https://avatars2.githubusercontent.com/u/270567?v=3","gravatar_id":"","url":"https://api.github.com/users/kolomiets","html_url":"https://github.com/kolomiets","followers_url":"https://api.github.com/users/kolomiets/followers","following_url":"https://api.github.com/users/kolomiets/following{/other_user}","gists_url":"https://api.github.com/users/kolomiets/gists{/gist_id}","starred_url":"https://api.github.com/users/kolomiets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolomiets/subscriptions","organizations_url":"https://api.github.com/users/kolomiets/orgs","repos_url":"https://api.github.com/users/kolomiets/repos","events_url":"https://api.github.com/users/kolomiets/events{/privacy}","received_events_url":"https://api.github.com/users/kolomiets/received_events","type":"User","site_admin":false},"created_at":"2017-04-05T11:15:59Z","updated_at":"2017-04-05T11:15:59Z","body":"**Commented by mlmcl on 2015-10-18 09:28 UTC**\nThe new code is up, please let me know if it makes a difference...."}}
{"actor":{"display_login":"kolomiets"}}