Exception thrown at 0x00007FFCCD501F08 in UE4Game-Win64-Debug.exe: Microsoft C++ exception: xSharedMemoryException at memory location 0x0000002A04CCEF30

Hello,

I am trying to package my game (both Development and Shipping) but the moment i launch the .exe i get a crash.
The crash reporter that pops up says that i do not have the symbols to display the crash.

So i moved over to VS15 and launched my game from there as “Debug”.
Here are the results:

Why is this happening?

My game is BP only but it is a code project because i am using 1 plugin that is responsible for my animations.

Is this an engine issue or my plugin is causing this?

The engine is downloaded from github (4.10.2 release) because i have console XDK’s installed within it.

This crash is happening in XB1 as well. It gives me a memory error and crashes.

Any help would be greatly appreciated.

Thank you.

Hey -

Does this crash occur when playing in Standalone in the editor or does it only occur for your packaged game? Can you re-package and let me know if the newer package has the same issue? If it does, would it be possible for you to send me a copy of the project so that I can see the error first hand?

Cheers

Hello ,

This crash does not occur when playing in Standalone in the editor (both window and game).

BUT after playing my game and loading and unloading streaming levels i get this glorious crash:link text

I do not know if these two are related.

To recap:

Compiled games crash with memory issues.
Deployed game to XB1 crashes with memory issue as well.

From within the editor i can play for as long as i want but when i unload a streaming level and load it (or any level for that matter) the i get the crash that is clearly related to the plugin and the mesh component.

I do not know if these two are related. If i could run my compiled game i would probably know but it simply does not load without a memory crash.

Hello,

regarding the Creature crash, i just solved it.

It was an asset on one of my maps that probably got corrupted from the latest engine upgrade.
4.11 will probably be last for me until i finish my game. 1 engine upgrade 99 problems but my code aint one :stuck_out_tongue:

Do we have any news regarding the xSharedMemoryException and what is causing it?

It would be really nice if i could finally deploy to the XB1 and Pc .

Thank you.

Hello ,

Without some sort of reproduction case or previous data about this crash (which I can’t find any unfortunately) we can’t really say as to what could be causing this crash. I would suggest, if it is possible, to try removing the plugin to see if it is what is causing the issue. Be sure to do this in a copy of your project and we wouldn’t want something to go wrong with your original copy due to dependencies related to the plugin.

Hello ,

Although i am no expert by any means i can see that this is probably related to a Dll gone bad. I found this by researching:FGenericPlatformProcess::GetDllHandle | Unreal Engine Documentation

Is there a possibility to ask a Dev what this Dll represents in that specific part of the code?( line 72 to 77) Because that could help me better investigate and narrow down the issue. Is it Unreal related? Is it Creature related (the plugin)?

My project is so far into development that it is very difficult to even attempt to disable this plugin because it is responsible for all of my characters animations and eye candy (like trees etc.). I would have to literally break everything and then i would get so many errors that i highly doubt that i could pinpoint the above crash.

Just give me a small push to the right direction and i will try to figure this out.

Thanks!

That function is called multiple times throughout the engine and possibly used for the plugin as well as it is a function that can be used to get the handle of any .dll and not just a certain one. If you do want to check which particular one it is trying to get the handle of when you crash however, you may be able to do so if you run the project in Debugging and then check the value of “Filename” when the break occurs.

We haven’t heard from you in a while, . Have you had a chance to check on what particular .dll handle is being referenced when your crash occurs? This could help narrow down what exactly is causing the crash. In the meantime, I’ll be marking this issue as resolved for tracking purposes.

Hello ,

It appears that my plugin was causing this due to an asset that got corrupted in the upgrade from 4.9 to 4.10.
I had to delete everything one by one to figure this out.

Thank you once again, for being so awesome!