A Hat in Time Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Application crashes unless "discord-rpc.dll" is renamed

Versions of A Hat in Time made after the first DLC was released will crash immediately unless the file "discord-rpc.dll" is either renamed or deleted from the ../HatInTime/Binaries/Win64 directory. After being renamed or deleted, the game runs well (at least as well as it can on my mac's lacking Radeon Pro 450). Additional information can be found at WineHQ: https://bugs.winehq.org/show_bug.cgi?id=46183

Here is a backtrace from attempting to load the program with discord-rpc.dll:


Unhandled exception: page fault on read access to 0x00000020 in 64-bit code (0x0000000008ca6b92).
Register dump:
 rip:0000000008ca6b92 rsp:000000000ab4fd60 rbp:000000000ab4ffd0 eflags:00010246 (  R- --  I  Z- -P- )
 rax:0000000000000000 rbx:0000000000000001 rcx:0000000000000000 rdx:0000000081ad0000
 rsi:000000000ab4fde0 rdi:0000000000000000  r8:0000000008cb74b8  r9:0000000008cb74c0 r10:00001ce49b82c311
 r11:0000000000000000 r12:0000000000000000 r13:0000000000000000 r14:00000000050d2510 r15:0000000000000000
Stack dump:
0x000000000ab4fd60:  0000000000000000 0000000000000000
0x000000000ab4fd70:  0000000000000000 0000000000000000
0x000000000ab4fd80:  00000000050d2510 0000000008ca129a
0x000000000ab4fd90:  0000000000000000 0000000000000000
0x000000000ab4fda0:  0000000000000000 0000000000000000
0x000000000ab4fdb0:  0000000008ca126c 000000007bc9d983
0x000000000ab4fdc0:  0000000000000000 0000000000000000
0x000000000ab4fdd0:  0000000000000000 0000000000000000
0x000000000ab4fde0:  ffffffffffffffff 000000007bcc2640
0x000000000ab4fdf0:  000000007bc4f250 0000000000000000
0x000000000ab4fe00:  000000000ab4fde0 0000000008ca126c
0x000000000ab4fe10:  000000000ab4fdc0 000000000ab4ffd0
Backtrace:
=>0 0x0000000008ca6b92 EntryPoint+0x2a7ee() in discord-rpc (0x000000000ab4ffd0)
  1 0x0000000008ca129a EntryPoint+0x24ef5() in discord-rpc (0x000000000ab4ffd0)
0x0000000008ca6b92 EntryPoint+0x2a7ee in discord-rpc: movq    0x0000000000000020(%rax),%rcx
Modules:
Module    Address                    Debug info    Name (70 modules)
PE              600000-          625000    Deferred        nvtt_64
PE              630000-          63d000    Deferred        libvorbisfile_64
PE              640000-          64a000    Deferred        libogg_64
PE              650000-          7f2000    Deferred        libvorbis_64
PE              800000-          82b000    Deferred        tbbmalloc
PE              940000-          94e000    Deferred        api-ms-win-core-localization-l1-2-1
PE             7c40000-         7dcd000    Deferred        crashhandler64
PE             8c70000-         8d0c000    Export          discord-rpc
PE            453e0000-        453e3000    Deferred        wow64cpu
PE            488c0000-        488c9000    Deferred        x3daudio1_7
PE            488d0000-        488e5000    Deferred        xapofx1_5
PE            48f30000-        48f3b000    Deferred        advapi32
PE            48ff0000-        48ff4000    Deferred        kerberos
PE            49b50000-        4a42d000    Deferred        shell32
PE            4a540000-        4a54c000    Deferred        gdi32
PE            4a6d0000-        4a6e0000    Deferred        msvcrt
PE            4a7b0000-        4a8a1000    Deferred        user32
PE            4aa00000-        4aa0c000    Deferred        dinput8
PE            4aa70000-        4aa79000    Deferred        wined3d
PE            4acc0000-        4ad92000    Deferred        msvcr100
PE            4adc0000-        4adc6000    Deferred        iphlpapi
PE            4adf0000-        4adf6000    Deferred        ws2_32
PE            4ae30000-        4af95000    Deferred        dbghelp
PE            4af30000-        4af37000    Deferred        winemac
PE            4b020000-        4b067000    Deferred        crypt32
PE            4b110000-        4b115000    Deferred        bcrypt
PE            4b140000-        4b144000    Deferred        secur32
PE            4b180000-        4b187000    Deferred        netapi32
PE            4b3e0000-        4b402000    Deferred        wininet
PE            4b470000-        4b475000    Deferred        dxgi
PE            4b4a0000-        4b4ad000    Deferred        winspool
PE            4b4f0000-        4b4f7000    Deferred        winhttp
PE            61480000-        6148f000    Deferred        wlanapi
PE            62600000-        62642000    Deferred        usp10
PE            62740000-        62753000    Deferred        imagehlp
PE            637c0000-        6387e000    Deferred        winmm
PE            64940000-        6495e000    Deferred        shcore
PE            65000000-        65141000    Deferred        ole32
PE            65600000-        6561e000    Deferred        xinput1_3
PE            65680000-        6568e000    Deferred        api-ms-win-core-sysinfo-l1-2-1
PE            65780000-        65791000    Deferred        version
PE            66800000-        66810000    Deferred        mswsock
PE            67740000-        67779000    Deferred        wbemprox
PE            68a40000-        68a98000    Deferred        shlwapi
PE            69700000-        6970f000    Deferred        faultrep
PE            6a100000-        6a233000    Deferred        oleaut32
PE            6a700000-        6a781000    Deferred        setupapi
PE            6acc0000-        6acce000    Deferred        psapi
PE            6af00000-        6af98000    Deferred        msvcp100
PE            6b880000-        6b88d000    Deferred        api-ms-win-core-fibers-l1-1-1
PE            6bec0000-        6bedc000    Deferred        imm32
PE            6c0c0000-        6c0d4000    Deferred        wsock32
PE            6d9c0000-        6d9e3000    Deferred        mpr
PE            6e340000-        6e34e000    Deferred        api-ms-win-core-synch-l1-2-0
PE            6e6c0000-        6e809000    Deferred        comctl32
PE            6f400000-        6f480000    Deferred        wineps
PE            6f940000-        6f977000    Deferred        d3d9
PE            6fbc0000-        6fc48000    Deferred        rpcrt4
PE            71040000-        710af000    Deferred        kernelbase
PE            71240000-        71263000    Deferred        jsproxy
PE            7a810000-        7a818000    Deferred        opengl32
PE            7b410000-        7b5db000    Deferred        kernel32
PE            7bc10000-        7bc24000    Deferred        ntdll
ELF            7c400000-        7c408000    Deferred        <wine-loader>
PE           138000000-       13922e000    Deferred        steamclient64
PE           13b400000-       13b44a000    Deferred        steam_api64
PE           13f000000-       13f174000    Deferred        tier0_s64
PE           13f600000-       13f67a000    Deferred        vstdlib_s64
PE           140000000-       1413f0000    Deferred        hatintimegame
PE           180000000-       180263000    Deferred        d3dx9_43
Threads:
process  tid      prio (all id:s are in hex)
00000008 winewrapper.exe
    00000009    0
0000000c services.exe
    00000026    0
    00000020    0
    0000001b    0
    00000015    0
    00000014    0
    00000013    0
    0000000e    0
    0000000d    0
0000000f winedevice.exe
    00000018    0
    00000017    0
    00000016    0
    00000010    0
00000011 winewrapper.exe
    00000012    0
00000019 plugplay.exe
    0000001d    0
    0000001c    0
    0000001a    0
0000001e winedevice.exe
    00000025    0
    00000024    0
    00000023    0
    00000022    0
    00000021    0
    0000001f    0
00000027 explorer.exe
    0000002d    0
    0000002c    0
    0000002b    0
    00000028    0
00000029 sendwndcmd.exe
    0000002a    0
0000002e (D) C:\Program Files (x86)\Steam\steamapps\common\HatinTime\Binaries\Win64\HatinTimeGame.exe
    00000057    0
    00000056    0
    00000053    0 <==
    00000052    0
    00000051    0
    00000050    0
    0000004f    0
    00000045    0
    00000043    0
    00000042    0
    0000003d    0
    0000003c    0
    0000003b    0
    0000003a    0
    00000039    0
    00000038    0
    00000037    0
    00000036    0
    00000035    0
    00000034    0
    00000033    0
    00000032    0
    00000031    0
    00000030    0
    0000002f    0
System information:
    Wine build: wine-4.12.1-8288-g34b6b2288c7
    Platform: x86_64
    Version: Windows 7
    Host system: Darwin
    Host version: 19.3.0

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzM2MzczNjgxLCJjc3JmX3Rva2VuIjoiRnhhc3BjQmc5eVRldDdYRSIsImdkcHIiOjB9