{"action":"opened","issue":{"url":"https://api.github.com/repos/markmal/freeship-plus-in-lazarus/issues/8","labels_url":"https://api.github.com/repos/markmal/freeship-plus-in-lazarus/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/markmal/freeship-plus-in-lazarus/issues/8/comments","events_url":"https://api.github.com/repos/markmal/freeship-plus-in-lazarus/issues/8/events","html_url":"https://github.com/markmal/freeship-plus-in-lazarus/issues/8","id":107739041,"number":8,"title":"100% CPU ","user":{"login":"cipman","id":2690192,"avatar_url":"https://avatars.githubusercontent.com/u/2690192?v=3","gravatar_id":"","url":"https://api.github.com/users/cipman","html_url":"https://github.com/cipman","followers_url":"https://api.github.com/users/cipman/followers","following_url":"https://api.github.com/users/cipman/following{/other_user}","gists_url":"https://api.github.com/users/cipman/gists{/gist_id}","starred_url":"https://api.github.com/users/cipman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cipman/subscriptions","organizations_url":"https://api.github.com/users/cipman/orgs","repos_url":"https://api.github.com/users/cipman/repos","events_url":"https://api.github.com/users/cipman/events{/privacy}","received_events_url":"https://api.github.com/users/cipman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-22T15:27:22Z","updated_at":"2015-09-22T15:27:22Z","closed_at":null,"body":"I deleted all FreeShip ini/config files from old version (not required though - I just simulated a fresh install).\r\nI installed https://github.com/markmal/freeship-plus-in-lazarus/releases/download/3.5.3.21/FreeShip-3.5.3.21_x86-64_linux_qt.zip system wide on ubuntu 14.04 /64.\r\nAs long as there's no file opened (even new) FreeShip seems to work fine. If you open a file (or use a new one with defaults), FreeShip v3.5.3.21 uses 100% CPU.\r\n\r\nHow to reproduce:\r\n- start FreeShip (from terminal or Unity etc - doesn't matter)\r\n- if there was no filed previously saved (or no ini file) the FreeShip screen will be blank (no viewports) - all is good till now, FreeShip doesn't use CPU on idle (check with System Monitor or alike)\r\n- File > New > Ok (make a new file/project and accept the defaults)\r\n- FreeShip uses 100% CPU - thats's not good.\r\n\r\nThe output when starting FreeShip from terminal (with my comments preceded by ***):\r\n\r\n*** Program start \r\nCompiled at 2015/09/21 23:05:42\r\nCompiler version: 2.6.4\r\nTarget CPU: x86_64\r\nTarget OS: Linux\r\nFreeShip Product version: 3.5.0.0\r\nFreeShip Program version: 3.5.3.21\r\nLast SVN Change Revision: 31\r\n*** All OK till here\r\n*** File > New > OK\r\n*** This comes on terminal:\r\nSaveBinary\r\nStations:0 pos:0\r\nButtocks:0 pos:0\r\nWaterlines:0 pos:0\r\nDiagonals:0 pos:0\r\nMarkers:0 pos:0\r\nResistanceDelftData: pos:0\r\nResistanceKaperData: pos:0\r\nbackgroundImages:0 pos:0\r\nFlowlines:0 pos:0\r\nTFreeViewport.Create: done\r\nTFreeViewport.Create: done\r\nTFreeViewport.Create: done\r\nTFreeViewport.Create: done\r\n*** Now FreeShip uses 100% CPU \r\n\r\nIf there was a previously saved file, FreeShip starts with that file and uses 100% CPU from the start.\r\n"}}