2024-03-19 10:48 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005738Spring engineGeneralpublic2017-09-01 19:24
Reporterabma 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version103.0 +git 
Target Version104.0Fixed in Version103.0 +git 
Summary0005738: Creating ShadowHandler: FBO incomplete: no attachments and default width or height is 0 [-1]
Description[f=-000001] Initializing Map Features
[f=-000001] Creating ShadowHandler
[f=-000001] Warning: [OPENGL_DEBUG] id=1 source=API type=OTHER severity=MEDIUM msg="FBO incomplete: no attachments and default width or height is 0 [-1]
"
[f=-000001] [CrashHandler] Warning: Stacktrace (rendering) for Spring 103.0.1-1316-g3fc569852 develop (Debug):
[f=-000001] [CrashHandler] Warning: [00] /home/abma/dev/spring/develop/rts/System/Platform/Linux/CrashHandler.cpp:714 CrashHandler::Stacktrace(bool*, unsigned long*, char const*, int)
[f=-000001] [CrashHandler] Warning: [01] /home/abma/dev/spring/develop/rts/System/Platform/Linux/CrashHandler.cpp:749 CrashHandler::Stacktrace(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char [...]
[f=-000001] [CrashHandler] Warning: [02] /home/abma/dev/spring/develop/rts/Rendering/GlobalRendering.cpp:1132 (discriminator 6) glDebugMessageCallbackFunc(unsigned int, unsigned int, unsigned int, unsigned int, int, char c [...]
[f=-000001] [CrashHandler] Warning: [03] /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0xafe62) [0x7fe62e222e62] __driDriverGetExtensions_virtio_gpu
[f=-000001] [CrashHandler] Warning: [04] /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0xaff17) [0x7fe62e222f17] __driDriverGetExtensions_virtio_gpu
[f=-000001] [CrashHandler] Warning: [05] /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0xb4453) [0x7fe62e227453] __driDriverGetExtensions_virtio_gpu
[f=-000001] [CrashHandler] Warning: [06] /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x11fc38) [0x7fe62e292c38] __driDriverGetExtensions_virtio_gpu
[f=-000001] [CrashHandler] Warning: [07] /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x120755) [0x7fe62e293755] __driDriverGetExtensions_virtio_gpu
[f=-000001] [CrashHandler] Warning: [08] /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x154da6) [0x7fe62e2c7da6] __driDriverGetExtensions_virtio_gpu
[f=-000001] [CrashHandler] Warning: [09] /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x1551a1) [0x7fe62e2c81a1] __driDriverGetExtensions_virtio_gpu
[f=-000001] [CrashHandler] Warning: [10] /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x16a1c5) [0x7fe62e2dd1c5] __driDriverGetExtensions_virtio_gpu
[f=-000001] [CrashHandler] Warning: [11] /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0x16b060) [0x7fe62e2de060] __driDriverGetExtensions_virtio_gpu
[f=-000001] [CrashHandler] Warning: [12] /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.cpp:293 CShadowHandler::InitDepthTarget()
[f=-000001] [CrashHandler] Warning: [13] /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.cpp:121 CShadowHandler::Init()
[f=-000001] [CrashHandler] Warning: [14] /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.h:20 CShadowHandler::CShadowHandler()
[f=-000001] [CrashHandler] Warning: [15] /home/abma/dev/spring/develop/rts/Rendering/WorldDrawer.cpp:107 CWorldDrawer::LoadPost() const
[f=-000001] [CrashHandler] Warning: [16] /home/abma/dev/spring/develop/rts/Game/Game.cpp:634 CGame::PostLoadRendering()
[f=-000001] [CrashHandler] Warning: [17] /home/abma/dev/spring/develop/rts/Game/Game.cpp:420 CGame::LoadGame(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> [...]
[f=-000001] [CrashHandler] Warning: [18] /home/abma/dev/spring/develop/rts/Game/LoadScreen.cpp:184 CLoadScreen::Init()
[f=-000001] [CrashHandler] Warning: [19] /home/abma/dev/spring/develop/rts/Game/LoadScreen.cpp:209 (discriminator 2) CLoadScreen::CreateInstance(std::__cxx11::basic_string<char, std::char_traits<char>, std::allo [...]
[f=-000001] [CrashHandler] Warning: [20] /home/abma/dev/spring/develop/rts/Game/PreGame.cpp:381 (discriminator 3) CPreGame::UpdateClientNet()
[f=-000001] [CrashHandler] Warning: [21] /home/abma/dev/spring/develop/rts/Game/PreGame.cpp:187 CPreGame::Update()
[f=-000001] [CrashHandler] Warning: [22] /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:856 (discriminator 2) SpringApp::Update()
[f=-000001] [CrashHandler] Warning: [23] /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:887 SpringApp::Run()
[f=-000001] [CrashHandler] Warning: [24] /home/abma/dev/spring/develop/rts/System/Main.cpp:43 Run(int, char**)
[f=-000001] [CrashHandler] Warning: [25] /home/abma/dev/spring/develop/rts/System/Main.cpp:92 main
[f=-000001] [CrashHandler] Warning: [26] /build/glibc-p3Km7c/glibc-2.24/csu/../csu/libc-start.c:325 __libc_start_main
[f=-000001] [CrashHandler] Warning: [27] ./spring(_start+0x2a) [0x560827b4edea] _start
Steps To Reproducestart spring
Additional Informationthere are some more opengl related errors in infolog: above is just the first. the others very likely are game specific, so nothing to fix i guess.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0018321

Kloot (developer)

seems to be specific to mesa because it doesn't trigger for me (linux64/nvidia).

~0018322

abma (administrator)

tested around a bit:

moving fb.Bind()

between glTexImage2D() and fb.AttachTexture() makes the error disappear.

does this make sense / is the code valid?

~0018323

abma (administrator)

http://paste.springfiles.com/view/raw/d3fc45cd

~0018324

Kloot (developer)

Last edited: 2017-09-01 04:16

View 2 revisions

that's valid, it just doesn't make sense why mesa would care about the ordering since glTexImage2D basically reduces to malloc + memcpy. there may be other cases to look out for also.

+Notes

-Issue History
Date Modified Username Field Change
2017-09-01 02:04 abma New Issue
2017-09-01 02:04 abma File Added: infolog.txt
2017-09-01 02:19 abma Additional Information Updated View Revisions
2017-09-01 02:56 Kloot Note Added: 0018321
2017-09-01 03:20 abma Note Added: 0018322
2017-09-01 03:20 abma Note Added: 0018323
2017-09-01 04:12 Kloot Note Added: 0018324
2017-09-01 04:16 Kloot Note Edited: 0018324 View Revisions
2017-09-01 19:24 Kloot Status new => resolved
2017-09-01 19:24 Kloot Resolution open => fixed
2017-09-01 19:24 Kloot Fixed in Version => 103.0 +git
+Issue History