Crash during reflection target creation in debug build

When trying to start our project built with debug configuration for OpenGL 4 on Linux it fails to create the floating point scratch cube map used for sky capture.
This crash does not occur when using the development configuration.
The callstack is:

raise()
FLinuxPlatformMisc::DebugBreak()
FOutputDeviceLinuxError::Serialize()
FOutputDevice::Logf()
FDebug::AssertFailed()
FMsg::Logf()
OpenGLDebugMessageCallbackARB()
??() at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
??() at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
??() at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
 ??() at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
 FOpenGL4::TextureView()
 FOpenGLDynamicRHI::RHICreateShaderResourceView()
 FDynamicRHI::RHICreateShaderResourceView_RenderThread()
 FRHICommandListImmediate::CreateShaderResourceView()
 RHICreateShaderResourceView()
 FRenderTargetPool::FindFreeElement()
 FSceneRenderTargets::AllocateReflectionTargets()
 ClearScratchCubemaps()
 FScene::UpdateSkyCaptureContents()
 TGraphTask<FScene::UpdateSkyCaptureContents()
 FBaseGraphTask::Execute()
 FNamedTaskThread::ProcessTasksNamedThread()
 FNamedTaskThread::ProcessTasksUntilQuit()
 FTaskGraphImplementation::ProcessThreadUntilRequestReturn()
 RenderingThreadMain()
 FRenderingThread::Run()
 FRunnableThreadPThread::Run()
 FRunnableThreadPThread::_ThreadProc()
 start_thread()
 clone()

I would be very grateful for any hints on this as this issue seems to me to be rather unrelated to any game specific assets or settings.


Edit: fixed typo in title

This is a debug message coming from OpenGL debug callback (enabled by default in Debug, to enable in Development pass -openglDebug). Could you share the message itself? (it should be printed to the log).

Thanks a lot for your reply.
Probably I missed to include the log to the initial post because I don’t get much more information from it than from the callstack. The log states:

Fatal error: [File:/home/<USER>/src/Engine/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLDevice.cpp] [Line: 355] 
[API][Error][High][1000] glTextureView has generated an error (GL_INVALID_OPERATION)
*** Program received signal SIGTRAP (Trace/breakpoint trap) ***

Possibly there is already a problem with the texture the texture view tries to refer to, but I don’t know how I could track this.

There is a number of things that may cause glTextureView to return GL_INVALID_OPERATION. It is possible that one of these things is indeed true on ATI drivers but not on NVidia. However, at the moment we don’t have a Linux machine with an AMD card, so unfortunately we cannot check/reproduce the problem.