Skip to content
This repository was archived by the owner on Jan 29, 2024. It is now read-only.

crash when starting app #157

Closed
NikkyAI opened this issue Jun 4, 2021 · 5 comments
Closed

crash when starting app #157

NikkyAI opened this issue Jun 4, 2021 · 5 comments

Comments

@NikkyAI
Copy link

NikkyAI commented Jun 4, 2021

Bevor you create a new issue:

- [x] I searched for similar issues and did not find one
- [x] I'm using the latest version available in the [Windows Store](https://www.microsoft.com/store/apps/9NW16X9JB5WV)

I'm submitting a...:

  • Bug report (I searched for similar issues and did not find one)

Current behavior:

after installing the app and configuring my xmpp server (a3.pm) it failed to connect/send messages in MUCs and list contacts
on second start and following the app crashes on startup (after the 2 welcoming screens)

only thing i could find in the windows logs:

Faulting application name: UWPX_UI.exe, version: 1.0.0.0, time stamp: 0x60b5379b
Faulting module name: SharedLibrary.dll, version: 2.2.29512.0, time stamp: 0x5fad1a6e
Exception code: 0xc00000fd
Fault offset: 0x00000000007d82ff
Faulting process id: 0x51c8
Faulting application start time: 0x01d7592dc2d9822c
Faulting application path: C:\Program Files\WindowsApps\790FabianSauter.UWPXAlpha_0.32.0.0_x64__s1c5dt7qckd0e\UWPX_UI.exe
Faulting module path: C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe\SharedLibrary.dll
Report Id: 7007192d-081e-49e8-ae57-2feaa6dbfe34
Faulting package full name: 790FabianSauter.UWPXAlpha_0.32.0.0_x64__s1c5dt7qckd0e
Faulting package-relative application ID: App

how can i see more debug logs ?

Environment:

App Version(s): 
v.0.32.0 <!-- Which version of the App are you using (e.g. v.0.2.0) -->

Windows 10 Version Number: <!-- https://en.wikipedia.org/wiki/Windows_10_version_history -->
- [ ] 1809
- [ ] 1803
- [ ] 1709
- [ ] 1703
- [ ] 1607
- [ ] 1511
- [ ] 1507
- [ ] Insider Build (build number: )

Edition	Windows 10 Enterprise
Version	20H2
Installed on	‎30/‎10/‎2020
OS build	19042.985
Experience	Windows Feature Experience Pack 120.2212.2020.0


Device form factor:
- [x] Desktop
- [ ] Mobile
- [ ] Xbox
- [ ] Surface Hub

Where did you got the APP from?
- [x] [Windows Store](https://www.microsoft.com/store/apps/9NW16X9JB5WV)
- [ ] Self-build, using a provided release source
- [ ] Self-build, repo cloned at [dd.mm.yyy] <!-- When did you clone the repo! -->
- [ ] Misc, got it from... <!-- Please tell us your source! -->

@NikkyAI NikkyAI changed the title error when starting app crash when starting app Jun 4, 2021
@COM8
Copy link
Member

COM8 commented Jun 4, 2021

Thanks for reporting this!
Please try the following:

  • Reinstall the app
  • Go to Settings -> Misc and set the Log-Level to Trace
  • Click on Open app data folder (PC only) and keep this window open
  • Add your account
  • Connect your account and restart
  • In case it crashes: Letit crash multiple times and then please upload the contents of you Logs directory here so a can work on a hotfix for this

@NikkyAI
Copy link
Author

NikkyAI commented Jun 4, 2021

i found this stacktrace in the logs (while using it on first boot after setup):

Details
[WARN][04.06.2021 19:57:55]: Failed to request MAM archive for [email protected] with: ERROR 
[INFO][04.06.2021 19:57:55]: Post client connected process done for: [email protected] 
[DEBUG][04.06.2021 19:57:55]: PostClientConnectedHandler for [email protected] now in state: DONE 
[ERROR][04.06.2021 19:57:55]: Unhanded exception:  System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.Generic.List`1.get_Item(Int32) + 0x37
   at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1, Int32) + 0xb2
   at Microsoft.Toolkit.Uwp.UI.AdvancedCollectionView.HandleFilterChanged() + 0x4e
   at UWPX_UI_Context.Classes.DataTemplates.Controls.ChatSuggestionsControlDataTemplate.<>c__DisplayClass24_0.<LoadSuggestionsAsync>b__0() + 0x1c4
   at System.Action.Invoke() + 0x25
   at System.Threading.Tasks.Task.InnerInvoke() + 0x25
   at System.Threading.Tasks.Task.Execute() + 0x1c
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at UWPX_UI_Context.Classes.DataTemplates.Controls.ChatSuggestionsControlDataTemplate.<LoadSuggestionsAsync>d__24.MoveNext() + 0x187
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at UWPX_UI_Context.Classes.DataTemplates.Controls.ChatSuggestionsControlDataTemplate.<UpdateViewAsync>d__21.MoveNext() + 0x89
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at UWPX_UI_Context.Classes.DataContext.Controls.ChatSuggestionsControlContext.<UpdateViewAsync>d__1.MoveNext() + 0x90
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at UWPX_UI.Controls.Chat.ChatSuggestionsControl.<UpdateViewAsync>d__14.MoveNext() + 0x98
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at UWPX_UI.Controls.Chat.ChatSuggestionsControl.<OnClientChanged>d__16.MoveNext() + 0x9a
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__7_0(Object) + 0x1e
   at System.Action`1.Invoke(T) + 0x28
   at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore() + 0x33
   at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21
   at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32) + 0xb8
   at __Interop.ForwardComStubs.Stub_20[TThis](__ComObject, Int32) + 0x24
   at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x3d
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x75
   at System.EventHandler`1.Invoke(Object, TEventArgs) + 0x2e
   at __Interop.Intrinsics.HasThisCall__24[TArg0](Object, IntPtr, Object, TArg0) + 0x36
   at UWPX_UI!<BaseAddress>+0x2a4b7f0

on first boot after install and after setting up i could send messages, etc (although decrypting omemo messages did not work)
here is the logs / crash i got when i tried to start the app again:

cur.log

@COM8
Copy link
Member

COM8 commented Jun 5, 2021

I will try to push a new release tomorrow.
I fixed the bug you reported in Details.
For the other one I need more data.
I'm able to catch it, but I do not have a reliable way to reproduce it currently.
So, please in case the exception occures again, klick on report here:
grafik

@COM8
Copy link
Member

COM8 commented Jun 6, 2021

I released v.0.32.1.0. Let me know if this update fixes some of your issues and crashes.

@COM8
Copy link
Member

COM8 commented Jun 26, 2021

Closing this, since there has not been a response for 20 days now. Feel free to reopen, in case this issue still persists.

@COM8 COM8 closed this as completed Jun 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants