{"action":"opened","issue":{"url":"https://api.github.com/repos/greiman/SdFat/issues/119","repository_url":"https://api.github.com/repos/greiman/SdFat","labels_url":"https://api.github.com/repos/greiman/SdFat/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/greiman/SdFat/issues/119/comments","events_url":"https://api.github.com/repos/greiman/SdFat/issues/119/events","html_url":"https://github.com/greiman/SdFat/issues/119","id":391483536,"node_id":"MDU6SXNzdWUzOTE0ODM1MzY=","number":119,"title":"Endless loop in FatVolume::allocContiguous","user":{"login":"mjeanrichard","id":778448,"node_id":"MDQ6VXNlcjc3ODQ0OA==","avatar_url":"https://avatars2.githubusercontent.com/u/778448?v=4","gravatar_id":"","url":"https://api.github.com/users/mjeanrichard","html_url":"https://github.com/mjeanrichard","followers_url":"https://api.github.com/users/mjeanrichard/followers","following_url":"https://api.github.com/users/mjeanrichard/following{/other_user}","gists_url":"https://api.github.com/users/mjeanrichard/gists{/gist_id}","starred_url":"https://api.github.com/users/mjeanrichard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjeanrichard/subscriptions","organizations_url":"https://api.github.com/users/mjeanrichard/orgs","repos_url":"https://api.github.com/users/mjeanrichard/repos","events_url":"https://api.github.com/users/mjeanrichard/events{/privacy}","received_events_url":"https://api.github.com/users/mjeanrichard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-16T16:36:00Z","updated_at":"2018-12-16T16:36:00Z","closed_at":null,"author_association":"NONE","body":"HI,\r\n\r\nI (sometimes?) get an endless loop in when trying to ``createContiguous()``. \r\nThe loop is in ``FatVolume::allocContiguous()``. The variable ``startCluster`` has a value of 1. Therefore the abort condition on line 157 (``if (startCluster == endCluster)``) is never true since ``endCluster`` is initialized to 2.\r\n\r\nAm I missing something here? I assume that there is not enough space on the Card but this should not reult in an endless loop.\r\n\r\nThanks for oyur help!"}}
{"actor":{"display_login":"mjeanrichard"}}