# Linux on build Error: Assertion failed: IsInRenderingThread()

**URL:** <https://forums.unrealengine.com/t/linux-on-build-error-assertion-failed-isinrenderingthread/319260>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, crash, bug-report, editor, UE4, question\
**Created:** [May 20, 2015, 7:32pm UTC](https://forums.unrealengine.com/t/linux-on-build-error-assertion-failed-isinrenderingthread/319260 "2015-05-20T19:32:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![OlexandrI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OlexandrI](https://forums.unrealengine.com/u/OlexandrI)\
**Post date:** [May 20, 2015, 7:32pm UTC](https://forums.unrealengine.com/t/linux-on-build-error-assertion-failed-isinrenderingthread/319260/1 "2015-05-20T19:32:06Z")

</div>

When i click File-\>PackageProject-\>Linux i have next error ☹  
Engine compiled from github, branch 4.7

```
[2015.05.20-21.45.12:908][603]LogUObjectGlobals:Warning: Failed to find object 'Blueprint None.'
[2015.05.20-21.45.13:062][608]LogLinux:Error: appError called: Assertion failed: Assertion failed: IsInRenderingThread() [File:/home/admin/Projects/UnrealEngine47/UnrealEngine/Engine/Source/Runtime/RenderCore/Private/RenderResource.cpp] [Line: 40] 

[2015.05.20-21.45.13:233][608]LogCrashTracker: 

[2015.05.20-21.45.13:233][608]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to access memory at address 0x00000003

[2015.05.20-21.45.13:233][608]LogLinux: Assertion failed: Assertion failed: IsInRenderingThread() [File:/home/admin/Projects/UnrealEngine47/UnrealEngine/Engine/Source/Runtime/RenderCore/Private/RenderResource.cpp] [Line: 40] 

[Callstack] 02 0x00007faad3515055 ReportCrash(FLinuxCrashContext const&)
[Callstack] 03 0x000000000042a390 EngineCrashHandler(FGenericCrashContext const&)
[Callstack] 04 0x00007faad3517e1b PlatformCrashHandler(int, siginfo_t*, void*)
[Callstack] 05 0x00007faad3f51b10 /lib64/libpthread.so.0(+0x10b10) [0x7faad3f51b10]
[Callstack] 06 0x00007faad3520d27 FOutputDeviceLinuxError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&)
[Callstack] 07 0x00007faad35b75fc FOutputDevice::Logf(wchar_t const*, ...)
[Callstack] 08 0x00007faad35a2d2d FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...)
[Callstack] 09 0x00007faace5059e6 FRenderResource::ReleaseResource()
[Callstack] 10 0x00007faace51431c FDynamicVertexBufferPool::~FDynamicVertexBufferPool()
[Callstack] 11 0x00007faace50946a FGlobalDynamicVertexBuffer::~FGlobalDynamicVertexBuffer()
[Callstack] 12 0x00007faac8b5e0c1 /lib64/libc.so.6(+0x3b0c1) [0x7faac8b5e0c1]
[Callstack] 13 0x00007faac8b5e145 /lib64/libc.so.6(+0x3b145) [0x7faac8b5e145]
[Callstack] 14 0x00007faab8d39b78 /usr/lib64/qt4/libQtGui.so.4(+0x244b78) [0x7faab8d39b78]
[Callstack] 15 0x00007faab2d304fe /usr/lib64/libX11.so.6(_XIOError+0x4e) [0x7faab2d304fe]
[Callstack] 16 0x00007faab2d2e55c /usr/lib64/libX11.so.6(_XReply+0x3ec) [0x7faab2d2e55c]
[Callstack] 17 0x00007faab2d24149 /usr/lib64/libX11.so.6(XQueryPointer+0x69) [0x7faab2d24149]
[Callstack] 18 0x00007faad380bd0d /home/admin/Projects/UnrealEngine47/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Core.so(+0x4aed0d) [0x7faad380bd0d]
[Callstack] 19 0x00007faad3773cc8 /home/admin/Projects/UnrealEngine47/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-Core.so(+0x416cc8) [0x7faad3773cc8]
[Callstack] 20 0x00007faad3510536 FLinuxCursor::GetPosition() const
[Callstack] 21 0x00007faa758cb791 STutorialContent::GetBackgroundColor() const
[Callstack] 22 0x00007faa75986d4f TBaseSPMethodDelegateInstance<true, STutorialContent, (ESPMode)0, FSlateColor ()>::Execute() const
[Callstack] 23 0x00007faacd88302c TAttribute<FSlateColor>::Get() const
[Callstack] 24 0x00007faacd849102 SBorder::OnPaint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 25 0x00007faacd1286b9 SWidget::Paint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 26 0x00007faacd18338a SOverlay::OnPaint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 27 0x00007faacd1286b9 SWidget::Paint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 28 0x00007faacd84e5a4 SFxWidget::OnPaint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 29 0x00007faacd1286b9 SWidget::Paint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 30 0x00007faacd1823d4 SCompoundWidget::OnPaint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 31 0x00007faa758cff3c STutorialContent::OnPaint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 32 0x00007faacd1286b9 SWidget::Paint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 33 0x00007faacd7b60ef SCanvas::OnPaint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 34 0x00007faacd1286b9 SWidget::Paint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 35 0x00007faacd18338a SOverlay::OnPaint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 36 0x00007faacd1286b9 SWidget::Paint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 37 0x00007faacd1823d4 SCompoundWidget::OnPaint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 38 0x00007faa758e809a STutorialOverlay::OnPaint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 39 0x00007faacd1286b9 SWidget::Paint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 40 0x00007faacd183b20 SPanel::PaintArrangedChildren(FPaintArgs const&, FArrangedChildren const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 41 0x00007faacd183850 SPanel::OnPaint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 42 0x00007faacd1286b9 SWidget::Paint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 43 0x00007faacd1823d4 SCompoundWidget::OnPaint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 44 0x00007faacd1286b9 SWidget::Paint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 45 0x00007faacd183b20 SPanel::PaintArrangedChildren(FPaintArgs const&, FArrangedChildren const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 46 0x00007faacd183850 SPanel::OnPaint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 47 0x00007faacd1286b9 SWidget::Paint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 48 0x00007faacd18338a SOverlay::OnPaint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 49 0x00007faacd1286b9 SWidget::Paint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 50 0x00007faacd1823d4 SCompoundWidget::OnPaint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 51 0x00007faacd1286b9 SWidget::Paint(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 52 0x00007faacd190024 SWindow::PaintWindow(FPaintArgs const&, FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const
[Callstack] 53 0x00007faacd68c4b6 FSlateApplication::DrawWindowAndChildren(TSharedRef<SWindow, (ESPMode)0> const&, FDrawWindowArgs&)
[Callstack] 54 0x00007faacd68b6d7 FSlateApplication::PrivateDrawWindows(TSharedPtr<SWindow, (ESPMode)0>)
[Callstack] 55 0x00007faacd68ff65 FSlateApplication::Tick()
[Callstack] 56 0x000000000041c6f8 FEngineLoop::Tick()
[Callstack] 57 0x0000000000420383 GuardedMain(wchar_t const*)
[Callstack] 58 0x000000000042abc8 /home/admin/Projects/UnrealEngine47/UnrealEngine/Engine/Binaries/Linux/UE4Editor(main+0x7d8) [0x42abc8]
[Callstack] 59 0x00007faac8b47bf5 /lib64/libc.so.6(__libc_start_main+0xf5) [0x7faac8b47bf5]
[Callstack] 60 0x0000000000411d91 /home/admin/Projects/UnrealEngine47/UnrealEngine/Engine/Binaries/Linux/UE4Editor() [0x411d91]
```

---

<div class="post-metadata">

**Author:** ![RCL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RCL](https://forums.unrealengine.com/u/RCL)\
**Post date:** [May 20, 2015, 8:37pm UTC](https://forums.unrealengine.com/t/linux-on-build-error-assertion-failed-isinrenderingthread/319260/2 "2015-05-20T20:37:49Z")

</div>

Repro steps are perhaps incomplete. Callstack mentions STutorialContent - do you have any tutorials open at that time? Could you try without that? Also, could you try that in 4.8?

---

<div class="post-metadata">

**Author:** ![OlexandrI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OlexandrI](https://forums.unrealengine.com/u/OlexandrI)\
**Post date:** [May 21, 2015, 12:10pm UTC](https://forums.unrealengine.com/t/linux-on-build-error-assertion-failed-isinrenderingthread/319260/3 "2015-05-21T12:10:47Z")

</div>

I have already finished the tutorial; none of the tutorials are running at the time, but this doesn’t help. This error keeps popping up:

```
STUBBED: FLinuxPlatformProcess::IsThisApplicationForeground at /home/admin/Projects/UnrealEngine47/UnrealEngine/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformProcess.cpp:739 (IsThisApplicationForeground)
Assertion failed: IsInRenderingThread() [File:/home/admin/Projects/UnrealEngine47/UnrealEngine/Engine/Source/Runtime/RenderCore/Private/RenderResource.cpp] [Line: 40]

Signal 11 caught.
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 13858 requests (13858 known processed) with 33 events remaining.
Ensure condition failed: IsInGameThread() [File:/home/admin/Projects/UnrealEngine47/UnrealEngine/Engine/Source/Runtime/Core/Private/Modules/ModuleManager.cpp] [Line: 24]

Ensure condition failed: IsInGameThread() [File:/home/admin/Projects/UnrealEngine47/UnrealEngine/Engine/Source/Runtime/Core/Private/Modules/ModuleManager.cpp] [Line: 24]

XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 13965 requests (13965 known processed) with 0 events remaining.
Assertion failed: IsInRenderingThread() [File:/home/admin/Projects/UnrealEngine47/UnrealEngine/Engine/Source/Runtime/RenderCore/Private/RenderResource.cpp] [Line: 40]

```

Signal 11 caught.  
Signal 11 caught.  
AL lib: (EE) alc\_cleanup: 1 device not closed  
Ensure condition failed: Creations == Deletions [File:/home/admin/Projects/UnrealEngine47/UnrealEngine/Engine/Source/Runtime/Engine/Private/Slate/DebugCanvas.cpp] [Line: 19]  
FProxyCounter::~FProxyCounter has a mismatch. 693 creations != 692 deletions  
Ensure condition failed: IsInGameThread() [File:/home/admin/Projects/UnrealEngine47/UnrealEngine/Engine/Source/Runtime/Core/Private/Modules/ModuleManager.cpp] [Line: 24]

Version 4.8 is not the final version, I cannot use it. Version 4.7 is what I need.

---

<div class="post-metadata">

**Author:** ![RCL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RCL](https://forums.unrealengine.com/u/RCL)\
**Post date:** [May 21, 2015, 8:34pm UTC](https://forums.unrealengine.com/t/linux-on-build-error-assertion-failed-isinrenderingthread/319260/4 "2015-05-21T20:34:28Z")

</div>

That is baffling. What is your desktop environment and the OS? Can you repro that in Ubuntu (either Unity or KDE)?

---

<div class="post-metadata">

**Author:** ![OlexandrI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OlexandrI](https://forums.unrealengine.com/u/OlexandrI)\
**Post date:** [June 1, 2015, 12:19pm UTC](https://forums.unrealengine.com/t/linux-on-build-error-assertion-failed-isinrenderingthread/319260/5 "2015-06-01T12:19:51Z")

</div>

I am using Gentoo slim+fluxbox

---

<div class="post-metadata">

**Author:** ![OlexandrI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OlexandrI](https://forums.unrealengine.com/u/OlexandrI)\
**Post date:** [June 3, 2015, 1:05pm UTC](https://forums.unrealengine.com/t/linux-on-build-error-assertion-failed-isinrenderingthread/319260/6 "2015-06-03T13:05:47Z")

</div>

After installing KDevelop everything started working)
