Opened 15 years ago

Last modified 13 years ago

#253 closed defect

Crash on loding CSimulation — at Version 1

Reported by: Jan Chrastina Owned by: Jan Wassenberg
Priority: Should Have Milestone: Alpha 5
Component: Core engine Keywords: Crash Windows XP
Cc: Patch:

Description (last modified by Philip Taylor)

I cannot start single player game on Windows XP SP2, crash occurs when loding CSimulation.

See the log bellow with comments marked with * on the beginning.

When start pyrogenesis.exe several errors occures:

Assertion failed: "resolution <= 2e-3"
Location: whrt.cpp:114 (InitCounter)

Call stack:

InitCounter (whrt.cpp:114)

whrt_Init (whrt.cpp:300)

winit_CallInitFunctions (winit.cpp:84)

wstartup_InitAndRegisterShutdown (wstartup.cpp:104)

initterm_e (:0)

__tmainCRTStartup (crtexe.c:483)
    nested = 0 (0x00000000)

CallStartupWithinTryBlock (wseh.cpp:355)
    ret = 4183845500 (0xF9606A7C)

RegisterWaitForInputIdle (:0)


errno = 0 (?)
OS error = 0 (no error code was set)

***Continue pressed***

Assertion failed: "resolution > 0.0"
Location: frequency_filter.cpp:36 (FrequencyEstimator::FrequencyEstimator)

Call stack:

FrequencyEstimator::FrequencyEstimator (frequency_filter.cpp:36)
    this = (unavailable)
    resolution = -1.#IND (0xFFF8000000000000)

FrequencyFilter::FrequencyFilter (frequency_filter.cpp:191)
    this = (unavailable)
    resolution = -1.#IND (0xFFF8000000000000)
    expectedFrequency = 30 (0x403E000000000000)

CreateFrequencyFilter (frequency_filter.cpp:233)
    resolution = -1.#IND (0xFFF8000000000000)
    expectedFrequency = 30 (0x403E000000000000)

RunGameOrAtlas (main.cpp:395)
    argc = 1 (0x00000001)
    argv = 0x08CE6290 -> 0x08CE6298 -> "C:\Documents and Settings\jchrast\My Documents\0AD\trunk\binaries\system\pyrogenesis.exe"
    args = 
        m_Args = (error -100500 while analyzing vector<pair<CStr8,CStr8> >)
        m_Arg0 = { (error -100500 while analyzing string >) }


main (main.cpp:414)
    argc = 1 (0x00000001)
    argv = 0x08CE6290 (see above)

__tmainCRTStartup (crtexe.c:586)
    nested = 0 (0x00000000)

CallStartupWithinTryBlock (wseh.cpp:355)
    ret = 422533380 (0x192F5904)

RegisterWaitForInputIdle (:0)


errno = 0 (?)
OS error = 0 (no error code was set)

***Continue pressed****

***Window frame occures***

Assertion failed: "TimeSinceLastFrame > 0.0f"
Location: main.cpp:201 (Frame)

Call stack:

Frame (main.cpp:201)
    need_update = false
    TimeSinceLastFrame = -347316158464.000000 (0xD2A1BB50)
    need_render = false
    down = [3] { 0.000000 (0x08CE7758), 0.000000 (0x00401E58), 0.000000 (0x0012FF34) }

RunGameOrAtlas (main.cpp:401)
    argc = 1 (0x00000001)
    argv = 0x08CE6290 -> 0x08CE6298 -> "C:\Documents and Settings\jchrast\My Documents\0AD\trunk\binaries\system\pyrogenesis.exe"
    args = 
        m_Args = (error -100500 while analyzing vector<pair<CStr8,CStr8> >)
        m_Arg0 = { (error -100500 while analyzing string >) }


main (main.cpp:414)
    argc = 1 (0x00000001)
    argv = 0x08CE6290 (see above)

__tmainCRTStartup (crtexe.c:586)
    nested = 0 (0x00000000)

CallStartupWithinTryBlock (wseh.cpp:355)
    ret = 645332759 (0x2676FF17)

RegisterWaitForInputIdle (:0)


errno = 0 (?)
OS error = 0 (no error code was set)

***Initial menu inside widow frame occurs***

Assertion failed: "TimeSinceLastFrame > 0.0f"
Location: main.cpp:201 (Frame)

Call stack:

Frame (main.cpp:201)
    need_update = false
    TimeSinceLastFrame = -347316158464.000000 (0xD2A1BB50)
    need_render = false
    down = [3] { 0.000000 (0x08CE7758), 0.000000 (0x00401E58), 0.000000 (0x0012FF34) }

RunGameOrAtlas (main.cpp:401)
    argc = 1 (0x00000001)
    argv = 0x08CE6290 -> 0x08CE6298 -> "C:\Documents and Settings\jchrast\My Documents\0AD\trunk\binaries\system\pyrogenesis.exe"
    args = 
        m_Args = (error -100500 while analyzing vector<pair<CStr8,CStr8> >)
        m_Arg0 = { (error -100500 while analyzing string >) }


main (main.cpp:414)
    argc = 1 (0x00000001)
    argv = 0x08CE6290 (see above)

__tmainCRTStartup (crtexe.c:586)
    nested = 0 (0x00000000)

CallStartupWithinTryBlock (wseh.cpp:355)
    ret = 645332759 (0x2676FF17)

RegisterWaitForInputIdle (:0)


errno = 0 (?)
OS error = 0 (no error code was set)

***COntinue pressed****

Assertion failed: "TimeSinceLastFrame > 0.0f"
Location: main.cpp:201 (Frame)

Call stack:

Frame (main.cpp:201)
    need_update = false
    TimeSinceLastFrame = -347316158464.000000 (0xD2A1BB50)
    need_render = false
    down = [3] { 0.000000 (0x08CE7758), 0.000000 (0x00401E58), 0.000000 (0x0012FF34) }

RunGameOrAtlas (main.cpp:401)
    argc = 1 (0x00000001)
    argv = 0x08CE6290 -> 0x08CE6298 -> "C:\Documents and Settings\jchrast\My Documents\0AD\trunk\binaries\system\pyrogenesis.exe"
    args = 
        m_Args = (error -100500 while analyzing vector<pair<CStr8,CStr8> >)
        m_Arg0 = { (error -100500 while analyzing string >) }


main (main.cpp:414)
    argc = 1 (0x00000001)
    argv = 0x08CE6290 (see above)

__tmainCRTStartup (crtexe.c:586)
    nested = 0 (0x00000000)

CallStartupWithinTryBlock (wseh.cpp:355)
    ret = 645332759 (0x2676FF17)

RegisterWaitForInputIdle (:0)


errno = 0 (?)
OS error = 0 (no error code was set)

***Continue pressed***
***The last error will re-appear forever until Suppress is clicked***
***Suppress clicked***

***Single player clicked***
***Game setup occurs***
***Start! clicked***

***When loading CSimulation***

Much to our regret we must report the program has encountered an error.

Please let us know at http://trac.wildfiregames.com/ and attach the crashlog.txt and crashlog.dmp files.

Details: unhandled exception (Access violation reading 0x00000000)

Location: unknown:0 (?)

Call stack:

00000000


errno = 0 (?)
OS error = 0 (no error code was set)

***Surppress dashed out so Continue clicked***

***Windows XP SP3 reported pyrogenesis.exe has encountered a problem and needs to close. ...***

Change History (2)

by Jan Chrastina, 15 years ago

Attachment: mainlog.html added

Crash on Win XP when loading CSimulation

comment:1 by Philip Taylor, 15 years ago

Description: modified (diff)
Owner: set to Jan Wassenberg

Looks like an issue with timers. Assigning to Jan...

Note: See TracTickets for help on using tickets.