AnsweredAssumed Answered

CodeXL and GLFW 3.0 debug

Question asked by maxis11 on May 14, 2013
Latest reply on May 15, 2013 by maxis11

I got some trouble in glfwInit():

 

Signal

Event Properties

Reason  

SIGSEGV

Address  

000000000000000000

Details  

Invalid memory reference.

 

 

_glfwInitContextAPI - libglfw.so.3

_glfwPlatformInit - libglfw.so.3

glfwInit - libglfw.so.3

InitGLClass::InitGLClass - engInit.cpp, line 28

__static_initialization_and_destruction_0 - main.cpp, line 5

_GLOBAL__sub_I_initgl - main.cpp, line 33

__libc_csu_init -

__libc_start_main - libc.so.6

_start -

 

in _glfwInitContextAPI:

 

Call Stack

Function Name  

_glfwInitContextAPI

File Path  

N/A

Line Number  

N/A

Module Name  

/usr/local/lib/libglfw.so.3

Instruction Counter Address  

0x00007ffff7603429

Function address  

N/A

 

InitGLClass::InitGLClass()

{

          Init=false;

          window=nullptr;

          if (!glfwInit())

          {

                    log.WriteLog("Add errlog");

                    errlog.WriteLog("glfwInit error");

                    Init=false;

          }

          monitor = glfwGetPrimaryMonitor();

          vidmode = glfwGetVideoMode (monitor);

          Init=true;

          log.WriteLog("InitGLClass() OK");

}

 

amd catalyst 13.4 ubuntu 13.04/amd64 app sdk 2.8 codeXL 1.1

Outcomes