-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
react-native-window app crash when rendering svg as component and using navigation #14177
Comments
Can you please provide the versioning information provided in the issue template? Without that it's harder for us to evaluate where this issue is happening. |
here is the package.json { |
can anyone help me with this? |
anyone please ? |
@chrisglein @alloy @kant @Thristhart if you can help here |
This is helpful, but what I was referring to was the diagnostic information requested in the bug template and left unfilled above. Specifically this: npx @react-native-community/cli info If you can provide this it makes it easier to help you.
If your familiar with the debugger, can you possibly get the exception callstack for when this is thrown? As in what is the stack where an invalid argument exception is originating? (generally you can get this by setting Visual Studio to break on thrown WinRT Originate exceptions, if you don't get it broken in by default) |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment. |
Problem Description
desktop is crashing as soon as I fire any navigation event, it is happening if I am rendering svg as component, but works fine if I comment svg component. I think once an svg renders it is not unloading from memory on unmount, and that is creating memory leak and the crash, does no one come around with this issue? please help anyone .
this is the crash
Exception thrown at 0x00007FFEB573FA4C in Forms.exe: Microsoft C++ exception: winrt::hresult_invalid_argument at memory location 0x0000007373AFD488.
Exception thrown at 0x00007FFEB573FA4C in Forms.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFEB573FA4C in Forms.exe: Microsoft C++ exception: winrt::hresult_invalid_argument at memory location 0x0000007373AFDD08.
Exception thrown at 0x00007FFEB573FA4C in Forms.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
A breakpoint instruction (__debugbreak() statement or a similar call) was executed in Forms.exe.
The program '[17304] Forms.exe' has exited with code 0 (0x0).
Steps To Reproduce
app crash
Expected Results
No response
CLI version
npx @react-native-community/cli -v 15.0.1
Environment
npx @react-native-community/cli info
Community Modules
No response
Target Platform Version
10.0.22621
Target Device(s)
Desktop
Visual Studio Version
Visual Studio 2022
Build Configuration
DebugBundle
Snack, code example, screenshot, or link to a repository
https://github.com/akumar3408/svg-navigation-issue.git
The text was updated successfully, but these errors were encountered: