Linux on build Error: Assertion failed: IsInRenderingThread()

When i click File->PackageProject->Linux i have next error :frowning:
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]

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?

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.

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

I am using Gentoo slim+fluxbox

After installing KDevelop everything started working)