2025-07-17 08:24 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003312Spring engineGeneralpublic2012-11-11 18:39
Reporterabma 
Assigned Toabma 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
Product Version91.0.1+git 
Target VersionFixed in Version 
Summary0003312: opengl errors with opensource drivers
Description[f=0002866] Error: OpenGL: source<API> type<error> id<0> severity<high>:
GL_STACK_UNDERFLOW in glPopMatrix(mode=GL_MODELVIEW)

[f=0002866] Error: OpenGL: source<API> type<error> id<0> severity<high>:
GL_INVALID_ENUM in glGetFramebufferAttachmentParameterivEXT(attachment)


[f=0002866] Error: OpenGL: source<API> type<error> id<0> severity<high>:
GL_INVALID_OPERATION in glFramebufferTexture2DEXT

Steps To Reproducestart zero-k, zoom over commander

if commander isn't visible, no opengl errors are shown
Additional InformationSpring 91.0.1-263-gf8e635c develop (Debug OMP)
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0009281

abma (administrator)

i set a breakpoint:

"break OpenGLDebugMessageCallback"
and backtraced all errors:

[f=0000000] Error: OpenGL: source<API> type<error> id<0> severity<high>:
GL_INVALID_ENUM in glGetIntegerv(pname=GL_MAX_UNIFORM_BUFFER_BINDINGS)

 at /home/abma/dev/spring/develop/rts/Rendering/GL/myGL.cpp:98
#1 0x00007fffea5367e9 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2 0x00007fffea54440c in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
0000003 0x00007fffea5449ab in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
0000004 0x00000000008bf5bb in CGlobalRendering::PostInit (this=0x1933d40)
    at /home/abma/dev/spring/develop/rts/Rendering/GlobalRendering.cpp:182
0000005 0x0000000000c0d1b0 in SpringApp::Initialize (this=0x7fffffffe480)
    at /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:247
#6 0x0000000000c122f1 in SpringApp::Run (this=0x7fffffffe480, argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:990
#7 0x0000000000bf0228 in MainFunc (argc=1, argv=0x7fffffffe5f8, ret=0x7fffffffe4cc)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:57
#8 0x0000000000bf05cd in Run (argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:68
#9 0x0000000000bf066a in main (argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:90

~0009282

abma (administrator)

[f=0000000] Error: OpenGL: source<API> type<error> id<0> severity<high>:
GL_INVALID_ENUM in glGetIntegerv(pname=GL_MAX_UNIFORM_BLOCK_SIZE)


#0 OpenGLDebugMessageCallback (source=33350, type=33356, id=0, severity=37190, length=65,
    message=0x7fffffffcd00 "GL_INVALID_ENUM in glGetIntegerv(pname=GL_MAX_UNIFORM_BLOCK_SIZE)",
    userParam=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

0x0) at /home/abma/dev/spring/develop/rts/Rendering/GL/myGL.cpp:98
#1 0x00007fffea5367e9 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2 0x00007fffea54440c in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
0000003 0x00007fffea5449ab in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
0000004 0x00000000008bf5d5 in CGlobalRendering::PostInit (this=0x1933d40)
    at /home/abma/dev/spring/develop/rts/Rendering/GlobalRendering.cpp:183
0000005 0x0000000000c0d1b0 in SpringApp::Initialize (this=0x7fffffffe480)
    at /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:247
#6 0x0000000000c122f1 in SpringApp::Run (this=0x7fffffffe480, argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:990
#7 0x0000000000bf0228 in MainFunc (argc=1, argv=0x7fffffffe5f8, ret=0x7fffffffe4cc)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:57
#8 0x0000000000bf05cd in Run (argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:68
#9 0x0000000000bf066a in main (argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:90

~0009283

abma (administrator)

this happens at exit:

[f=0019450] Error: OpenGL: source<API> type<error> id<0> severity<high>:
GL_INVALID_ENUM in glGetFramebufferAttachmentParameterivEXT(attachment)

#0 OpenGLDebugMessageCallback (source=33350, type=33356, id=0, severity=37190, length=71,
    message=0x7fffffffd080 "GL_INVALID_ENUM in glGetFramebufferAttachmentParameterivEXT(attachment)", userParam=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

0x0) at /home/abma/dev/spring/develop/rts/Rendering/GL/myGL.cpp:98
#1 0x00007fffea5367e9 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2 0x00000000008b0c64 in FBO::Detach (this=0x4e8d1c0, attachment=36064)
    at /home/abma/dev/spring/develop/rts/Rendering/GL/FBO.cpp:373
0000003 0x00000000008b0db3 in FBO::DetachAll (this=0x4e8d1c0)
    at /home/abma/dev/spring/develop/rts/Rendering/GL/FBO.cpp:403
0000004 0x00000000009250b0 in CShadowHandler::FreeTextures (this=0x4e8d130)
    at /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.cpp:145
0000005 0x0000000000924fe9 in CShadowHandler::Kill (this=0x4e8d130)
    at /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.cpp:138
#6 0x000000000095eaf5 in CShadowHandler::~CShadowHandler (this=0x4e8d130,
    __in_chrg=<optimized out>) at /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.h:21
#7 0x000000000095ec69 in SafeDelete<CShadowHandler*> (a=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

@0x187df20: 0x0)
    at /home/abma/dev/spring/develop/rts/System/Util.h:106
#8 0x000000000095da4a in CWorldDrawer::~CWorldDrawer (this=0x21a1a80, __in_chrg=<optimized out>)
    at /home/abma/dev/spring/develop/rts/Rendering/WorldDrawer.cpp:80
#9 0x00000000005539d7 in SafeDelete<CWorldDrawer*> (a=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

@0x2082a38: 0x0)
    at /home/abma/dev/spring/develop/rts/System/Util.h:106
0000010 0x00000000005446d5 in CGame::~CGame (this=0x2082880, __in_chrg=<optimized out>)
    at /home/abma/dev/spring/develop/rts/Game/Game.cpp:375
#11 0x0000000000544a06 in CGame::~CGame (this=0x2082880, __in_chrg=<optimized out>)
    at /home/abma/dev/spring/develop/rts/Game/Game.cpp:441
---Type <return> to continue, or q <return> to quit---
0000012 0x0000000000c12452 in SpringApp::Shutdown ()
    at /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:1030
0000013 0x0000000000c1238d in SpringApp::Run (this=0x7fffffffe480, argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:1013
0000014 0x0000000000bf0228 in MainFunc (argc=1, argv=0x7fffffffe5f8, ret=0x7fffffffe4cc)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:57
#15 0x0000000000bf05cd in Run (argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:68
#16 0x0000000000bf066a in main (argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:90

~0009284

Kloot (developer)

Last edited: 2012-10-31 19:10

View 2 revisions

these are still bugs in the drivers (because they do not implement modern OpenGL features), not in Spring...

~0009285

abma (administrator)

at exit, too:

[f=0019450] Error: OpenGL: source<API> type<error> id<0> severity<high>:
GL_INVALID_OPERATION in glFramebufferTexture2DEXT


#0 OpenGLDebugMessageCallback (source=33350, type=33356, id=0, severity=37190, length=49,
    message=0x7fffffffd060 "GL_INVALID_OPERATION in glFramebufferTexture2DEXT", userParam=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

0x0)
    at /home/abma/dev/spring/develop/rts/Rendering/GL/myGL.cpp:98
#1 0x00007fffea5367e9 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2 0x00007fffea53d748 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
0000003 0x00000000008b0d6f in FBO::Detach (this=0x4e8d1c0, attachment=36064)
    at /home/abma/dev/spring/develop/rts/Rendering/GL/FBO.cpp:392
0000004 0x00000000008b0db3 in FBO::DetachAll (this=0x4e8d1c0)
    at /home/abma/dev/spring/develop/rts/Rendering/GL/FBO.cpp:403
0000005 0x00000000009250b0 in CShadowHandler::FreeTextures (this=0x4e8d130)
    at /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.cpp:145
#6 0x0000000000924fe9 in CShadowHandler::Kill (this=0x4e8d130)
    at /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.cpp:138
#7 0x000000000095eaf5 in CShadowHandler::~CShadowHandler (this=0x4e8d130,
    __in_chrg=<optimized out>) at /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.h:21
#8 0x000000000095ec69 in SafeDelete<CShadowHandler*> (a=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

@0x187df20: 0x0)
    at /home/abma/dev/spring/develop/rts/System/Util.h:106
#9 0x000000000095da4a in CWorldDrawer::~CWorldDrawer (this=0x21a1a80, __in_chrg=<optimized out>)
    at /home/abma/dev/spring/develop/rts/Rendering/WorldDrawer.cpp:80
0000010 0x00000000005539d7 in SafeDelete<CWorldDrawer*> (a=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

@0x2082a38: 0x0)
    at /home/abma/dev/spring/develop/rts/System/Util.h:106
#11 0x00000000005446d5 in CGame::~CGame (this=0x2082880, __in_chrg=<optimized out>)
    at /home/abma/dev/spring/develop/rts/Game/Game.cpp:375
0000012 0x0000000000544a06 in CGame::~CGame (this=0x2082880, __in_chrg=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at /home/abma/dev/spring/develop/rts/Game/Game.cpp:441
0000013 0x0000000000c12452 in SpringApp::Shutdown ()
    at /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:1030
0000014 0x0000000000c1238d in SpringApp::Run (this=0x7fffffffe480, argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:1013
#15 0x0000000000bf0228 in MainFunc (argc=1, argv=0x7fffffffe5f8, ret=0x7fffffffe4cc)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:57
#16 0x0000000000bf05cd in Run (argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:68
#17 0x0000000000bf066a in main (argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:90

~0009286

abma (administrator)

still at exit:

[f=0019450] Error: OpenGL: source<API> type<error> id<0> severity<high>:
GL_INVALID_ENUM in glGetFramebufferAttachmentParameterivEXT(attachment)

#0 OpenGLDebugMessageCallback (source=33350, type=33356, id=0, severity=37190, length=71,
    message=0x7fffffffd080 "GL_INVALID_ENUM in glGetFramebufferAttachmentParameterivEXT(attachment)", userParam=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

0x0) at /home/abma/dev/spring/develop/rts/Rendering/GL/myGL.cpp:98
#1 0x00007fffea5367e9 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2 0x00000000008b0c64 in FBO::Detach (this=0x4e8d1c0, attachment=36065)
    at /home/abma/dev/spring/develop/rts/Rendering/GL/FBO.cpp:373
0000003 0x00000000008b0db3 in FBO::DetachAll (this=0x4e8d1c0)
    at /home/abma/dev/spring/develop/rts/Rendering/GL/FBO.cpp:403
0000004 0x00000000009250b0 in CShadowHandler::FreeTextures (this=0x4e8d130)
    at /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.cpp:145
0000005 0x0000000000924fe9 in CShadowHandler::Kill (this=0x4e8d130)
    at /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.cpp:138
#6 0x000000000095eaf5 in CShadowHandler::~CShadowHandler (this=0x4e8d130,
    __in_chrg=<optimized out>) at /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.h:21
#7 0x000000000095ec69 in SafeDelete<CShadowHandler*> (a=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

@0x187df20: 0x0)
    at /home/abma/dev/spring/develop/rts/System/Util.h:106
#8 0x000000000095da4a in CWorldDrawer::~CWorldDrawer (this=0x21a1a80, __in_chrg=<optimized out>)
    at /home/abma/dev/spring/develop/rts/Rendering/WorldDrawer.cpp:80
#9 0x00000000005539d7 in SafeDelete<CWorldDrawer*> (a=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

@0x2082a38: 0x0)
    at /home/abma/dev/spring/develop/rts/System/Util.h:106
0000010 0x00000000005446d5 in CGame::~CGame (this=0x2082880, __in_chrg=<optimized out>)
    at /home/abma/dev/spring/develop/rts/Game/Game.cpp:375
#11 0x0000000000544a06 in CGame::~CGame (this=0x2082880, __in_chrg=<optimized out>)
    at /home/abma/dev/spring/develop/rts/Game/Game.cpp:441
---Type <return> to continue, or q <return> to quit---
0000012 0x0000000000c12452 in SpringApp::Shutdown ()
    at /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:1030
0000013 0x0000000000c1238d in SpringApp::Run (this=0x7fffffffe480, argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:1013
0000014 0x0000000000bf0228 in MainFunc (argc=1, argv=0x7fffffffe5f8, ret=0x7fffffffe4cc)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:57
#15 0x0000000000bf05cd in Run (argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:68
#16 0x0000000000bf066a in main (argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:90

~0009287

abma (administrator)

still at exit:

[f=0019450] Error: OpenGL: source<API> type<error> id<0> severity<high>:
GL_INVALID_OPERATION in glFramebufferTexture2DEXT


#0 OpenGLDebugMessageCallback (source=33350, type=33356, id=0, severity=37190, length=49,
    message=0x7fffffffd060 "GL_INVALID_OPERATION in glFramebufferTexture2DEXT", userParam=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

0x0)
    at /home/abma/dev/spring/develop/rts/Rendering/GL/myGL.cpp:98
#1 0x00007fffea5367e9 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2 0x00007fffea53d748 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
0000003 0x00000000008b0d6f in FBO::Detach (this=0x4e8d1c0, attachment=36065)
    at /home/abma/dev/spring/develop/rts/Rendering/GL/FBO.cpp:392
0000004 0x00000000008b0db3 in FBO::DetachAll (this=0x4e8d1c0)
    at /home/abma/dev/spring/develop/rts/Rendering/GL/FBO.cpp:403
0000005 0x00000000009250b0 in CShadowHandler::FreeTextures (this=0x4e8d130)
    at /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.cpp:145
#6 0x0000000000924fe9 in CShadowHandler::Kill (this=0x4e8d130)
    at /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.cpp:138
#7 0x000000000095eaf5 in CShadowHandler::~CShadowHandler (this=0x4e8d130,
    __in_chrg=<optimized out>) at /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.h:21
#8 0x000000000095ec69 in SafeDelete<CShadowHandler*> (a=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

@0x187df20: 0x0)
    at /home/abma/dev/spring/develop/rts/System/Util.h:106
#9 0x000000000095da4a in CWorldDrawer::~CWorldDrawer (this=0x21a1a80, __in_chrg=<optimized out>)
    at /home/abma/dev/spring/develop/rts/Rendering/WorldDrawer.cpp:80
0000010 0x00000000005539d7 in SafeDelete<CWorldDrawer*> (a=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

@0x2082a38: 0x0)
    at /home/abma/dev/spring/develop/rts/System/Util.h:106
#11 0x00000000005446d5 in CGame::~CGame (this=0x2082880, __in_chrg=<optimized out>)
    at /home/abma/dev/spring/develop/rts/Game/Game.cpp:375
0000012 0x0000000000544a06 in CGame::~CGame (this=0x2082880, __in_chrg=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at /home/abma/dev/spring/develop/rts/Game/Game.cpp:441
0000013 0x0000000000c12452 in SpringApp::Shutdown ()
    at /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:1030
0000014 0x0000000000c1238d in SpringApp::Run (this=0x7fffffffe480, argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:1013
#15 0x0000000000bf0228 in MainFunc (argc=1, argv=0x7fffffffe5f8, ret=0x7fffffffe4cc)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:57
#16 0x0000000000bf05cd in Run (argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:68
#17 0x0000000000bf066a in main (argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:90

~0009288

abma (administrator)

still at exit:

[f=0019450] Error: OpenGL: source<API> type<error> id<0> severity<high>:
GL_INVALID_ENUM in glGetFramebufferAttachmentParameterivEXT(attachment)


#0 OpenGLDebugMessageCallback (source=33350, type=33356, id=0, severity=37190, length=71,
    message=0x7fffffffd080 "GL_INVALID_ENUM in glGetFramebufferAttachmentParameterivEXT(attachment)", userParam=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

0x0) at /home/abma/dev/spring/develop/rts/Rendering/GL/myGL.cpp:98
#1 0x00007fffea5367e9 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2 0x00000000008b0c64 in FBO::Detach (this=0x4e8d1c0, attachment=36066)
    at /home/abma/dev/spring/develop/rts/Rendering/GL/FBO.cpp:373
0000003 0x00000000008b0db3 in FBO::DetachAll (this=0x4e8d1c0)
    at /home/abma/dev/spring/develop/rts/Rendering/GL/FBO.cpp:403
0000004 0x00000000009250b0 in CShadowHandler::FreeTextures (this=0x4e8d130)
    at /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.cpp:145
0000005 0x0000000000924fe9 in CShadowHandler::Kill (this=0x4e8d130)
    at /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.cpp:138
#6 0x000000000095eaf5 in CShadowHandler::~CShadowHandler (this=0x4e8d130,
    __in_chrg=<optimized out>) at /home/abma/dev/spring/develop/rts/Rendering/ShadowHandler.h:21
#7 0x000000000095ec69 in SafeDelete<CShadowHandler*> (a=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

@0x187df20: 0x0)
    at /home/abma/dev/spring/develop/rts/System/Util.h:106
#8 0x000000000095da4a in CWorldDrawer::~CWorldDrawer (this=0x21a1a80, __in_chrg=<optimized out>)
    at /home/abma/dev/spring/develop/rts/Rendering/WorldDrawer.cpp:80
#9 0x00000000005539d7 in SafeDelete<CWorldDrawer*> (a=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

@0x2082a38: 0x0)
    at /home/abma/dev/spring/develop/rts/System/Util.h:106
0000010 0x00000000005446d5 in CGame::~CGame (this=0x2082880, __in_chrg=<optimized out>)
    at /home/abma/dev/spring/develop/rts/Game/Game.cpp:375
#11 0x0000000000544a06 in CGame::~CGame (this=0x2082880, __in_chrg=<optimized out>)
    at /home/abma/dev/spring/develop/rts/Game/Game.cpp:441
---Type <return> to continue, or q <return> to quit---
0000012 0x0000000000c12452 in SpringApp::Shutdown ()
    at /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:1030
0000013 0x0000000000c1238d in SpringApp::Run (this=0x7fffffffe480, argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:1013
0000014 0x0000000000bf0228 in MainFunc (argc=1, argv=0x7fffffffe5f8, ret=0x7fffffffe4cc)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:57
#15 0x0000000000bf05cd in Run (argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:68
#16 0x0000000000bf066a in main (argc=1, argv=0x7fffffffe5f8)
    at /home/abma/dev/spring/develop/rts/System/Main.cpp:90

~0009289

abma (administrator)

Last edited: 2012-10-31 19:12

View 2 revisions

all backtraces above this are
Spring 91.0.1-295-g18d04d6 develop (Debug OMP)

(there are some more errors left at exit, but maybe they are duplicates)

~0009290

zerver (reporter)

Last edited: 2012-11-01 00:34

View 2 revisions

The underflow is likely due to this:

//FIXME: Lua modifies the matrices w/o reseting it! (quite complexe to fix because ClearMatrixStack() makes it impossible to use glPushMatrix)

https://github.com/spring/spring/blob/develop/rts/Game/UI/MiniMap.cpp#L1193

~0009291

abma (administrator)

Last edited: 2012-11-01 00:39

View 2 revisions

hm, after disabling lua minimap widgets this error (or is something also unimplemented in opensource drivers?) is left:

[f=0000043] Error: OpenGL: source<API> type<error> id<0> severity<high>:
GL_INVALID_OPERATION in Inside glBegin/glEnd
[f=0000043] Error: Stacktrace (rendering):
[f=0000043] Error: <0> /home/abma/dev/spring/develop/rts/Rendering/GL/myGL.cpp:175 (discriminator 1)
[f=0000043] Error: <1> /usr/lib/x86_64-linux-gnu/dri/r600_dri.so(+0xa67e9) [0x7f093942f7e9]
[f=0000043] Error: <2> /home/abma/dev/spring/develop/rts/Rendering/Models/3DModel.cpp:198
[f=0000043] Error: <3> /home/abma/dev/spring/develop/rts/Rendering/Models/3DModel.cpp:71 (discriminator 2)
[f=0000043] Error: <4> /home/abma/dev/spring/develop/rts/Rendering/Models/3DModel.h:237
[f=0000043] Error: <5> /home/abma/dev/spring/develop/rts/Rendering/UnitDrawer.cpp:1826
[f=0000043] Error: <6> /home/abma/dev/spring/develop/rts/Rendering/UnitDrawer.cpp:1854
[f=0000043] Error: <7> /home/abma/dev/spring/develop/rts/Rendering/UnitDrawer.cpp:423
[f=0000043] Error: <8> /home/abma/dev/spring/develop/rts/Rendering/UnitDrawer.cpp:508
[f=0000043] Error: <9> /home/abma/dev/spring/develop/rts/Rendering/UnitDrawer.cpp:465 (discriminator 2)
[f=0000043] Error: <10> /home/abma/dev/spring/develop/rts/Rendering/WorldDrawer.cpp:140
[f=0000043] Error: <11> /home/abma/dev/spring/develop/rts/Game/Game.cpp:1175
[f=0000043] Error: <12> /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:929
[f=0000043] Error: <13> /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:1006
[f=0000043] Error: <14> /home/abma/dev/spring/develop/rts/System/Main.cpp:57
[f=0000043] Error: <15> /home/abma/dev/spring/develop/rts/System/Main.cpp:71
[f=0000043] Error: <16> /home/abma/dev/spring/develop/rts/System/Main.cpp:91
[f=0000043] Error: <17> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f0943bdf76d]
[f=0000043] Error: <18> ??:?

~0009344

abma (administrator)

most of them are fixed / not fixable.

a remaining one: 0003328
+Notes

-Issue History
Date Modified Username Field Change
2012-10-27 17:09 abma New Issue
2012-10-27 17:12 abma Description Updated View Revisions
2012-10-27 17:12 abma Additional Information Updated View Revisions
2012-10-27 17:14 abma Summary GL_INVALID_OPERATION in Inside glBegin/glEnd (with opensource driver) => opengl errors with opensource drivers
2012-10-31 19:01 abma Note Added: 0009281
2012-10-31 19:02 abma Note Added: 0009282
2012-10-31 19:06 abma Note Added: 0009283
2012-10-31 19:06 Kloot Note Added: 0009284
2012-10-31 19:06 abma Note Added: 0009285
2012-10-31 19:07 abma Note Added: 0009286
2012-10-31 19:08 abma Note Added: 0009287
2012-10-31 19:09 abma Note Added: 0009288
2012-10-31 19:10 abma Note Added: 0009289
2012-10-31 19:10 Kloot Note Edited: 0009284 View Revisions
2012-10-31 19:12 abma Note Edited: 0009289 View Revisions
2012-10-31 21:16 zerver Note Added: 0009290
2012-11-01 00:34 abma Note Edited: 0009290 View Revisions
2012-11-01 00:38 abma Note Added: 0009291
2012-11-01 00:39 abma Note Edited: 0009291 View Revisions
2012-11-11 18:39 abma Note Added: 0009344
2012-11-11 18:39 abma Status new => closed
2012-11-11 18:39 abma Assigned To => abma
2012-11-11 18:39 abma Resolution open => fixed
+Issue History