Jump to content

PKHeX crashing when typing in a search box


Recommended Posts

Whenever I type in a search box in PKHeX (e.g. to search for a Pokemon species, move, nature, etc.) it will crash immediately. I'm currently using Ubuntu 22.04, but this was also a problem on Ubuntu 21.10. Every other aspect of the program works perfectly fine, it's just very annoying having to manually search through the massive lists to find what I'm looking for. Any help is appreciated! Here's the crash log:


Unhandled exception: page fault on read access to 0xffffffffffffffff in 64-bit code (0x000003af6f1ab0).

Register dump:
 rip:00000003af6f1ab0 rsp:000000000141dd18 rbp:0000000000000000 eflags:00010206 (  R- --  I   - -P- )
 rax:000000000216e7f0 rbx:0000000002169280 rcx:006f006e00200065 rdx:000000000141ddc8
 rsi:006f006e00200065 rdi:000000000141ddc8  r8:0000000003000020  r9:0000000000000000 r10:0000000000000fe0
 r11:00000001801c5730 r12:00000000016cba90 r13:0000000006288bf8 r14:000000000216e7f0 r15:0000000000000400
Stack dump:
0x0000000141dd18:  000000018021324a 0000000003000020
0x0000000141dd28:  0000000180239004 0000000000000400
0x0000000141dd38:  0000000002168b10 0000000006288bf8
0x0000000141dd48:  0000000002169280 006f006e00200065
0x0000000141dd58:  000000000141ddc8 0000000009c8efb0
0x0000000141dd68:  00000001801d051d 0000000007a3768b
0x0000000141dd78:  0000000000000000 0000000002168b10
0x0000000141dd88:  006f006e00200065 0000000002168b10
0x0000000141dd98:  00000001801c576e 0000000002241e20
0x0000000141dda8:  0000000004dffee6 000000000141df18
0x0000000141ddb8:  000000000141dffc 3ff0000000000000
0x0000000141ddc8:  0000000000000000 000000000141edf0
=>0 0x000003af6f1ab0 wcslen(str=006F006E00200065) [Z:\usr\src\packages\BUILD\dlls\msvcrt\wcs.c:2871] in ucrtbase (0000000000000000)
  1 0x0000018021324a in libmono-2.0-x86_64 (+0x21324a) (0000000000000000)
  2 0x000001801d051d in libmono-2.0-x86_64 (+0x1d051d) (0000000000000000)
  3 0x000001801c576e in libmono-2.0-x86_64 (+0x1c576e) (0000000000000000)
0x000003af6f1ab0 wcslen [Z:\usr\src\packages\BUILD\dlls\msvcrt\wcs.c:2871] in ucrtbase: cmpw    $0,(%rcx)
Unable to access file 'Z:\usr\src\packages\BUILD\dlls\msvcrt\wcs.c'
Module    Address                    Debug info    Name (67 modules)
PE    0000000000400000-0000000001312000    Deferred        pkhex
PE    0000000004970000-0000000004dec000    Deferred        mscorlib
PE    0000000005810000-0000000005ad4000    Deferred        system
PE    0000000005ae0000-0000000005b60000    Deferred        system.drawing
PE    0000000005b60000-0000000005b68000    Deferred        accessibility
PE    0000000005ba0000-0000000005bee000    Deferred        monoposixhelper-x86_64
PE    0000000005e10000-0000000005e18000    Deferred        system.valuetuple
PE    0000000005f70000-0000000005f96000    Deferred        system.configuration
PE    00000000060d0000-0000000006110000    Deferred        mono.security
PE    0000000006340000-0000000006364000    Deferred        system.numerics
PE    0000000006370000-000000000645c000    Deferred        system.runtime.serialization
PE    00000000070b0000-00000000070c0000    Deferred        i18n
PE    00000000070d0000-00000000070ea000    Deferred        i18n.west
PE    0000000007100000-000000000710c000    Deferred        system.runtime
PE    0000000007120000-0000000007128000    Deferred        system.resources.resourcemanager
PE    0000000007130000-0000000007138000    Deferred        system.runtime.interopservices
PE    0000000007150000-0000000007260000    Deferred        system.core
PE    00000000080f0000-00000000082fc000    Deferred        system.data
PE    0000000008300000-000000000860e000    Deferred        system.xml
PE    00000000087f0000-00000000087f8000    Deferred        system.reflection
PE    000000000bbd0000-000000000bbd8000    Deferred        system.runtime.extensions
PE    000000000d0f0000-000000000d286000    Deferred        libmono-btls-x86_64
PE    0000000010000000-000000001079a000    Deferred        system.windows.forms
PE    000000007b000000-000000007b5dd000    Deferred        kernelbase
PE    000000007b600000-000000007b791000    Deferred        kernel32
PE    0000000170000000-0000000170358000    Deferred        ntdll
PE    0000000180000000-000000018045c000    Export          libmono-2.0-x86_64
PE    00000001c69e0000-00000001c7777000    Deferred        shell32
PE    00000001c8b40000-00000001c8bb6000    Deferred        msacm32
PE    00000001c8db0000-00000001c90cc000    Deferred        msvcrt
PE    00000001d7cb0000-00000001d7cdb000    Deferred        wsock32
PE    00000001dd3f0000-00000001dd771000    Deferred        crypt32
PE    00000001ec2b0000-00000001ec358000    Deferred        ws2_32
PE    00000001fc170000-00000001fc1c5000    Deferred        fusion
PE    0000000228450000-00000002284c8000    Deferred        propsys
PE    0000000231ae0000-0000000231d6c000    Deferred        rpcrt4
PE    0000000236370000-00000002363fd000    Deferred        winepulse
PE    000000023d820000-000000023de21000    Deferred        user32
PE    0000000240030000-00000002400bd000    Deferred        iphlpapi
PE    0000000243540000-0000000243836000    Deferred        gdiplus
PE    00000002522e0000-00000002523d1000    Deferred        oleacc
PE    000000026b4c0000-000000026b758000    Deferred        gdi32
PE    00000002739c0000-0000000273ed1000    Deferred        oleaut32
PE    000000027f7f0000-000000027f87a000    Deferred        winex11
PE    000000028dfa0000-000000028dfbf000    Deferred        nsi
PE    000000029cfc0000-000000029d008000    Deferred        dnsapi
PE    00000002bb750000-00000002bbcb1000    Deferred        comctl32
PE    00000002d4d40000-00000002d4d91000    Deferred        bcrypt
PE    00000002de970000-00000002dea2e000    Deferred        rsaenh
PE    00000002e3540000-00000002e364f000    Deferred        shlwapi
PE    00000002e8f10000-00000002e949e000    Deferred        ole32
PE    00000002f1fa0000-00000002f1fbe000    Deferred        version
PE    00000002f7230000-00000002f72e3000    Deferred        uxtheme
PE    00000003126f0000-0000000312745000    Deferred        shcore
PE    0000000327020000-00000003271a7000    Deferred        combase
PE    000000032a700000-000000032a7c1000    Deferred        sechost
PE    000000032f9a0000-000000032f9b7000    Deferred        msimg32
PE    0000000330260000-000000033038f000    Deferred        advapi32
PE    0000000330a70000-0000000330ab9000    Deferred        uiautomationcore
PE    0000000336850000-00000003368ff000    Deferred        mmdevapi
PE    0000000356770000-0000000356867000    Deferred        mscoree
PE    0000000361860000-0000000362104000    Deferred        windowscodecs
PE    0000000375610000-0000000375671000    Deferred        win32u
PE    00000003af670000-00000003af9f9000    Dwarf-4         ucrtbase
PE    00000003afd00000-00000003afd68000    Deferred        imm32
PE    00000003b8f00000-00000003b90b3000    Deferred        winmm
PE    00000003be590000-00000003be85f000    Deferred        dbghelp
process  tid      prio    name (all IDs are in hex)
00000038 services.exe
    0000003c    0     
    00000040    0     
    00000054    0     
    00000074    0     
    000000a4    0     
    000000c0    0     
    000000d8    0     
00000044 winedevice.exe
    00000048    0     
    0000005c    0     
    00000060    0     
    00000064    0     
    00000068    0     
    000000cc    0     
0000006c winedevice.exe
    00000070    0     
    00000078    0     
    0000007c    0     
    00000080    0     
    00000084    0     
    00000088    0     
    0000008c    0     
00000094 plugplay.exe
    00000098    0     
    000000ac    0     
    000000b0    0     
    000000b4    0     
000000b8 svchost.exe
    000000bc    0     
    000000c4    0     
    000000c8    0     
000000d0 rpcss.exe
    000000d4    0     
    000000dc    0     
    000000e0    0     
    000000e4    0     
    000000e8    0     
    00000180    0     
00000160 (D) Z:\home\user\Downloads\PKHeX\PKHeX.exe
    00000164    0 <==
    00000168    0     
    0000016c    0     
    00000184    0     
    00000188    0     
    0000018c    0     
    00000190    0     
    00000194    0     
    00000198    0     
    0000019c    0     
    000001a0    0     
    000001a4    0     
    000001b0    0     
    000001b4    0     
    000001b8   15     
    000001d0    0     
00000170 explorer.exe
    00000174    0     
    00000178    0     
    0000017c    0     
000001c8 conhost.exe
    000001cc    0     
System information:
    Wine build: wine-7.12
    Platform: x86_64
    Version: Windows 7
    Host system: Linux
    Host version: 5.18.12-051812-generic

Link to comment
Share on other sites

10 minutes ago, Kaphotics said:

Nothing in that dump looks to be indicative of PKHeX code at fault. More than likely it's your OS/wine install having a bug outside of PKHeX's control.

Interesting. Do you have any idea where I could start with trying to fix the bug?

Link to comment
Share on other sites

43 minutes ago, Gameskiller01 said:

Interesting. Do you have any idea where I could start with trying to fix the bug?

Unable to access file 'Z:\usr\src\packages\BUILD\dlls\msvcrt\wcs.c'

I'd start there. I do not know how to resolve that.

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...