{"action":"opened","issue":{"url":"https://api.github.com/repos/EDCD/EDDI/issues/820","repository_url":"https://api.github.com/repos/EDCD/EDDI","labels_url":"https://api.github.com/repos/EDCD/EDDI/issues/820/labels{/name}","comments_url":"https://api.github.com/repos/EDCD/EDDI/issues/820/comments","events_url":"https://api.github.com/repos/EDCD/EDDI/issues/820/events","html_url":"https://github.com/EDCD/EDDI/issues/820","id":355811187,"node_id":"MDU6SXNzdWUzNTU4MTExODc=","number":820,"title":"CTD in all 3.0.x versions","user":{"login":"hippocratical","id":42854528,"node_id":"MDQ6VXNlcjQyODU0NTI4","avatar_url":"https://avatars2.githubusercontent.com/u/42854528?v=4","gravatar_id":"","url":"https://api.github.com/users/hippocratical","html_url":"https://github.com/hippocratical","followers_url":"https://api.github.com/users/hippocratical/followers","following_url":"https://api.github.com/users/hippocratical/following{/other_user}","gists_url":"https://api.github.com/users/hippocratical/gists{/gist_id}","starred_url":"https://api.github.com/users/hippocratical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hippocratical/subscriptions","organizations_url":"https://api.github.com/users/hippocratical/orgs","repos_url":"https://api.github.com/users/hippocratical/repos","events_url":"https://api.github.com/users/hippocratical/events{/privacy}","received_events_url":"https://api.github.com/users/hippocratical/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-31T01:48:00Z","updated_at":"2018-08-31T01:48:00Z","closed_at":null,"author_association":"NONE","body":"## EDDI version in which issue found\r\nAll 3.0.x\r\n\r\n## Steps to reproduce\r\n\r\nEDDI crashes to desktop after being open for about 5 seconds. This didn't happen in versions 2.x and prior. I have uninstalled/reinstalled to no avail. Running as administer, or installing as admin, doesn't help.\r\n\r\n## Expected\r\nfor it not to crash\r\n\r\nHere's a log:\r\n\r\n2018-08-31T01:43:22 [Info] EDDI:.ctor EDDI 3.0.3-rc1 starting \r\n2018-08-31T01:43:22 [Info] EDDI:.ctor On live \r\n2018-08-31T01:43:22 [Info] CargoMonitor:initializeCargoMonitor Initialised Cargo monitor 1.0.0 \r\n2018-08-31T01:43:22 [Info] ResourceBasedLocalizedEDName:FromEDName Unknown ED name tg_shipsystemdata in resource EddiDataDefinitions.Properties.Materials \r\n2018-08-31T01:43:23 [Info] MaterialMonitor:.ctor Initialised Material monitor 1.0.0 \r\n2018-08-31T01:43:23 [Info] ShipMonitor:.ctor Initialised Ship monitor 1.0.0 \r\n2018-08-31T01:43:23 [Info] StatusMonitor:.ctor Initialised Status monitor 1.0.0 \r\n2018-08-31T01:43:23 [Info] EDDNResponder:.ctor Initialised EDDN responder 1.0.0 \r\n2018-08-31T01:43:23 [Info] EDSMResponder:.ctor Initialised EDSM responder 1.0.0 \r\n2018-08-31T01:43:23 [Info] SpeechResponder:.ctor Initialised Speech responder 1.0.0 \r\n2018-08-31T01:43:23 [Info] VoiceAttackResponder:.ctor Started VoiceAttack responder \r\n2018-08-31T01:43:23 [Error] Files:Read File C:\\Users\\Colossus\\AppData\\Roaming\\EDDI\\credentials.json not found System.IO.FileNotFoundException: Could not find file 'C:\\Users\\Colossus\\AppData\\Roaming\\EDDI\\credentials.json'.\r\nFile name: 'C:\\Users\\Colossus\\AppData\\Roaming\\EDDI\\credentials.json'\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)\r\n   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)\r\n   at System.IO.File.ReadAllText(String path, Encoding encoding)\r\n   at Utilities.Files.Read(String name)\r\n2018-08-31T01:43:23 [Info] EDDI:.ctor EDDI access to the companion app is disabled \r\n2018-08-31T01:43:23 [Error] Files:Read File C:\\Users\\Colossus\\AppData\\Roaming\\EDDI\\credentials.json not found System.Collections.Generic.Dictionary`2[System.String,System.Object]\r\n2018-08-31T01:43:23 [Info] EDDI:.ctor EDDI access to EDSM is enabled \r\n2018-08-31T01:43:23 [Info] EDDI:.ctor EDDI 3.0.3-rc1 initialised \r\n2018-08-31T01:43:23 [Info] EDDI:Start Starting keepalive for EDDP monitor \r\n2018-08-31T01:43:23 [Info] EDDI:Start Starting keepalive for Journal monitor \r\n2018-08-31T01:43:23 [Info] EDDI:keepAlive Starting EDDP monitor (0) \r\n2018-08-31T01:43:23 [Info] EDDI:keepAlive Starting Journal monitor (0) \r\n2018-08-31T01:43:23 [Info] EDDI:Start Starting keepalive for Status monitor \r\n2018-08-31T01:43:23 [Info] EDDI:keepAlive Starting Status monitor (0) \r\n2018-08-31T01:43:23 [Info] EDDI:Start Started EDDN responder \r\n2018-08-31T01:43:23 [Info] EDDI:eventFileHeader On live \r\n2018-08-31T01:43:24 [Info] EDDI:Start Started EDSM responder \r\n2018-08-31T01:43:24 [Info] EDDI:Start Started Speech responder \r\n2018-08-31T01:43:24 [Info] StarMapService:Sync Syncing with EDSM \r\n2018-08-31T01:43:24 [Info] EDDI:Start Started VoiceAttack responder \r\n2018-08-31T01:43:24 [Error] Files:Read File C:\\Users\\Colossus\\AppData\\Roaming\\EDDI\\credentials.json not found System.IO.FileNotFoundException: Could not find file 'C:\\Users\\Colossus\\AppData\\Roaming\\EDDI\\credentials.json'.\r\nFile name: 'C:\\Users\\Colossus\\AppData\\Roaming\\EDDI\\credentials.json'\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)\r\n   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)\r\n   at System.IO.File.ReadAllText(String path, Encoding encoding)\r\n   at Utilities.Files.Read(String name)\r\n2018-08-31T01:43:24 [Error] Files:Read File C:\\Users\\Colossus\\AppData\\Roaming\\EDDI\\credentials.json not found System.Collections.Generic.Dictionary`2[System.String,System.Object]\r\n2018-08-31T01:43:25 [Warning] StarSystemSqLiteRepository:GetStarSystem Problem reading data from database, re-obtaining from source. \r\n2018-08-31T01:43:25 [Info] ResourceBasedLocalizedEDName:FromEDName Unknown ED name ancientkey in resource EddiDataDefinitions.Properties.Commodities \r\n2018-08-31T01:43:25 [Warning] StarSystemSqLiteRepository:GetStarSystem Problem obtaining data from source: code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed\r\ndatabase disk image is malformed\r\n   at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)\r\n   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)\r\n   at System.Data.SQLite.SQLiteDataReader.NextResult()\r\n   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)\r\n   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)\r\n   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)\r\n   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()\r\n   at EddiDataProviderService.StarSystemSqLiteRepository.updateStarSystem(StarSystem system)\r\n   at EddiDataProviderService.StarSystemSqLiteRepository.GetStarSystem(String name, Boolean refreshIfOutdated) \r\n2018-08-31T01:43:25 [Warning] StarSystemSqLiteRepository:GetStarSystem Problem reading data from database, re-obtaining from source. \r\n2018-08-31T01:43:26 [Warning] StarSystemSqLiteRepository:GetStarSystem Problem obtaining data from source: code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed\r\ndatabase disk image is malformed\r\n   at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)\r\n   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)\r\n   at System.Data.SQLite.SQLiteDataReader.NextResult()\r\n   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)\r\n   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)\r\n   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)\r\n   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()\r\n   at EddiDataProviderService.StarSystemSqLiteRepository.updateStarSystem(StarSystem system)\r\n   at EddiDataProviderService.StarSystemSqLiteRepository.GetStarSystem(String name, Boolean refreshIfOutdated) \r\n2018-08-31T01:43:26 [Info] Logging:ExceptionHandler Reporting unhandled exception, anonymous ID 95a62f8e-dfe7-4b0f-89b5-0d4852af0335:code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed\r\ndatabase disk image is malformed\r\n   at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)\r\n   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)\r\n   at System.Data.SQLite.SQLiteDataReader.NextResult()\r\n   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)\r\n   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)\r\n   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)\r\n   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()\r\n   at EddiDataProviderService.StarSystemSqLiteRepository.insertStarSystem(StarSystem system)\r\n   at EddiDataProviderService.StarSystemSqLiteRepository.GetOrCreateStarSystem(String name, Boolean fetchIfMissing)\r\n   at EddiStarMapService.StarMapService.SyncUpdate(Dictionary`2 comments, List`1 syncSystems, Dictionary`2 systemLogs, Nullable`1 since)\r\n   at EddiStarMapService.StarMapService.Sync(Nullable`1 since)\r\n   at EddiEdsmResponder.EDSMResponder.<>c__DisplayClass10_0.<Reload>b__0()\r\n   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)\r\n   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n   at System.Threading.ThreadHelper.ThreadStart() \r\n\r\n\r\n------------------------------\r\n\r\nThe \"database disk image is malformed\" part catches my eye."}}
{"actor":{"display_login":"hippocratical"}}