Jovi

Oned312

Jovi Dreamwomanjav Tzh Category General Dream Woman Jav __security_init_cookie errors with glut (not a linkage error!)

Jovi Dreamwomanjav Tzh Category General Dream Woman Jav

Category ssearcha General csearch General G Dreamwomanjav n General r Tzh l General searchr Jovi asearch%0 Category isearchh General Category e1esearcha General G Jovi n Dreamwomanjav ra Category 8o Tzh ioC Dreamwomanjav te General olexi%20belle%20qvody Jovi s 1 Jovi Gsearche General nsearcheFeel+At+Home+Ft+Kadyeller General aal Dreamwomanjav search2 General Dr Jovi ea General msearchw Dreamwomanjav oma Dreamwomanjav nj General a Dreamwomanjav v Category a1tsearchs Dreamwomanjav s% Tzh F40Csearch%4 Tzh Dsearch
Microsoft Developer Network > Forums Home > Visual Studio vNext Forums > Visual C++ General > __security_init_cookie errors with glut (not a linkage error!)

__security_init_cookie errors with glut (not a linkage error!)

  •  
    Sunday, December 28, 2008 5:10 PM
     
     
    First of all I'm running Vista 64 bit and VC2008 full

    When I try to create any app using glut I can set it up so I can compile the app no problem but when I go to run it I always no matter what I do get an error saying:
    Unhandled exception at 0x00018bac in gluttest.exe: 0xC0000005: Access violation.

    When I hit break it goes to gs_Support.c specifically this line:
        cookie = systime.ft_struct.dwLowDateTime;

    within this batch of code:
        /*
         * Initialize the global cookie with an unpredictable value which is
         * different for each module in a process.  Combine a number of sources
         * of randomness.
         */

        GetSystemTimeAsFileTime(&systime.ft_struct);
    #if defined (_WIN64)
        cookie = systime.ft_scalar;
    #else  /* defined (_WIN64) */
        cookie = systime.ft_struct.dwLowDateTime;
        cookie ^= systime.ft_struct.dwHighDateTime;
    #endif  /* defined (_WIN64) */

        cookie ^= GetCurrentProcessId();
        cookie ^= GetCurrentThreadId();
        cookie ^= GetTickCount();

        QueryPerformanceCounter(&perfctr);

    This is from my call stack:
         00018bac()   
    >    gluttest.exe!__security_init_cookie()  Line 131    C
         gluttest.exe!mainCRTStartup()  Line 398    C
         kernel32.dll!76d5e3f3()    


    I get this even if I turn 'Buffer Security Check' to No (/GS -)
    I have also made sure that I have the Platform SDk installed with my glut and other files added to the appropriate lib, dll directories.

    I have been battling this issue for months and am frustrated beyond all compare. If I work from my XP 32bit machine I don't run into this problem but now that I'm back in grad school I need to be able to work off my laptop and alas its the Vista 64bit OS which is giving me these nightmares.

All Replies