Jump to content

Bug closing the game


mariobranco
 Share

Recommended Posts

Assertion failed: "m_Runtimes.size() == 0 && "All runtimes must be destroyed before calling JS_ShutDown!""
Location: ScriptEngine.h:43 (ScriptEngine::~ScriptEngine)

Call stack:

ScriptEngine::~ScriptEngine (scriptengine.h:43)
    this = (unavailable)

RunGameOrAtlas (main.cpp:537)
    argc = 1 (0x00000001)
    argv = 0x031C0008 -> 0x031C0028 -> "C:\Users\M\AppData\Local\0 A.D. alpha\binaries\system\pyrogenesis.exe"
    replayFile = (unsupported basic_string<char,char_traits<char> >)
    scriptEngine = 
        (Singleton<ScriptEngine>)
        m_Runtimes = (unsupported list<JSRuntime const * >)

    args = 
        m_Args = (unsupported vector<pair<CStr8,CStr8> >)
        m_Arg0 = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 92 ('\')


    res = 0 (0x0000000000000000)
    paths = 
        m_root = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 33 ('!')

        m_rdata = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 59 (';')

        m_gameData = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 2

        m_userData = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 0

        m_config = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 1

        m_cache = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 16416

        m_logs = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 0


    replay = 
        m_Stream = 0x00000004

    mod = 
        path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
        separator = 24844

    zip = 
        path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
        separator = 1

    mods = (unsupported vector<CStr8 >)
    paths = 
        m_root = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 33 ('!')

        m_rdata = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 59 (';')

        m_gameData = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 2

        m_userData = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 0

        m_config = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 1

        m_cache = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 16416

        m_logs = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 0


    builder = 
        m_VFS = (shared_ptr<IVFS>)
        m_Files = (unsupported vector<Path >)
        m_TempDir = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 3864

        m_NumBaseMods = 1998184139 (0x7719DECB)


SDL_main (main.cpp:567)
    argc = 1 (0x00000001)
    argv = 0x031C0008 (see above)

main_utf8 (sdl_windows_main.c:126)
    argc = 1 (0x00000001)
    argv = 0x031C0008 (see above)

wmain (sdl_windows_main.c:151)
    argc = 1 (0x00000001)
    wargv = 0x01534420 -> 0x01534428 -> 67 (0x0043)
    wenvp = 0x0152F498 -> 40800 (0x9F60)
    argv = 0x031C0008 (see above)
    retval = 0 (0x00000000)
    i = 1 (0x00000001)

CallStartupWithinTryBlock (wseh.cpp:364)
    ret = 20459840 (0x01383140)

RtlUnicodeStringToInteger (:0)

RtlUnicodeStringToInteger (:0)


errno = 0 (No error reported here)
OS error = 0 (no error code was set)

Windows 10 x64 | Window mode
Open the game > Open Multiplayer > Host a game > Remove all bots and players > Close the game on the normal "X" to close windows

Link to comment
Share on other sites

Got also it for the first time today, just at end of the loading screen (I was doing nothing).

 

Spoiler

ScriptEngine.h(43): Assertion failed: "m_Runtimes.size() == 0 && "All runtimes must be destroyed before calling JS_ShutDown!""
Assertion failed: "m_Runtimes.size() == 0 && "All runtimes must be destroyed before calling JS_ShutDown!""
Location: ScriptEngine.h:43 (~ScriptEngine)

Call stack:

(0x5589204f0a8e) ./binaries/system/pyrogenesis_dbg(+0x84fa8e) [0x5589204f0a8e]
(0x55892048a018) ./binaries/system/pyrogenesis_dbg(+0x7e9018) [0x55892048a018]
(0x55892048a604) ./binaries/system/pyrogenesis_dbg(+0x7e9604) [0x55892048a604]
(0x55892048ab03) ./binaries/system/pyrogenesis_dbg(+0x7e9b03) [0x55892048ab03]
(0x55891fdf1c1c) ./binaries/system/pyrogenesis_dbg(+0x150c1c) [0x55891fdf1c1c]
(0x55891fdef55c) ./binaries/system/pyrogenesis_dbg(+0x14e55c) [0x55891fdef55c]
(0x55891fdef8a0) ./binaries/system/pyrogenesis_dbg(+0x14e8a0) [0x55891fdef8a0]
(0x7f4e0d6fb2b1) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f4e0d6fb2b1]
(0x55891fded47a) ./binaries/system/pyrogenesis_dbg(_start+0x2a) [0x55891fded47a]

errno = 0 (No error reported here)
OS error = ?


Sleeping until debugger attaches.
Please wait.
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 4433
[New LWP 4434]
[New LWP 4435]
[New LWP 4436]
[New LWP 4437]
[New LWP 4438]
[New LWP 4439]
[New LWP 4440]
[New LWP 4441]
[New LWP 4442]
[New LWP 4462]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f4e0d79307d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
84    ../sysdeps/unix/syscall-template.S: Aucun fichier ou dossier de ce type.
(gdb) bt
#0  0x00007f4e0d79307d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f4e0d792fca in __sleep (seconds=0) at ../sysdeps/posix/sleep.c:55
#2  0x00005589204f7624 in udbg_launch_debugger ()
    at ../../../source/lib/sysdep/os/unix/udbg.cpp:83
#3  0x00005589204f6762 in try_gui_display_error (
    text=0x7f4dffe71000 L"Assertion failed: \"m_Runtimes.size() == 0 && \"All runtimes must be destroyed before calling JS_ShutDown!\"\"\r\nLocation: ScriptEngine.h:43 (~ScriptEngine)\r\n\r\nCall stack:\r\n\r\n(0x5589204f0a8e) ./binaries/sy"..., manual_break=true, allow_suppress=true, no_continue=false)
    at ../../../source/lib/sysdep/os/unix/unix.cpp:174
#4  0x00005589204f6921 in sys_display_error (
    text=0x7f4dffe71000 L"Assertion failed: \"m_Runtimes.size() == 0 && \"All runtimes must be destroyed before calling JS_ShutDown!\"\"\r\nLocation: ScriptEngine.h:43 (~ScriptEngine)\r\n\r\nCall stack:\r\n\r\n(0x5589204f0a8e) ./binaries/sy"..., flags=6) at ../../../source/lib/sysdep/os/unix/unix.cpp:215
#5  0x000055892048a267 in CallDisplayError (
    text=0x7f4dffe71000 L"Assertion failed: \"m_Runtimes.size() == 0 && \"All runtimes must be destroyed before calling JS_ShutDown!\"\"\r\nLocation: ScriptEngine.h:43 (~ScriptEngine)\r\n\r\nCall stack:\r\n\r\n(0x5589204f0a8e) ./binaries/sy"..., flags=6) at ../../../source/lib/debug.cpp:383
#6  0x000055892048a637 in debug_DisplayError (
    description=0x7ffec7137880 L"Assertion failed: \"m_Runtimes.size() == 0 && \"All runtimes must be destroyed before calling JS_ShutDown!\"\"", flags=6,
---Type <return> to continue, or q <return> to quit---
    context=0x7ffec7137ec0,
    lastFuncToSkip=0x5589223e2460 L"debug_OnAssertionFailure",
    pathname=0x55892059f820 L"../../../source/scriptinterface/ScriptEngine.h",
    line=43,
    func=0x5589205a03d8 <ScriptEngine::~ScriptEngine()::__func__> "~ScriptEngine", suppress=0x558920b10168 <ScriptEngine::~ScriptEngine()::suppress__>)
    at ../../../source/lib/debug.cpp:474
#7  0x000055892048ab03 in debug_OnAssertionFailure (
    expr=0x55892059fa30 L"m_Runtimes.size() == 0 && \"All runtimes must be destroyed before calling JS_ShutDown!\"",
    suppress=0x558920b10168 <ScriptEngine::~ScriptEngine()::suppress__>,
    file=0x55892059f820 L"../../../source/scriptinterface/ScriptEngine.h",
    line=43,
    func=0x5589205a03d8 <ScriptEngine::~ScriptEngine()::__func__> "~ScriptEngine") at ../../../source/lib/debug.cpp:563
#8  0x000055891fdf1c1c in ScriptEngine::~ScriptEngine (this=0x7ffec71387f0,
    __in_chrg=<optimized out>)
    at ../../../source/scriptinterface/ScriptEngine.h:43
#9  0x000055891fdef55c in RunGameOrAtlas (argc=1, argv=0x7ffec7138d68)
    at ../../../source/main.cpp:540
#10 0x000055891fdef8a0 in main (argc=1, argv=0x7ffec7138d68)
    at ../../../source/main.cpp:571
(gdb)

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...