{"action":"created","issue":{"url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/766","labels_url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/766/labels{/name}","comments_url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/766/comments","events_url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/766/events","html_url":"https://github.com/pgmodeler/pgmodeler/issues/766","id":111242105,"number":766,"title":"Freeze/hard shutdown filled file with null characters [NUL]","user":{"login":"donnorman","id":4530709,"avatar_url":"https://avatars.githubusercontent.com/u/4530709?v=3","gravatar_id":"","url":"https://api.github.com/users/donnorman","html_url":"https://github.com/donnorman","followers_url":"https://api.github.com/users/donnorman/followers","following_url":"https://api.github.com/users/donnorman/following{/other_user}","gists_url":"https://api.github.com/users/donnorman/gists{/gist_id}","starred_url":"https://api.github.com/users/donnorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donnorman/subscriptions","organizations_url":"https://api.github.com/users/donnorman/orgs","repos_url":"https://api.github.com/users/donnorman/repos","events_url":"https://api.github.com/users/donnorman/events{/privacy}","received_events_url":"https://api.github.com/users/donnorman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-13T18:38:42Z","updated_at":"2015-10-13T19:07:04Z","closed_at":null,"body":"Hello,\r\n\r\nI had a model open in version 0.7.2 build 20140628 when my computer decided to freeze and I had to perform a hard shutdown in order to resolve it.\r\n\r\nAfter restarting the system, the program wouldn't open the model- stating that it was corrupted and to use the fix model feature.  I tried to use the fix model button, but then it said that the file was not recognized.  So I opened the file up in a normal text editor and it was filled with [NUL][NUL][NUL][NUL], etc for the entire 211KB contents of the file.\r\n\r\nLuckily I had a relatively fresh backup and I didn't lose anything that wasn't quickly replaced.\r\n\r\nI just figured that I would report what happened in case you would like to dig deeper.  I did have the file saved before the freeze/hard shutdown.\r\n\r\nThanks!\r\n\r\n-Don"},"comment":{"url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/comments/147816176","html_url":"https://github.com/pgmodeler/pgmodeler/issues/766#issuecomment-147816176","issue_url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/766","id":147816176,"user":{"login":"donnorman","id":4530709,"avatar_url":"https://avatars.githubusercontent.com/u/4530709?v=3","gravatar_id":"","url":"https://api.github.com/users/donnorman","html_url":"https://github.com/donnorman","followers_url":"https://api.github.com/users/donnorman/followers","following_url":"https://api.github.com/users/donnorman/following{/other_user}","gists_url":"https://api.github.com/users/donnorman/gists{/gist_id}","starred_url":"https://api.github.com/users/donnorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donnorman/subscriptions","organizations_url":"https://api.github.com/users/donnorman/orgs","repos_url":"https://api.github.com/users/donnorman/repos","events_url":"https://api.github.com/users/donnorman/events{/privacy}","received_events_url":"https://api.github.com/users/donnorman/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T19:07:04Z","updated_at":"2015-10-13T19:07:04Z","body":"Oh I only just wrote it as [NUL], that's how it appeared in my text editor.  They're actual NULL characters, or 00s if looking in a hex editor.\r\n\r\n![nulls](https://cloud.githubusercontent.com/assets/4530709/10465230/b9aac512-71bb-11e5-9cbb-c84d1f6c67eb.PNG)\r\n\r\n![null hex](https://cloud.githubusercontent.com/assets/4530709/10465266/f343fbcc-71bb-11e5-98ca-932ff8baf21a.PNG)\r\n\r\nYeah, totally bizarre that happened, and very happy I had a backup, haha."}}