Unreal Engine 4.11 - 4.12 Crash

Hi,

After running a dedicated server for about an hour I got this crash with the Visual Studio Debugger Attached. It seems like Unreal Engine crashed while trying to print the output message for a crash. I have noticed since updating to unreal engine it has failed print out crashes and save the minidump at all. So I have to attach the visual studio debugger and get players to stress test it.

I can’t upload the debug information as its the github version of unreal engine 4.11 as it would take me hours. But I have provided these screenshots with the callstack / variables.

https://dl.dropboxusercontent.com/u/81052782/ShareX/mstsc_2016-04-13_09-58-30.png

https://dl.dropboxusercontent.com/u/81052782/ShareX/mstsc_2016-04-13_09-59-01.png

https://dl.dropboxusercontent.com/u/81052782/ShareX/mstsc_2016-04-13_09-59-41.png

https://dl.dropboxusercontent.com/u/81052782/ShareX/mstsc_2016-04-13_10-00-52.png

https://dl.dropboxusercontent.com/u/81052782/ShareX/mstsc_2016-04-13_10-01-12.png

Also: Crashing while crashing really sucks, because of the lack of minidump data that is saved.
I have had another crash while crashing when unreal tried to print out a call stack for blueprint that was dividing by zero.

UPDATE: Here is another crash while crashing, this is the details:
This fails while its trying to write a minidump.

https://dl.dropboxusercontent.com/u/81052782/ShareX/mstsc_2016-04-28_05-07-15.png

https://dl.dropboxusercontent.com/u/81052782/ShareX/mstsc_2016-04-28_05-07-37.png

https://dl.dropboxusercontent.com/u/81052782/ShareX/mstsc_2016-04-28_05-07-55.png

https://dl.dropboxusercontent.com/u/81052782/ShareX/mstsc_2016-04-28_05-08-22.png

https://dl.dropboxusercontent.com/u/81052782/ShareX/mstsc_2016-04-28_05-08-51.png

Thanks,
Matthew

Hello Deathlyrage,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  3. Was the project that is crashing upgraded from an older version of the engine?
  4. If so, could you try going back and deleting the Saved, Intermediate, and config files before upgrading the project to version that you are currently using?

Note: You may want to make a back up of the folders mentioned in question 4 in case you need any back up files later.

1 - Can’t reproduce this in a clean project so far. It might not happen without quit a bit of work, But I don’t know If I can.

I have narrowed down the crash to server side only. I’m fairly sure the method that causes the crash isn’t exactly relevant. You could have a Log Fatal and cause this.

3 - The project has been upgraded from a older version of the engine. ( 4.10 ) which was working fine.

4 - When I upgraded the project I did a fresh git clone of Unreal Engine without any Saved / Intermediate / Config. Because we use source control.

Update: Using lines like Log Fatal actually leave crash dumps for both the client / server. The server has to crash in a specific situation with certain characters in the stack trace to fail.

These crashes happen more often in 4.11.2 and less often in default 4.11.1. AFAIK they don’t happen in 4.10 but downgrading would be too much of a time consuming process.

Anything else you could recommend doing?

Or should I just wait until you guys patch Unreal Engine 4.11.2 changes live and it breaks for everyone and I’ll let you guys fix it then.

I have upgraded my project to the latest Unreal Engine 4.12 branch on github and still have the same results. The bug remains and I need help…

Is there any way I can get help with this crash issue? Or Any More Information that you need?

If it is too complicated for you guys to fix, I need to take time off developing my game, resolve it and make a github pull request.

Can you guys at least tell me if this crash is not viable to be fixed or too difficult?

Updated the OP with another crash /w more screenshots. Using 4.12 master branch with all the latest commits as of yesterday.

Hello Deathlyrage,

Thanks for the additional screen shots, however it would help greatly narrow things down if you could provide a detailed set of steps that lead to the crash that you are seeing. If this is not possible, could you provide the project that is having the crash so that we could dig into this deeper. If you would like to provide this privately you could do so by using the drop down arrow under the comment button. Could you make sure that debugging symbols are installed (Go to the Launcher->Library tab and click the arrow next to the Launch button under the engine installations → click the options button → check to see if debugging symbols are installed) Could you also provide your dxdiag?

88736-privatemessageah.png

Hi Rudy,

I have a copy of the project uploaded to google drive, the dxdiag and other things, however it seems I can’t leave a private comment on answerhub.

https://dl.dropboxusercontent.com/u/81052782/ShareX/chrome_2016-05-03_02-27-49.png

As per that screenshot I don’t get the arrow dropdown. I have got several people to try it and have looked for the arrow in other browsers and it still doesn’t show.

You could also send the link via a private message to me on the forums.

I have sent you a PM with the project files and the details.

Hello Deathlyrage,

After looking over the message that was sent along with the project. I will not be able to run the test requiring 50 people. However, I did notice that you are using 3rd party plugins in your project. Can you reproduce this issue on your end without these plugins in your project? If not, you will need to speak with the creators of the plugins for further assistance. We do not provide support for unofficial plugins.

The issue can be reproduced without these plugins.

From the recent tests, the server can crash anytime as soon as 5 minutes to 90 minutes.

Is there anything I can do to help you guys narrow it down. If I need to upload various copies of the minidumps / debug info of any crashes we can reproduce.

Hello Deathlyrage,

After further testing with the project that was provided, I was unable to have this issue reproduce on my own. We do not have the resources to run the suggested case above. Currently, this is not a viable reproduction. If at any point you’re are able to narrow this issue down further so that it could be reproduced in a clean project, I will be more than happy to assist you further. However there is not much else we can do at this time.