Opened 10 years ago

Closed 9 years ago

#2658 closed defect (needsinfo)

error starting the program

Reported by: furryfury Owned by:
Priority: Should Have Milestone:
Component: Build & Packages Keywords: vfs
Cc: Patch:

Description (last modified by historic_bruno)

Function call failed: return value was -110100 (VFS directory not found)
Location: vfs.cpp:105 (VFS::GetDirectoryEntries)

Call stack:

VFS::GetDirectoryEntries (vfs.cpp:105)
    this = (unavailable)
    path = 0x001AE7F8 -> 
        path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
        separator = [8] { 47 ('/'), 26, 64197, 23912, 0, 0, 0, 0 }

    fileInfos = 0x001AE7AC -> (unsupported vector<CFileInfo >)
    subdirectoryNames = 0x00000000
    directory = 0x0092CCB0 -> 
        m_files = (unsupported map<Path,VfsFile >)
        m_subdirectories = (unsupported map<Path,VfsDirectory >)
        m_realDirectory = 
            px = 0x0092ED90 -> 
                (IFileLoader)
                m_path = 
                    path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
                    separator = [8] { 92 ('\'), 0, 5, 0, 19, 0, 33024, 129 }

                m_priority = 5 (0x00000005)
                m_flags = 19 (0x00000013)
                m_watch = 
                    px = 0x00818100 -> 
                        link = 
                            m_prev = 0x00921688 -> 
                                m_prev = 0x00818100 (see above)
                                m_next = 0x00818100 (see above)

                            m_next = 0x00921688 (see above)

                        request = 
                            px = 0x0092C3A8 -> 
                                m_path = 
                                    path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
                                    separator = "\cǠ"

                                m_dirHandle = 
                                    m_hDir = 0x000001E0

                                m_data = 0x10AF2CD8 -> [8] { 196 (0xC4), 0 (0x00), 146 (0x92), 0 (0x00), 208 (0xD0), 49 (0x31), 129 (0x81), 0 (0x00) }
                                m_ovl = 0x00800AD0 -> 
                                    Internal = 259 (0x00000103)
                                    InternalHigh = 0 (0x00000000)
                                    Offset = 0 (0x00000000)
                                    OffsetHigh = 0 (0x00000000)
                                    Pointer = 0x00000000
                                    hEvent = 0x000001E4


                            pn = 
                                pi_ = 0x008180E8 -> 
                                    use_count_ = 1 (0x00000001)
                                    weak_count_ = 1 (0x00000001)




                    pn = 
                        pi_ = 0x00818118 -> 
                            use_count_ = 1 (0x00000001)
                            weak_count_ = 1 (0x00000001)




            pn = 
                pi_ = 0x0092BBA8 -> 
                    use_count_ = 1 (0x00000001)
                    weak_count_ = 1 (0x00000001)



        m_shouldPopulate = 0 (0x00000000)

    s = (ScopedLock)
    it = (_Tree<<Path,VfsFile>::const_iterator)

vfs::GetPathnames (vfs_util.cpp:43)
    fs = 0x0132C558 -> 
        px = 0x0092CC98 -> (IVFS)
        pn = 
            pi_ = 0x0092BB60 -> 
                use_count_ = 1 (0x00000001)
                weak_count_ = 1 (0x00000001)



    path = 0x001AE7F8 (see above)
    filter = 0x012A64C0 -> "*.js"
    pathnames = 0x001AE818 -> (unsupported vector<Path >)
    files = (unsupported vector<CFileInfo >)
    i = 20104536 (0x0132C558)

ScriptInterface::LoadGlobalScripts (scriptinterface.cpp:799)
    this = (unavailable)
    rq = 
        mContext = 0x10B06298 -> (JSContext)

    pathnames = (unsupported vector<Path >)
    proto = 
        data = 
            asBits = 79740796610996296 (0x011B4BD5001AE848)
            s = { payload = 
                    i32 = 1763400 (0x001AE848)
                    u32 = 1763400 (0x001AE848)
                    boo = 1763400 (0x001AE848)
                    str = 0x001AE848 -> (JSString)
                    obj = 0x001AE848 (see above)
                    ptr = 0x001AE848 (see above)
                    why = 1763400
                    word = 1763400 (0x001AE848)
                    uintptr = 1763400 (0x001AE848)
, tag = 18566101 }
            asDouble = 2.48775e-303 (0x011B4BD5001AE848)
            asPtr = 0x001AE848 (see above)



CGUIManager::CGUIManager (guimanager.cpp:56)
    this = (unavailable)

InitGraphics (gamesetup.cpp:968)
    args = (unavailable)
    flags = (unavailable)
    profilerGPUEnable = (bool)0x55
    setup_vmode = (bool)0x77
    context = [2048] 
        0 (0x00)
        0 (0x00)
        0 (0x00)
        0 (0x00)
        1 (0x01)
        0 (0x00)
        0 (0x00)
        0 (0x00)
        224 (0xE0)
        114 (0x72)
        93 (0x5D)
        119 (0x77)
        24 (0x18)
        0 (0x00)
        26 (0x1A)
        0 (0x00) ...
    buf = [500] 
        59804
        26
        0
        0
        20
        0
        58355
        30549
        224
        30148
        0
        0 ...
    context = [2048] 
        0 (0x00)
        0 (0x00)
        0 (0x00)
        0 (0x00)
        1 (0x01)
        0 (0x00)
        0 (0x00)
        0 (0x00)
        224 (0xE0)
        114 (0x72)
        93 (0x5D)
        119 (0x77)
        24 (0x18)
        0 (0x00)
        26 (0x1A)
        0 (0x00) ...
    context = [2048] 
        0 (0x00)
        0 (0x00)
        0 (0x00)
        0 (0x00)
        1 (0x01)
        0 (0x00)
        0 (0x00)
        0 (0x00)
        224 (0xE0)
        114 (0x72)
        93 (0x5D)
        119 (0x77)
        24 (0x18)
        0 (0x00)
        26 (0x1A)
        0 (0x00) ...
    setup_gui = (bool)0xC0
    data = 
        m_Val = 
            px = 0x00000000
            pn = 
                pi_ = 0x00000000



    scriptInterface = 
        px = 0x00000005
        pn = 
            pi_ = 0x00000000


    e = 0x00000000

RunGameOrAtlas (main.cpp:476)
    argc = 1 (0x00000001)
    argv = 0x00801130 -> 0x00927910 -> "E:\Games\0 A.D. alpha\binaries\system\pyrogenesis.exe"
    args = 
        m_Args = (unsupported vector<pair<CStr8,CStr8> >)
        m_Arg0 = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 92 ('\')


    paths = 
        m_root = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 4

        m_rdata = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 9132

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

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

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

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

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


    replay = 
        m_Stream = 0x00000000

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

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

    paths = 
        m_root = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 4

        m_rdata = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 9132

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

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

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

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

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


    builder = 
        m_VFS = 
            px = 0x00801144 -> (IVFS)
            pn = 
                pi_ = 0x0132C20C -> 
                    use_count_ = 0 (0x00000000)
                    weak_count_ = 8487096 (0x008180B8)



        m_Files = (unsupported vector<Path >)
        m_TempDir = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 30688



main (main.cpp:520)
    argc = 1 (0x00000001)
    argv = 0x00801130 (see above)

wmain (wseh.cpp:380)
    argc = 1 (0x00000001)
    argv = 0x008015E8 -> 0x008015F0 -> "E:\Games\0 A.D. alpha\binaries\system\pyrogenesis.exe"
    utf8_argv = (unsupported vector<char * >)
    ret = 0 (0x00000000)
    utf8 = (unsupported basic_string<char,char_traits<char> >)

CallStartupWithinTryBlock (wseh.cpp:397)
    ret = 0 (0x00000000)

RtlInitializeExceptionChain (:0)

RtlInitializeExceptionChain (:0)


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

Change History (7)

comment:1 by scythetwirler, 10 years ago

Can you try reinstalling it to a directory without spaces or dots? (e.g. rename "0 A.D. alpha" to something like 0ADAlpha).

in reply to:  1 comment:2 by historic_bruno, 10 years ago

Description: modified (diff)

Replying to scythetwirler:

Can you try reinstalling it to a directory without spaces or dots? (e.g. rename "0 A.D. alpha" to something like 0ADAlpha).

Is there any evidence that this matters?

comment:3 by scythetwirler, 10 years ago

I've had a lot of people say that solved their issue. (SwampGremlin in the lobby was one, in the IRClogs somewhere).

Also, see http://www.wildfiregames.com/forum/index.php?showtopic=18814&p=293636 (I'm not the only person to suggest this :P)

comment:4 by Philip Taylor, 10 years ago

It could be just the reinstalling that makes it work, or the reinstalling onto a different drive that has more disk space or a different filesystem, or reinstalling into a path with different file permissions or whatever. Nothing in Windows or in our game engine should ever care about exactly what characters are in the path names.

(Spaces in paths are dangerous on Unix because of buggy shell scripts that do variable interpolation without enough quotes. But that's not relevant on Windows.)

comment:5 by scythetwirler, 10 years ago

SwampGermlin said he already tried reinstalling it into the default directory and it didn't work. Hmm...

comment:6 by historic_bruno, 10 years ago

I suspect it was just coincidence, I've seen several reports where reinstalling without changing the path "fixed" the crash, and now there's #2661 that claims removing spaces+periods had no effect. I think we simply don't have enough data about why the VFS is failing.

Last edited 10 years ago by historic_bruno (previous) (diff)

comment:7 by Stan, 9 years ago

Milestone: Backlog
Resolution: needsinfo
Status: newclosed
Note: See TracTickets for help on using tickets.