Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when obtaining EDSM logs #2544

Closed
srguglielmo opened this issue Jun 5, 2023 · 11 comments
Closed

Crash when obtaining EDSM logs #2544

srguglielmo opened this issue Jun 5, 2023 · 11 comments

Comments

@srguglielmo
Copy link

srguglielmo commented Jun 5, 2023

What's Wrong (please be as specific as possible)

EDDI process is crashing when obtaining EDSM logs.

Expected

EDDI fetches all EDSM logs and does not crash.

Observed

When clicking the "Obtain EDSM log" button, EDDI crashes after fetching 2800 log entries. The UI disappears and the EDDI.exe process is no longer running.

Steps to reproduce

  1. Start EDDI.
  2. Click "EDSM Responder" tab.
  3. Click "Obtain EDSM log" button.
  4. Observe EDDI fetching log data 50 at a time. At 2800 (consistently), it hangs for a few seconds, then EDDI quits/crashes.

Configuration

  • Version
    • EDDI Version: 4.0.3-b1
    • VoiceAttack Version: N/A
  • Localization
    • EDDI's language: English
    • Voice: Microsoft Zira

My Investigation

Investigation Notes

I enabled verbose logging and observed an exception being thrown in the logs immediately prior to the crash.

I tried resetting my FDev cAPI connection and even changed my EDSM API key to no avail.

EDDI Logs

2023-06-05T13:53:00 [Error] App.xaml:CrashLogger Unhandled exception: Specified cast is not valid..: {"ClassName":"System.InvalidCastException","Message":"Specified cast is not valid.","Data":{"System.Object":null},"InnerException":null,"HelpURL":null,"StackTraceString":"   at System.Data.SQLite.SQLiteDataReader.VerifyType(Int32 i, DbType typ)\r\n   at System.Data.SQLite.SQLiteDataReader.GetInt64(Int32 i)\r\n   at EddiDataProviderService.StarSystemSqLiteRepository.ReadStarSystemEntry(SQLiteCommand cmd) in EddiDataProviderService\\StarSystemSqLiteRepository.cs:line 481\r\n   at EddiDataProviderService.StarSystemSqLiteRepository.ReadStarSystems(String[] names) in EddiDataProviderService\\StarSystemSqLiteRepository.cs:line 397\r\n   at EddiDataProviderService.StarSystemSqLiteRepository.GetStarSystems(String[] names, Boolean refreshIfOutdated) in EddiDataProviderService\\StarSystemSqLiteRepository.cs:line 204\r\n   at EddiDataProviderService.StarSystemSqLiteRepository.GetOrFetchStarSystems(String[] names, Boolean fetchIfMissing, Boolean refreshIfOutdated, Boolean showBodies, Boolean showStations, Boolean showFactions) in EddiDataProviderService\\StarSystemSqLiteRepository.cs:line 169\r\n   at EddiDataProviderService.StarSystemSqLiteRepository.GetOrCreateStarSystems(String[] names, Boolean fetchIfMissing, Boolean refreshIfOutdated, Boolean showBodies, Boolean showStations, Boolean showFactions) in EddiDataProviderService\\StarSystemSqLiteRepository.cs:line 146\r\n   at EddiDataProviderService.DataProviderService.syncEdsmLogBatch(List`1 flightLogBatch, Dictionary`2 comments) in EddiDataProviderService\\DataProviderService.cs:line 209\r\n   at EddiEdsmResponder.ConfigurationWindow.obtainEdsmLogs(IEdsmService edsmService, IProgress`1 progress) in EddiEdsmResponder\\ConfigurationWindow.xaml.cs:line 103\r\n   at System.Threading.Tasks.Task.Execute()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at EddiEdsmResponder.ConfigurationWindow.<edsmObtainLogClicked>d__5.MoveNext() in EddiEdsmResponder\\ConfigurationWindow.xaml.cs:line 82\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n   at System.Windows.Threading.DispatcherOperation.InvokeImpl()\r\n   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)\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 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)\r\n   at System.Windows.Threading.DispatcherOperation.Invoke()\r\n   at System.Windows.Threading.Dispatcher.ProcessQueue()\r\n   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)\r\n   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)\r\n   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)\r\n   at System.Windows.Application.RunDispatcher(Object ignore)\r\n   at System.Windows.Application.RunInternal(Window window)\r\n   at Eddi.App.Main() in Eddi\\App.xaml.cs:line 63","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nVerifyType\nSystem.Data.SQLite, Version=1.0.117.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139\nSystem.Data.SQLite.SQLiteDataReader\nSystem.Data.SQLite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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}
2023-06-05T13:53:00 [Error] App.xaml:CrashLogger Unhandled exception: Specified cast is not valid..: {"ClassName":"System.InvalidCastException","Message":"Specified cast is not valid.","Data":{"System.Object":null},"InnerException":null,"HelpURL":null,"StackTraceString":"   at System.Data.SQLite.SQLiteDataReader.VerifyType(Int32 i, DbType typ)\r\n   at System.Data.SQLite.SQLiteDataReader.GetInt64(Int32 i)\r\n   at EddiDataProviderService.StarSystemSqLiteRepository.ReadStarSystemEntry(SQLiteCommand cmd) in EddiDataProviderService\\StarSystemSqLiteRepository.cs:line 481\r\n   at EddiDataProviderService.StarSystemSqLiteRepository.ReadStarSystems(String[] names) in EddiDataProviderService\\StarSystemSqLiteRepository.cs:line 415\r\n   at EddiDataProviderService.StarSystemSqLiteRepository.GetStarSystems(String[] names, Boolean refreshIfOutdated) in EddiDataProviderService\\StarSystemSqLiteRepository.cs:line 204\r\n   at EddiDataProviderService.StarSystemSqLiteRepository.GetOrFetchStarSystems(String[] names, Boolean fetchIfMissing, Boolean refreshIfOutdated, Boolean showBodies, Boolean showStations, Boolean showFactions) in EddiDataProviderService\\StarSystemSqLiteRepository.cs:line 169\r\n   at EddiDataProviderService.StarSystemSqLiteRepository.GetOrCreateStarSystems(String[] names, Boolean fetchIfMissing, Boolean refreshIfOutdated, Boolean showBodies, Boolean showStations, Boolean showFactions) in EddiDataProviderService\\StarSystemSqLiteRepository.cs:line 145\r\n   at EddiDataProviderService.DataProviderService.syncEdsmLogBatch(List`1 flightLogBatch, Dictionary`2 comments) in EddiDataProviderService\\DataProviderService.cs:line 209\r\n   at EddiEdsmResponder.ConfigurationWindow.obtainEdsmLogs(IEdsmService edsmService, IProgress`1 progress) in EddiEdsmResponder\\ConfigurationWindow.xaml.cs:line 88\r\n   at System.Threading.Tasks.Task.Execute()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at EddiEdsmResponder.ConfigurationWindow.<edsmObtainLogClicked>d__5.MoveNext() in EddiEdsmResponder\\ConfigurationWindow.xaml.cs:line 82\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n   at System.Windows.Threading.DispatcherOperation.InvokeImpl()\r\n   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)\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 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)\r\n   at System.Windows.Threading.DispatcherOperation.Invoke()\r\n   at System.Windows.Threading.Dispatcher.ProcessQueue()\r\n   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)\r\n   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)\r\n   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)\r\n   at System.Windows.Application.RunDispatcher(Object ignore)\r\n   at System.Windows.Application.RunInternal(Window window)\r\n   at Eddi.App.Main() in Eddi\\App.xaml.cs:line 29","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nVerifyType\nSystem.Data.SQLite, Version=1.0.117.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139\nSystem.Data.SQLite.SQLiteDataReader\nSystem.Data.SQLite.TypeAffinity VerifyType(Int32, System.Data.DbType)","HResult":-2147467262,"Source":"System.Data.SQLite","WatsonBuckets":"AQAAAEMATABSADIAMAByADMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}

Player journals

Can provide if needed.

@Tkael
Copy link
Member

Tkael commented Jun 5, 2023

Thanks for the report. It looks like your logs probably include at least one very old EDSM record without a SystemAddress property. We want to have that as a key field but we'll need to make it a little more forgiving again for EDSM.

@Tkael Tkael closed this as completed in e60ec67 Jun 7, 2023
@Darkcyde13
Copy link

I'm still getting errors, and am unable to complete the EDSM sync. EDDI isn't crashing like it did before, but the sync is just failing to complete.
eddi.zip

@Tkael Tkael reopened this Jun 10, 2023
@Tkael
Copy link
Member

Tkael commented Jun 11, 2023

The next release should help with this.

@Tkael Tkael closed this as completed Jun 11, 2023
@srguglielmo
Copy link
Author

This may still be an issue on version 4.0.3-b4. EDDI no longer crashes, however, after clicking the "Obtain EDSM log" button, the logs are quickly fetched to about half-way (roughly 7000/15000), then it becomes extremely slow. It's obtained only 1800 log entries (total 8800/15000) in the past 30 minutes. Is this a EDSM rate limit?

@Tkael
Copy link
Member

Tkael commented Jul 5, 2023

It sounds like you're hitting the EDSM rate limit.

@Darkcyde13
Copy link

Hmm, I don't think it's the EDSM rate limit. I've just gone back to EDDI 4.0.2 to test it, and I obtained all 12680 logs in less than 2 minutes with no slowdowns at all, apart from a half-second pause every now and again. I tried the other day with beta 3, and it slowed down around half way through, and never finished. I ended up closing EDDI down after about 5-10 minutes. I don't know how long it was exactly, as I didn't time it, but it was a long time.

I'll wait an hour or two to make sure I'm not going to hit any limit after just trying with 4.0.2, and I'll give beta 4 a try and see what happens.

@srguglielmo
Copy link
Author

It's been 5 hours and I'm at 14000/15000 log entries fetched. It's still running.

@Tkael
Copy link
Member

Tkael commented Jul 5, 2023

There are two stages to the update process. Obtaining your logs and saving them to star system entries. If the local database already contains star system entries then it can move through those quickly and fill in any missing flight log data. If it needs to obtain data from EDSM to create those entries then obtaining the star system details is the thing that can cause you to hit your rate limit.

If we create star systems without those additional EDSM details then the process will go much quicker but the data stored in your local database will be less complete. The more I think about it the more I think that is a worthwhile trade-off. I can probably keep those systems marked as stale so that if you need data about a specific star system EDDI can still fetch the details you need for that specific star system.

@Darkcyde13
Copy link

Well, I've just tried 4.0.3-b4, and it started to really slow down at around 10100 (out of 12680), then stopped at 11400 after about 8 minutes, and hasn't moved since. It's now more than 25 minuted since I started, and is still on 11400.

So, 4.0.2 works fine and fast, completing in less than 2 minutes, but 4.0.3 fails. There has to be something different between 4.0.2 and 4.0.3 that's causing it to slow then stop.

@Tkael
Copy link
Member

Tkael commented Jul 6, 2023

Well, I've just tried 4.0.3-b4, and it started to really slow down at around 10100 (out of 12680), then stopped at 11400 after about 8 minutes, and hasn't moved since. It's now more than 25 minuted since I started, and is still on 11400.

So, 4.0.2 works fine and fast, completing in less than 2 minutes, but 4.0.3 fails. There has to be something different between 4.0.2 and 4.0.3 that's causing it to slow then stop.

I never disputed that. My goal was simply to explain (to the best of my recollection during a work break and in fairly general terms) how the code functions and offer a possible optimization.

Now that I've had a chance to go back and review the code in more detail, it looks like I introduced a change early last month that had the opposite of the intended effect and (as it turns out moved away from the more optimized state I had described above). Change reverted.

Edit: With this change, my test sync of almost 20,000 log entries took almost exactly 15 minutes.

Tkael added a commit that referenced this issue Jul 6, 2023
…rload the EDSM API during a sync.

Resolves #2544 concerns raised after release of 4.0.3-b4.
@Darkcyde13
Copy link

Apologies, I didn't mean to sound rude. I had already composed my reply before you posted yours, as I was just waiting to see if it would change from 11400, but then I dozed off. When I woke up, it hadn't changed, so I put in the time and posted, without realising you had answered in the mean time.

Again, I'm sorry if I sounded rude, that was never my intention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants