GivePass / x360ce

Automatically exported from code.google.com/p/x360ce
1 stars 0 forks source link

FF14:ARR - Access Violation: The thread tried to read from or write to a virtual address for which it does not have appropriate access. #1032

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Last working: r902
First Crashes in: r903

What steps will reproduce the problem?
1. Place xinput1_3.dll games folder
2. Login and run the game
3. Whilst sitting on the main menu, when the game should load an FMV, the game 
crashes

What is the expected output?
No crash.

What do you see instead?
Access Violation: The thread tried to read from or write to a virtual address 
for which it does not have appropriate access.

Original issue reported on code.google.com by danialho...@gmail.com on 6 Nov 2014 at 11:13

GoogleCodeExporter commented 9 years ago
have emailed you files relevant to this crash tapcio.

Original comment by danialho...@gmail.com on 6 Nov 2014 at 11:18

GoogleCodeExporter commented 9 years ago
Configuration and GDB

i don't think my configuration is to blame though, definitely seems to be this 
new timeout thing.

Original comment by danialho...@gmail.com on 6 Nov 2014 at 11:24

Attachments:

GoogleCodeExporter commented 9 years ago
changed

DWORD timeout = ini.get_uint("InputHook", "Timeout", 30);

to

DWORD timeout = ini.get_uint("InputHook", "Timeout");

And no crash occurs.

Original comment by danialho...@gmail.com on 6 Nov 2014 at 11:29

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Timeout can be disabled in GDB (0x40000000). This can be either MinHook or game 
DRM. We should update MinHook to latest.

Original comment by tapcio on 6 Nov 2014 at 11:36

GoogleCodeExporter commented 9 years ago
in r903

23:11:06.233    00064180    Using config file:
23:11:06.233    00064180    C:\ProgramData\x360ce\x360ce.ini
23:11:06.233    00064180    WARNING: Configuration file version mismatch detected
23:11:06.242    00064180    Using game database file:
23:11:06.242    00064180    C:\ProgramData\x360ce\x360ce.gdb
23:11:06.242    00064180    x360ce 3.4.0.903 [ffxiv.exe - 36920]
23:11:06.242    00064180    Microsoft Windows 7 Ultimate Edition Service Pack 1 
(build 7601), 64-bit
23:11:06.242    00064180    InputHook starting with mask 0x0000000E
23:11:06.242    00064180    Hooking COM
23:11:06.242    00064180    Hooking CoCreateInstance
23:11:06.243    00064180    Hooking CoUninitialize
23:11:06.243    00064180    Hooking DirectInput
23:11:06.243    00064180    Hooking DirectInput8Create
23:11:06.264    00035056    Waiting for hooks...
23:11:06.285    00064180    Terminating x360ce, bye

Original comment by danialho...@gmail.com on 6 Nov 2014 at 12:13

GoogleCodeExporter commented 9 years ago
in r902

23:11:08.796    00064180    Using config file:
23:11:08.796    00064180    C:\ProgramData\x360ce\x360ce.ini
23:11:08.796    00064180    WARNING: Configuration file version mismatch detected
23:11:08.806    00064180    Using game database file:
23:11:08.806    00064180    C:\ProgramData\x360ce\x360ce.gdb
23:11:08.807    00064180    x360ce 3.4.0.903 [ffxiv.exe - 36920]
23:11:08.807    00064180    Microsoft Windows 7 Ultimate Edition Service Pack 1 
(build 7601), 64-bit
23:11:08.807    00064180    InputHook starting with mask 0x0000000E
23:11:08.807    00064180    Hooking COM
23:11:08.807    00064180    Hooking CoCreateInstance
23:11:08.807    00064180    Hooking CoUninitialize
23:11:08.807    00064180    Hooking DirectInput
23:11:08.807    00064180    Hooking DirectInput8Create
23:11:08.826    00064180    XInput Disabled
23:11:08.827    00036668    Waiting for hooks...
23:11:08.842    00064180    XInput Enabled
23:11:08.842    00064180    [PAD1] Starting
23:11:08.842    00064180    [PAD1] Initializing as UserIndex 0
23:11:08.842    00064180    *DirectInput8Create*
23:11:08.842    00064180    DirectInput8Create - UNICODE interface
23:11:08.861    00064180    Hooking CreateDeviceW
23:11:08.880    00064180    Hooking EnumDevicesW
23:11:08.880    00064180    [PAD1] Creating device
23:11:08.882    00064180    [PAD1] Device created
23:11:08.883    00064180    *DirectInput8Create*
23:11:08.883    00064180    DirectInput8Create - ANSI interface
23:11:08.904    00064180    Hooking CreateDeviceA
23:11:08.923    00064180    Hooking EnumDevicesA
23:11:08.925    00064180    *CreateDeviceA*
23:11:08.945    00064180    Hooking GetDeviceInfoA
23:11:08.945    00064180    Hooking GetPropertyA
23:11:08.968    00064180    Hooking GetPropertyA
23:11:08.968    00064180    *GetPropertyA*
23:11:08.968    00064180    *GetPropertyA*
23:11:08.968    00064180    *GetPropertyA*
23:11:08.968    00064180    *GetPropertyA*
23:11:08.968    00064180    VIDPID change:
23:11:08.968    00064180    F0231BAD
23:11:08.968    00064180    028E045E
23:11:08.970    00064180    *CreateDeviceA*
23:11:08.970    00064180    Hooking GetPropertyA
23:11:08.970    00064180    [PAD1] Detected axis count: 6
23:11:08.970    00064180    [PAD1] Done
23:11:08.970    00064180    Loading C:\Windows\system32\XINPUT1_3.dll
23:11:08.971    00064180    *EnumDevicesA*
23:11:08.971    00064180    *EnumDevicesW*
23:11:08.977    00064180    *CreateDeviceW*
23:11:08.998    00064180    Hooking GetDeviceInfoW
23:11:08.998    00064180    *GetDeviceInfoW*
23:11:08.998    00064180    Mouse detected - skipping
23:11:08.999    00064180    *CreateDeviceW*
23:11:08.999    00064180    *CreateDeviceW*
23:11:08.999    00064180    *CreateDeviceW*
23:11:08.999    00064180    *GetDeviceInfoW*
23:11:08.999    00064180    Keyboard detected - skipping
23:11:08.999    00064180    *CreateDeviceW*
23:11:08.999    00064180    *CreateDeviceW*
23:11:08.999    00064180    *CreateDeviceW*
23:11:09.013    00064180    *GetDeviceInfoW*
23:11:09.016    00064180    *CreateDeviceW*
23:11:09.029    00064180    *GetDeviceInfoW*
23:11:09.031    00064180    *CreateDeviceW*
23:11:09.045    00064180    *GetDeviceInfoW*
23:11:09.047    00064180    *CreateDeviceW*
23:11:09.056    00064180    *GetDeviceInfoW*
23:11:09.057    00064180    *CreateDeviceW*
23:11:09.079    00064180    *GetDeviceInfoW*
23:11:09.080    00064180    *CreateDeviceW*
23:11:09.101    00064180    *GetDeviceInfoW*
23:11:09.103    00064180    *CreateDeviceW*
23:11:09.103    00064180    *GetDeviceInfoW*
23:11:09.103    00064180    GUID change:
23:11:09.103    00064180    {F0231BAD-0000-0000-0000-504944564944}
23:11:09.103    00064180    {028E045E-0000-0000-0000-504944564944}
23:11:09.103    00064180    *EnumCallbackW*
23:11:09.103    00064180    *EnumCallbackA*
23:11:09.103    00064180    *CoCreateInstance*
23:11:09.123    00064180    Hooking ConnectServer
23:11:09.134    00064180    *CoCreateInstance*
23:11:09.134    00064180    *CoCreateInstance*
23:11:09.134    00064180    *ConnectServer*
23:11:09.153    00064180    Hooking CreateInstanceEnum
23:11:09.494    00064180    *CreateInstanceEnum*
23:11:09.516    00064180    Hooking Next
23:11:09.516    00064180    *Next 20*
23:11:09.537    00064180    Hooking Get
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Next 20*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.537    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Next 20*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Next 20*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.538    00064180    *Gets*
23:11:09.539    00064180    *Next 20*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Next 20*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.539    00064180    *Gets*
23:11:09.540    00064180    *Next 20*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Next 20*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Next 20*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.540    00064180    *Gets*
23:11:09.541    00064180    *Gets*
23:11:09.541    00064180    *Gets*
23:11:09.541    00064180    *Gets*
23:11:09.541    00064180    *Gets*
23:11:09.541    00064180    *Gets*
23:11:09.541    00064180    Device string change:
23:11:09.541    00064180    USB\VID_1BAD&PID_F023\190BC8E2
23:11:09.541    00064180    USB\VID_045E&PID_028E&IG_00\190BC8E2
23:11:09.543    00064180    *CreateDeviceA*
23:11:09.543    00064180    Hooking GetPropertyA
23:11:09.543    00064180    *GetDeviceInfoW*
23:11:09.543    00064180    GUID change:
23:11:09.543    00064180    {F0231BAD-0000-0000-0000-504944564944}
23:11:09.543    00064180    {028E045E-0000-0000-0000-504944564944}
23:11:09.543    00064180    *GetDeviceInfoA*
23:11:09.544    00064180    *CreateDeviceA*
23:11:09.544    00064180    Hooking GetPropertyA
23:11:09.545    00064180    *CreateDeviceA*
23:11:09.545    00064180    Hooking GetPropertyA
23:11:10.374    00064180    *CoCreateInstance*
23:11:10.374    00064180    *CoCreateInstance*
23:11:10.374    00064180    *CoCreateInstance*
23:11:10.376    00064180    *CoCreateInstance*
23:11:10.377    00064180    *CoCreateInstance*
23:11:10.378    00064180    *CoCreateInstance*
23:11:10.378    00064180    *CoCreateInstance*
23:11:10.378    00064180    *CoCreateInstance*
23:11:10.384    00064180    *CoCreateInstance*
23:11:10.386    00064180    *CoCreateInstance*
23:11:10.474    00061388    [[PAD1] PrepareForce (0) Force Feedback is available
23:11:10.474    00061388       Effect 'C'. IsConstant = 1, IsPeriodic = 0
23:11:10.474    00061388       Effect 'R'. IsConstant = 0, IsPeriodic = 0
23:11:10.474    00061388       Effect 'S'. IsConstant = 0, IsPeriodic = 1
23:11:10.474    00061388       Effect 'S'. IsConstant = 0, IsPeriodic = 1
23:11:10.474    00061388       Effect 'T'. IsConstant = 0, IsPeriodic = 1
23:11:10.474    00061388       Effect 'S'. IsConstant = 0, IsPeriodic = 1
23:11:10.474    00061388       Effect 'S'. IsConstant = 0, IsPeriodic = 1
23:11:10.474    00061388       Effect 'S'. IsConstant = 0, IsPeriodic = 0
23:11:10.474    00061388       Effect 'D'. IsConstant = 0, IsPeriodic = 0
23:11:10.474    00061388       Effect 'I'. IsConstant = 0, IsPeriodic = 0
23:11:10.474    00061388       Effect 'F'. IsConstant = 0, IsPeriodic = 0
23:11:10.474    00061388       Effect 'C'. IsConstant = 0, IsPeriodic = 0
23:11:10.474    00061388    [[PAD1] PrepareForce (1) Force Feedback is available
23:11:10.474    00061388       Effect 'C'. IsConstant = 1, IsPeriodic = 0
23:11:10.474    00061388       Effect 'R'. IsConstant = 0, IsPeriodic = 0
23:11:10.474    00061388       Effect 'S'. IsConstant = 0, IsPeriodic = 1
23:11:10.474    00061388       Effect 'S'. IsConstant = 0, IsPeriodic = 1
23:11:10.474    00061388       Effect 'T'. IsConstant = 0, IsPeriodic = 1
23:11:10.474    00061388       Effect 'S'. IsConstant = 0, IsPeriodic = 1
23:11:10.474    00061388       Effect 'S'. IsConstant = 0, IsPeriodic = 1
23:11:10.474    00061388       Effect 'S'. IsConstant = 0, IsPeriodic = 0
23:11:10.474    00061388       Effect 'D'. IsConstant = 0, IsPeriodic = 0
23:11:10.474    00061388       Effect 'I'. IsConstant = 0, IsPeriodic = 0
23:11:10.474    00061388       Effect 'F'. IsConstant = 0, IsPeriodic = 0
23:11:10.474    00061388       Effect 'C'. IsConstant = 0, IsPeriodic = 0
23:11:48.145    00036668    Hook timeout

Original comment by danialho...@gmail.com on 6 Nov 2014 at 12:13

GoogleCodeExporter commented 9 years ago
Game does not use DRM,

I thought ejocy updated minhook recently.

Original comment by danialho...@gmail.com on 6 Nov 2014 at 12:14

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Mask 0x4000000E changes something?
PS: maybe use vpaste.net :P?

Original comment by tapcio on 6 Nov 2014 at 12:18

GoogleCodeExporter commented 9 years ago
0x4000000E did not fix anything.

Original comment by danialho...@gmail.com on 6 Nov 2014 at 12:29

GoogleCodeExporter commented 9 years ago
only using r902 or older keeps the game running.

Original comment by danialho...@gmail.com on 6 Nov 2014 at 12:30

GoogleCodeExporter commented 9 years ago
minhook is in pure C now, i'll let you try updating it if you want to XD.

Original comment by danialho...@gmail.com on 6 Nov 2014 at 12:31

GoogleCodeExporter commented 9 years ago
Updating minhook did not resolve this.

Original comment by danialho...@gmail.com on 10 Nov 2014 at 5:42

GoogleCodeExporter commented 9 years ago
Seems like threading problem, can you add some PrintLogs before and after 
CreateThread in ExecuteHooks() to check if this is failing ?

Original comment by tapcio on 10 Nov 2014 at 6:49

GoogleCodeExporter commented 9 years ago
If is you can check if reordering code helps: move MH_EnableHook(MH_ALL_HOOKS); 
after CreateThread.

Original comment by tapcio on 10 Nov 2014 at 6:51

GoogleCodeExporter commented 9 years ago
You mean this block of code?

    inline void ExecuteHooks()
    {
        if (!GetState())
        {
            m_devices.clear();
            return;
        }

#if _MSC_VER < 1700
        lock_guard lock(m_mutex);
#else
        std::lock_guard<std::mutex> lock(m_mutex);
#endif

        PrintLog("InputHook starting with mask 0x%08X", m_hookmask);

        MH_Initialize();

        if (GetState(HOOK_LL))
            HookLL();

        if (GetState(HOOK_COM))
            HookCOM();

        if (GetState(HOOK_DI))
            HookDI();

        if (GetState(HOOK_SA))
            HookSA();

        if (GetState(HOOK_WT))
            HookWT();

        MH_EnableHook(MH_ALL_HOOKS);

        if (m_timeout > 0 && !GetState(HOOK_NOTIMEOUT)) m_timeout_thread = CreateThread(NULL, NULL, ThreadProc, &m_timeout, NULL, NULL);
    }

Original comment by danialho...@gmail.com on 10 Nov 2014 at 6:57

GoogleCodeExporter commented 9 years ago
Yes:
if (m_timeout > 0 && !GetState(HOOK_NOTIMEOUT)) m_timeout_thread = 
CreateThread(NULL, NULL, ThreadProc, &m_timeout, NULL, NULL);

This is creating thread when timeout is grater than 0 and HOOK_NOTIMEOUT is not 
enabled.

Original comment by tapcio on 10 Nov 2014 at 6:59

GoogleCodeExporter commented 9 years ago
well i can't figure the changes you want me to make out, so i just moved the 
line, to no resolution.

still crashes when Hook timeout enters the console.

Original comment by danialho...@gmail.com on 10 Nov 2014 at 7:20

GoogleCodeExporter commented 9 years ago
Heh, guard:
if (m_timeout > 0 && !GetState(HOOK_NOTIMEOUT)) m_timeout_thread = 
CreateThread(NULL, NULL, ThreadProc, &m_timeout, NULL, NULL);
with PrintLogs (ie. something like printf debugging :P)

PrintLog("Before CreateThread");
if (m_timeout > 0 && !GetState(HOOK_NOTIMEOUT)) m_timeout_thread = 
CreateThread(NULL, NULL, ThreadProc, &m_timeout, NULL, NULL);
PrintLog("After CreateThread");

Then check if it crash before printing "After CreateThread".

Original comment by tapcio on 10 Nov 2014 at 7:24

GoogleCodeExporter commented 9 years ago
seems it prints after createthread just fine.

However i'm seeing some odd behavior in the console, it doesn't close and spawn 
the new logging instance.  For example,

I see this in the console and it is saved to a log file

[TIME]      [THREAD]    [LOG]
06:28:20.406    00027428    Using config file:
06:28:20.406    00027428    C:\ProgramData\x360ce\x360ce.ini
06:28:20.406    00027428    WARNING: Configuration file version mismatch detected
06:28:20.418    00027428    Using game database file:
06:28:20.418    00027428    C:\ProgramData\x360ce\x360ce.gdb
06:28:20.419    00027428    x360ce 3.4.0.992M [ffxiv.exe - 22728]
06:28:20.419    00027428    Microsoft Windows 7 Ultimate Edition Service Pack 1 
(build 7601), 64-bit
06:28:20.419    00027428    InputHook starting with mask 0x0000000E
06:28:20.419    00027428    Hooking COM
06:28:20.419    00027428    Hooking CoCreateInstance
06:28:20.419    00027428    Hooking CoUninitialize
06:28:20.420    00027428    Hooking DirectInput
06:28:20.420    00027428    Hooking DirectInput8Create
06:28:20.441    00027428    Before CreateThread
06:28:20.441    00027428    After CreateThread
06:28:20.443    00029340    Waiting for hooks...
06:28:20.465    00027428    Terminating x360ce, bye

This console window remains open and i see no more updates in the console, 
however, when i look in the folder, another log has been created at 
06:28:23.134 with the contents below.

[TIME]      [THREAD]    [LOG]
06:28:23.134    00027428    Using config file:
06:28:23.134    00027428    C:\ProgramData\x360ce\x360ce.ini
06:28:23.134    00027428    WARNING: Configuration file version mismatch detected
06:28:23.143    00027428    Using game database file:
06:28:23.143    00027428    C:\ProgramData\x360ce\x360ce.gdb
06:28:23.144    00027428    x360ce 3.4.0.992M [ffxiv.exe - 22728]
06:28:23.144    00027428    Microsoft Windows 7 Ultimate Edition Service Pack 1 
(build 7601), 64-bit
06:28:23.144    00027428    InputHook starting with mask 0x0000000E
06:28:23.144    00027428    Hooking COM
06:28:23.144    00027428    Hooking CoCreateInstance
06:28:23.144    00027428    Hooking CoUninitialize
06:28:23.144    00027428    Hooking DirectInput
06:28:23.144    00027428    Hooking DirectInput8Create
06:28:23.164    00027428    Before CreateThread
06:28:23.164    00027428    After CreateThread
06:28:23.165    00027428    XInput Disabled
06:28:23.165    00044952    Waiting for hooks...
06:28:23.181    00027428    XInput Enabled
06:28:23.181    00027428    [PAD1] Starting
06:28:23.181    00027428    [PAD1] Initializing as UserIndex 0
06:28:23.182    00027428    *DirectInput8Create*
06:28:23.182    00027428    DirectInput8Create - ANSI interface
06:28:23.221    00027428    Hooking CreateDeviceA
06:28:23.247    00027428    Hooking EnumDevicesA
06:28:23.247    00027428    [PAD1] Creating device
06:28:23.249    00027428    [PAD1] Device created
06:28:23.255    00027428    [PAD1] Detected axis count: 6
06:28:23.255    00027428    [PAD1] Done
06:28:23.255    00027428    Loading C:\Windows\system32\XINPUT1_3.dll
06:28:23.257    00027428    *EnumDevicesA*
06:28:23.365    00027428    *EnumCallbackA*
06:28:23.365    00027428    GUID change:
06:28:23.365    00027428    {F0231BAD-0000-0000-0000-504944564944}
06:28:23.365    00027428    {028E045E-0000-0000-0000-504944564944}
06:28:23.365    00027428    *CoCreateInstance*
06:28:23.386    00027428    Hooking ConnectServer
06:28:23.386    00027428    *CoCreateInstance*
06:28:23.387    00027428    *CoCreateInstance*
06:28:23.388    00027428    *ConnectServer*
06:28:23.409    00027428    Hooking CreateInstanceEnum
06:28:23.812    00027428    *CreateInstanceEnum*
06:28:23.837    00027428    Hooking Next
06:28:23.838    00027428    *Next 20*
06:28:23.863    00027428    Hooking Get
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.863    00027428    *Gets*
06:28:23.864    00027428    *Next 20*
06:28:23.887    00027428    Hooking Get
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.887    00027428    *Gets*
06:28:23.888    00027428    *Next 20*
06:28:23.909    00027428    Hooking Get
06:28:23.909    00027428    *Gets*
06:28:23.909    00027428    *Gets*
06:28:23.909    00027428    *Gets*
06:28:23.909    00027428    *Gets*
06:28:23.909    00027428    *Gets*
06:28:23.909    00027428    *Gets*
06:28:23.909    00027428    *Gets*
06:28:23.909    00027428    *Gets*
06:28:23.909    00027428    *Gets*
06:28:23.910    00027428    *Gets*
06:28:23.910    00027428    *Gets*
06:28:23.910    00027428    *Gets*
06:28:23.910    00027428    *Gets*
06:28:23.910    00027428    *Gets*
06:28:23.910    00027428    *Gets*
06:28:23.910    00027428    *Gets*
06:28:23.910    00027428    *Gets*
06:28:23.910    00027428    *Gets*
06:28:23.910    00027428    *Gets*
06:28:23.910    00027428    *Gets*
06:28:23.910    00027428    *Next 20*
06:28:23.932    00027428    Hooking Get
06:28:23.932    00027428    *Gets*
06:28:23.932    00027428    *Gets*
06:28:23.932    00027428    *Gets*
06:28:23.932    00027428    *Gets*
06:28:23.932    00027428    *Gets*
06:28:23.932    00027428    *Gets*
06:28:23.932    00027428    *Gets*
06:28:23.933    00027428    *Gets*
06:28:23.933    00027428    *Gets*
06:28:23.933    00027428    *Gets*
06:28:23.933    00027428    *Gets*
06:28:23.933    00027428    *Gets*
06:28:23.933    00027428    *Gets*
06:28:23.933    00027428    *Gets*
06:28:23.933    00027428    *Gets*
06:28:23.933    00027428    *Gets*
06:28:23.933    00027428    *Gets*
06:28:23.933    00027428    *Gets*
06:28:23.933    00027428    *Gets*
06:28:23.933    00027428    *Gets*
06:28:23.933    00027428    *Next 20*
06:28:23.958    00027428    Hooking Get
06:28:23.958    00027428    *Gets*
06:28:23.958    00027428    *Gets*
06:28:23.958    00027428    *Gets*
06:28:23.958    00027428    *Gets*
06:28:23.958    00027428    *Gets*
06:28:23.958    00027428    *Gets*
06:28:23.959    00027428    *Gets*
06:28:23.959    00027428    *Gets*
06:28:23.959    00027428    *Gets*
06:28:23.959    00027428    *Gets*
06:28:23.959    00027428    *Gets*
06:28:23.959    00027428    *Gets*
06:28:23.959    00027428    *Gets*
06:28:23.959    00027428    *Gets*
06:28:23.959    00027428    *Gets*
06:28:23.959    00027428    *Gets*
06:28:23.959    00027428    *Gets*
06:28:23.959    00027428    *Gets*
06:28:23.959    00027428    *Gets*
06:28:23.959    00027428    *Gets*
06:28:23.959    00027428    *Next 20*
06:28:23.983    00027428    Hooking Get
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.983    00027428    *Gets*
06:28:23.984    00027428    *Next 20*
06:28:24.010    00027428    Hooking Get
06:28:24.010    00027428    *Gets*
06:28:24.010    00027428    *Gets*
06:28:24.010    00027428    *Gets*
06:28:24.010    00027428    *Gets*
06:28:24.010    00027428    *Gets*
06:28:24.010    00027428    *Gets*
06:28:24.010    00027428    *Gets*
06:28:24.010    00027428    *Gets*
06:28:24.010    00027428    *Gets*
06:28:24.010    00027428    *Gets*
06:28:24.010    00027428    *Gets*
06:28:24.010    00027428    *Gets*
06:28:24.010    00027428    *Gets*
06:28:24.010    00027428    *Gets*
06:28:24.010    00027428    *Gets*
06:28:24.010    00027428    *Gets*
06:28:24.011    00027428    *Gets*
06:28:24.011    00027428    *Gets*
06:28:24.011    00027428    *Gets*
06:28:24.011    00027428    *Gets*
06:28:24.011    00027428    *Next 20*
06:28:24.037    00027428    Hooking Get
06:28:24.037    00027428    *Gets*
06:28:24.037    00027428    *Gets*
06:28:24.037    00027428    *Gets*
06:28:24.037    00027428    *Gets*
06:28:24.037    00027428    *Gets*
06:28:24.037    00027428    *Gets*
06:28:24.037    00027428    *Gets*
06:28:24.037    00027428    *Gets*
06:28:24.038    00027428    *Gets*
06:28:24.038    00027428    *Gets*
06:28:24.038    00027428    *Gets*
06:28:24.038    00027428    *Gets*
06:28:24.038    00027428    *Gets*
06:28:24.038    00027428    *Gets*
06:28:24.038    00027428    *Gets*
06:28:24.038    00027428    *Gets*
06:28:24.038    00027428    *Gets*
06:28:24.038    00027428    *Gets*
06:28:24.038    00027428    *Gets*
06:28:24.038    00027428    *Gets*
06:28:24.038    00027428    *Next 20*
06:28:24.066    00027428    Hooking Get
06:28:24.066    00027428    *Gets*
06:28:24.066    00027428    *Gets*
06:28:24.066    00027428    *Gets*
06:28:24.067    00027428    *Gets*
06:28:24.067    00027428    *Gets*
06:28:24.067    00027428    *Gets*
06:28:24.067    00027428    *Gets*
06:28:24.067    00027428    *Gets*
06:28:24.067    00027428    *Gets*
06:28:24.067    00027428    *Gets*
06:28:24.067    00027428    *Gets*
06:28:24.067    00027428    *Gets*
06:28:24.067    00027428    *Gets*
06:28:24.067    00027428    *Gets*
06:28:24.067    00027428    *Gets*
06:28:24.067    00027428    *Gets*
06:28:24.067    00027428    *Gets*
06:28:24.067    00027428    *Gets*
06:28:24.067    00027428    *Gets*
06:28:24.067    00027428    *Gets*
06:28:24.067    00027428    *Next 20*
06:28:24.095    00027428    Hooking Get
06:28:24.095    00027428    *Gets*
06:28:24.095    00027428    *Gets*
06:28:24.095    00027428    *Gets*
06:28:24.095    00027428    *Gets*
06:28:24.095    00027428    *Gets*
06:28:24.095    00027428    *Gets*
06:28:24.095    00027428    *Gets*
06:28:24.095    00027428    *Gets*
06:28:24.095    00027428    Device string change:
06:28:24.095    00027428    USB\VID_1BAD&PID_F023\190BC8E2
06:28:24.095    00027428    USB\VID_045E&PID_028E&IG_00\190BC8E2
06:28:24.098    00027428    *CreateDeviceA*
06:28:24.121    00027428    Hooking GetDeviceInfoA
06:28:24.121    00027428    Hooking GetPropertyA
06:28:24.144    00027428    Hooking GetPropertyA
06:28:24.166    00027428    Hooking SetCooperativeLevelA
06:28:24.166    00027428    *GetDeviceInfoA*
06:28:24.166    00027428    GUID change:
06:28:24.166    00027428    {F0231BAD-0000-0000-0000-504944564944}
06:28:24.166    00027428    {028E045E-0000-0000-0000-504944564944}
06:28:24.168    00027428    *CreateDeviceA*
06:28:24.188    00027428    Hooking GetDeviceInfoA
06:28:24.188    00027428    Hooking GetPropertyA
06:28:24.210    00027428    Hooking GetPropertyA
06:28:24.231    00027428    Hooking SetCooperativeLevelA
06:28:24.231    00027428    *SetCooperativeLevelA*
06:28:24.232    00027428    *CreateDeviceA*
06:28:24.252    00027428    Hooking GetDeviceInfoA
06:28:24.252    00027428    Hooking GetPropertyA
06:28:24.273    00027428    Hooking GetPropertyA
06:28:24.296    00027428    Hooking SetCooperativeLevelA
06:28:24.296    00027428    *SetCooperativeLevelA*
06:28:25.280    00027428    *CoCreateInstance*
06:28:25.281    00027428    *CoCreateInstance*
06:28:25.281    00027428    *CoCreateInstance*
06:28:25.282    00027428    *CoCreateInstance*
06:28:25.284    00027428    *CoCreateInstance*
06:28:25.285    00027428    *CoCreateInstance*
06:28:25.285    00027428    *CoCreateInstance*
06:28:25.285    00027428    *CoCreateInstance*
06:28:25.293    00027428    *CoCreateInstance*
06:28:25.295    00027428    *CoCreateInstance*
06:28:25.411    00030192    [x360ce] [PAD1] XInputSetState
06:28:25.411    00030192    [DINPUT] [PAD1] IsForceSupported: 5903 YES
06:28:25.411    00030192       Effect 'Constant'. IsConstant = 1, IsPeriodic = 0
06:28:25.411    00030192       Effect 'Ramp'. IsConstant = 0, IsPeriodic = 0
06:28:25.411    00030192       Effect 'Square Wave'. IsConstant = 0, IsPeriodic = 1
06:28:25.411    00030192       Effect 'Sine Wave'. IsConstant = 0, IsPeriodic = 1
06:28:25.411    00030192       Effect 'Triangle Wave'. IsConstant = 0, IsPeriodic = 1
06:28:25.411    00030192       Effect 'Saw Tooth Up Wave'. IsConstant = 0, IsPeriodic 
= 1
06:28:25.411    00030192       Effect 'Saw Tooth Down Wave'. IsConstant = 0, 
IsPeriodic = 1
06:28:25.411    00030192       Effect 'Spring'. IsConstant = 0, IsPeriodic = 0
06:28:25.411    00030192       Effect 'Damper'. IsConstant = 0, IsPeriodic = 0
06:28:25.411    00030192       Effect 'Inertia'. IsConstant = 0, IsPeriodic = 0
06:28:25.411    00030192       Effect 'Friction'. IsConstant = 0, IsPeriodic = 0
06:28:25.411    00030192       Effect 'Custom'. IsConstant = 0, IsPeriodic = 0
06:28:25.411    00030192    [DINPUT] [PAD1] [M0] DInputSetState: PrepareForce 
returned HR = 0
06:28:25.411    00030192    [DINPUT] [PAD1] [M0] SetDeviceForces: force = 0
06:28:25.411    00030192    [DINPUT] [PAD1] [M0] DInputSetState: SetDeviceForces 
returned HR = 0 // Initializing
06:28:25.411    00030192    [DINPUT] [PAD1] [M0] SetDeviceForces: force = 0
06:28:25.411    00030192    [DINPUT] [PAD1] [M0] DInputSetState: returned HR = 0
06:28:25.411    00030192       Effect 'Constant'. IsConstant = 1, IsPeriodic = 0
06:28:25.411    00030192       Effect 'Ramp'. IsConstant = 0, IsPeriodic = 0
06:28:25.411    00030192       Effect 'Square Wave'. IsConstant = 0, IsPeriodic = 1
06:28:25.411    00030192       Effect 'Sine Wave'. IsConstant = 0, IsPeriodic = 1
06:28:25.411    00030192       Effect 'Triangle Wave'. IsConstant = 0, IsPeriodic = 1
06:28:25.411    00030192       Effect 'Saw Tooth Up Wave'. IsConstant = 0, IsPeriodic 
= 1
06:28:25.411    00030192       Effect 'Saw Tooth Down Wave'. IsConstant = 0, 
IsPeriodic = 1
06:28:25.411    00030192       Effect 'Spring'. IsConstant = 0, IsPeriodic = 0
06:28:25.411    00030192       Effect 'Damper'. IsConstant = 0, IsPeriodic = 0
06:28:25.411    00030192       Effect 'Inertia'. IsConstant = 0, IsPeriodic = 0
06:28:25.411    00030192       Effect 'Friction'. IsConstant = 0, IsPeriodic = 0
06:28:25.411    00030192       Effect 'Custom'. IsConstant = 0, IsPeriodic = 0
06:28:25.411    00030192    [DINPUT] [PAD1] [M1] DInputSetState: PrepareForce 
returned HR = 0
06:28:25.411    00030192    [DINPUT] [PAD1] [M1] SetDeviceForces: force = 0
06:28:25.411    00030192    [DINPUT] [PAD1] [M1] DInputSetState: SetDeviceForces 
returned HR = 0 // Initializing
06:28:25.411    00030192    [DINPUT] [PAD1] [M1] SetDeviceForces: force = 0
06:28:25.411    00030192    [DINPUT] [PAD1] [M1] DInputSetState: returned HR = 0
06:28:25.563    00027428    [x360ce] [PAD1] XInputSetState
06:28:25.563    00027428    [DINPUT] [PAD1] [M0] SetDeviceForces: force = 0
06:28:25.563    00027428    [DINPUT] [PAD1] [M0] DInputSetState: returned HR = 0
06:28:25.563    00027428    [DINPUT] [PAD1] [M1] SetDeviceForces: force = 0
06:28:25.563    00027428    [DINPUT] [PAD1] [M1] DInputSetState: returned HR = 0
06:28:25.621    00027428    [x360ce] [PAD1] XInputSetState
06:28:25.621    00027428    [DINPUT] [PAD1] [M0] SetDeviceForces: force = 0
06:28:25.621    00027428    [DINPUT] [PAD1] [M0] DInputSetState: returned HR = 0
06:28:25.621    00027428    [DINPUT] [PAD1] [M1] SetDeviceForces: force = 0
06:28:25.621    00027428    [DINPUT] [PAD1] [M1] DInputSetState: returned HR = 0
06:28:25.675    00027428    [x360ce] [PAD1] XInputSetState
06:28:25.677    00027428    [DINPUT] [PAD1] [M0] SetDeviceForces: force = 0
06:28:25.677    00027428    [DINPUT] [PAD1] [M0] DInputSetState: returned HR = 0
06:28:25.677    00027428    [DINPUT] [PAD1] [M1] SetDeviceForces: force = 0
06:28:25.677    00027428    [DINPUT] [PAD1] [M1] DInputSetState: returned HR = 0
06:28:25.747    00027428    [x360ce] [PAD1] XInputSetState
06:28:25.750    00027428    [DINPUT] [PAD1] [M0] SetDeviceForces: force = 0
06:28:25.750    00027428    [DINPUT] [PAD1] [M0] DInputSetState: returned HR = 0
06:28:25.750    00027428    [DINPUT] [PAD1] [M1] SetDeviceForces: force = 0
06:28:25.750    00027428    [DINPUT] [PAD1] [M1] DInputSetState: returned HR = 0
06:28:56.836    00044952    Hook timeout

This is probably unrelated to the issue at hand, but it is not the behaviour of 
the console in older builds.

The Console screen used to get destroyed and a new one would open to continue 
logging.

Original comment by danialho...@gmail.com on 10 Nov 2014 at 7:35

GoogleCodeExporter commented 9 years ago
Try r993.

Original comment by tapcio on 10 Nov 2014 at 11:54

GoogleCodeExporter commented 9 years ago
Try VS2013 dll.

Original comment by tapcio on 11 Nov 2014 at 9:58

Attachments:

GoogleCodeExporter commented 9 years ago
Dark Souls completely refuses to start with VS2013 builds, darksouls.exe and 
data.exe are stuck open with 0% usage and no memory movement.

Original comment by danialho...@gmail.com on 11 Nov 2014 at 10:23

GoogleCodeExporter commented 9 years ago
and FFXIV crashed at start with the same thread access violation.

Original comment by danialho...@gmail.com on 11 Nov 2014 at 10:26

GoogleCodeExporter commented 9 years ago
r994

Original comment by tapcio on 11 Nov 2014 at 10:28

GoogleCodeExporter commented 9 years ago
r995

Original comment by tapcio on 11 Nov 2014 at 12:24

GoogleCodeExporter commented 9 years ago
this particular issue appears to be resolved with r995

closed by r995

Original comment by danialho...@gmail.com on 11 Nov 2014 at 2:43

GoogleCodeExporter commented 9 years ago

Original comment by danialho...@gmail.com on 12 Nov 2014 at 7:44

Attachments: