Random crash in 4.11

Hey i get random crashes since i upgraded to 4.11

http://pastebin.com/raw/F4N3hsDG

Assertion failed: AllEnabledTickFunctions.Remove(TickFunction) == 1 [File:D:\BuildFarm\buildmachine_++UE4+Release-4.11\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp] [Line: 811]

Hello,

  • When are you seeing this crash occur?
  • Could you provide your logs from your project’s Saved->Logs folder after the crash occurs the next time?
  • Do you have any steps we can follow to reproduce this in a clean project?
  • Is this project native to 4.11 or have you converted it from a previous version?

Hey, this crash occurs totally random. I can’t figure out what causes this.
I converted the project from 4.10 to 4.11.

I can’t reproduce this issue in a clean project. I don’t know what causes this. I posted this here hoping that someone can help me fix this :slight_smile:

May i email you the logs please?

Edit:
Something i noticed. It looks like when this crash occurs all the unreal engine instances crash at once? I don’t know if that makes any sense.

I had 2 of them running, one editor instance and one windowsnoeditor(cooked build). I’ve sent the log files and link to the project files.

It looks like I was able to isolate the source of the crash.
After removing all the UProceduralCubesComponent instances from the project I no longer experience crashing, or at least it occurs less times. But not sure what caused it still. In the UProceduralCubesComponent’s Tick function i communicate with a FRunnable Thread. May that be the issue?

Hello,

I have reproduced the crash in your project and have entered a bug report (UE-29747). Thank you for your report. I will provide updates on this issue as they become available.

Have a great day

This was fixed for 4.12 as https://github.com/EpicGames/UnrealEngine/commit/48c6cadd70d352a3f7723deb10e5b008c907ed3e

This fix should be reasonably easy to port over in to 4.11 if you are building your own engine binary and need the fix immediately.

I keep getting this exact same crash in 4.12 :frowning:

Hey Azarus,

What version of 4.12 are you using? Are you still in one of the Preview builds, or have you updated to the official release?

Could you please provide the logs from your project’s Saved->Logs folder?

Could you please cause the crash to occur again and provide your Machine ID from the Crash Reporter window and ensure to hit Send & Close?

It looks like it was my in my UActorComponent.

PrimaryComponentTick.TickInterval = 0.03;

I just wanted my component to tick only 10 times a second.
After removing this line my project works just fine.

Weird :slight_smile: