(09-06-2020, 11:06 AM)onelight Wrote:(09-05-2020, 08:08 PM)gid15 Wrote: A small improvement in 90318ce when using flash0/kd/utility.prx and pspnet*.prx.
When generating the log files, could you please add the following 2 lines (additionally to the ones you already have):
Thank you!Code:<logger name='hle.sceNetIfhandle'> <level value='debug' /> </logger>
<logger name='hle.sceUtility'> <level value='debug' /> </logger>
<logger name='hle.sceWlan'> <level value='trace' /> </logger>
<logger name='hle.SysMemUserForUser'> <level value='trace' /> </logger>
I found jpcsp won't crash if maximum method size >= 500, I am sorry
There is still an issue with the memory management as there is not enough available PSP memory for the creation of the "SceNetAdhocMatchingEvent" thread. This is not directly related to the network emulation but it seems this game is really using the PSP memory at its maximum and we still have some incompatibility issue there.
Code:
16:50:47 WARN hle.SysMemUserForUser - user_main - malloc cannot allocate partition=2, name='ThreadMan-Stack-0x39e-SceNetAdhocMatchingEvent', type=PSP_SMEM_High, size=0x1000, addr=0x00000000, maxFreeMem=0x400, totalFreeMem=0x900
16:50:47 DEBUG hle.SysMemUserForUser - user_main - Free list: partition=1: [addr=0x08016800-0x083BFE00, size=0x3A9600], [addr=0x083BFF00-0x083FDE00, size=0x3DF00], [addr=0x083FE600-0x083FEB00, size=0x500]
partition=2: [addr=0x09F40F00-0x09F41000, size=0x100], [addr=0x09FA6000-0x09FA6400, size=0x400], [addr=0x09FFFC00-0x0A000000, size=0x400]
16:50:47 DEBUG hle.SysMemUserForUser - user_main - Allocated blocks:
SysMemInfo[addr=0x08000000-0x08000100, uid=0x18, partition=1, name='ThreadMan-InternalHandlers', type=PSP_SMEM_Addr, size=0x100 (allocated=0x100)]
SysMemInfo[addr=0x08000100-0x0800BA00, uid=0x25, partition=1, name='sceUtility_Driver', type=PSP_SMEM_Addr, size=0xB834 (allocated=0xB900)]
SysMemInfo[addr=0x0800BA00-0x0800BB00, uid=0x26, partition=1, name='ModuleStartOptions', type=PSP_SMEM_Low, size=0x14 (allocated=0x100)]
SysMemInfo[addr=0x0800BB00-0x0800DB00, uid=0x2D, partition=1, name='UID Heap', type=PSP_SMEM_Low, size=0x2000 (allocated=0x2000)]
SysMemInfo[addr=0x0800DB00-0x0800DC00, uid=0x54, partition=1, name='ModuleMgr', type=PSP_SMEM_Addr, size=0x100 (allocated=0x100)]
SysMemInfo[addr=0x0800DC00-0x08011A00, uid=0x57, partition=1, name='sceNet_Service', type=PSP_SMEM_Addr, size=0x3D78 (allocated=0x3E00)]
SysMemInfo[addr=0x08011A00-0x08011B00, uid=0x62, partition=1, name='SceKernelGameInfo', type=PSP_SMEM_Low, size=0xDC (allocated=0x100)]
SysMemInfo[addr=0x08011B00-0x08011C00, uid=0x6A, partition=1, name='ModuleMgr', type=PSP_SMEM_Addr, size=0x100 (allocated=0x100)]
SysMemInfo[addr=0x08011C00-0x08016700, uid=0x6D, partition=1, name='sceNetAdhocAuth_Service', type=PSP_SMEM_Addr, size=0x4AB0 (allocated=0x4B00)]
SysMemInfo[addr=0x08016700-0x08016800, uid=0x2D0, partition=1, name='DummyControlBlock', type=PSP_SMEM_Low, size=0x24 (allocated=0x100)]
SysMemInfo[addr=0x083BFE00-0x083BFF00, uid=0x2B, partition=1, name='SceModule-0x2A', type=PSP_SMEM_HighAligned, size=0xC4 (allocated=0x100)]
SysMemInfo[addr=0x083FDE00-0x083FE600, uid=0x37A, partition=1, name='ThreadMan-Stack-0x379-SceWlanHal', type=PSP_SMEM_High, size=0x800 (allocated=0x800)]
SysMemInfo[addr=0x083FEB00-0x083FEC00, uid=0x93, partition=1, name='SceModule-0x92', type=PSP_SMEM_HighAligned, size=0xC4 (allocated=0x100)]
SysMemInfo[addr=0x083FEC00-0x083FED00, uid=0x8C, partition=1, name='SceModule-0x8B', type=PSP_SMEM_HighAligned, size=0xC4 (allocated=0x100)]
SysMemInfo[addr=0x083FED00-0x083FEE00, uid=0x85, partition=1, name='SceModule-0x84', type=PSP_SMEM_HighAligned, size=0xC4 (allocated=0x100)]
SysMemInfo[addr=0x083FEE00-0x083FEF00, uid=0x7E, partition=1, name='SceModule-0x7D', type=PSP_SMEM_HighAligned, size=0xC4 (allocated=0x100)]
SysMemInfo[addr=0x083FEF00-0x083FF000, uid=0x77, partition=1, name='SceModule-0x76', type=PSP_SMEM_HighAligned, size=0xC4 (allocated=0x100)]
SysMemInfo[addr=0x083FF000-0x083FF100, uid=0x6C, partition=1, name='SceModule-0x6B', type=PSP_SMEM_HighAligned, size=0xC4 (allocated=0x100)]
SysMemInfo[addr=0x083FF100-0x083FF200, uid=0x64, partition=1, name='SceModule-0x63', type=PSP_SMEM_HighAligned, size=0xC4 (allocated=0x100)]
SysMemInfo[addr=0x083FF200-0x083FF300, uid=0x61, partition=1, name='SceModule-0x60', type=PSP_SMEM_HighAligned, size=0xC4 (allocated=0x100)]
SysMemInfo[addr=0x083FF300-0x083FF400, uid=0x56, partition=1, name='SceModule-0x55', type=PSP_SMEM_HighAligned, size=0xC4 (allocated=0x100)]
SysMemInfo[addr=0x083FF400-0x083FF500, uid=0x4E, partition=1, name='SceModule-0x4D', type=PSP_SMEM_HighAligned, size=0xC4 (allocated=0x100)]
SysMemInfo[addr=0x083FF500-0x083FF600, uid=0x4B, partition=1, name='SceModule-0x4A', type=PSP_SMEM_HighAligned, size=0xC4 (allocated=0x100)]
SysMemInfo[addr=0x083FF600-0x083FF700, uid=0x49, partition=1, name='SceModule-0x48', type=PSP_SMEM_HighAligned, size=0xC4 (allocated=0x100)]
SysMemInfo[addr=0x083FF700-0x083FFF00, uid=0x43, partition=1, name='ThreadMan-Stack-0x42-SceIofileAsync', type=PSP_SMEM_High, size=0x800 (allocated=0x800)]
SysMemInfo[addr=0x083FFF00-0x08400000, uid=0x24, partition=1, name='SceModule-0x23', type=PSP_SMEM_HighAligned, size=0xC4 (allocated=0x100)]
SysMemInfo[addr=0x08800000-0x08804000, uid=0x19, partition=2, name='ThreadMan-RootMem', type=PSP_SMEM_Addr, size=0x4000 (allocated=0x4000)]
SysMemInfo[addr=0x08804000-0x09F40F00, uid=0x2C, partition=2, name='MainApp', type=PSP_SMEM_Addr, size=0x173CE10 (allocated=0x173CF00)]
SysMemInfo[addr=0x09F41000-0x09F42000, uid=0x37, partition=2, name='UserSbrk', type=PSP_SMEM_LowAligned, size=0x1000 (allocated=0x1000)]
SysMemInfo[addr=0x09F42000-0x09F4A000, uid=0x4C, partition=2, name='SceUtilityModule', type=PSP_SMEM_Low, size=0x8000 (allocated=0x8000)]
SysMemInfo[addr=0x09F4A000-0x09F56900, uid=0x5A, partition=2, name='SceUtilityModule', type=PSP_SMEM_Low, size=0xC900 (allocated=0xC900)]
SysMemInfo[addr=0x09F56900-0x09F5E000, uid=0x5D, partition=2, name='SceUtilityModule', type=PSP_SMEM_Low, size=0x7700 (allocated=0x7700)]
SysMemInfo[addr=0x09F5E000-0x09F65B00, uid=0x70, partition=2, name='SceUtilityModule', type=PSP_SMEM_Low, size=0x7B00 (allocated=0x7B00)]
SysMemInfo[addr=0x09F65B00-0x09F6DC00, uid=0x73, partition=2, name='SceUtilityModule', type=PSP_SMEM_Low, size=0x8100 (allocated=0x8100)]
SysMemInfo[addr=0x09F6DC00-0x09F72800, uid=0x7A, partition=2, name='SceUtilityModule', type=PSP_SMEM_Low, size=0x4C00 (allocated=0x4C00)]
SysMemInfo[addr=0x09F72800-0x09F76E00, uid=0x81, partition=2, name='SceUtilityModule', type=PSP_SMEM_Low, size=0x4600 (allocated=0x4600)]
SysMemInfo[addr=0x09F76E00-0x09F77F00, uid=0x88, partition=2, name='SceUtilityModule', type=PSP_SMEM_Low, size=0x1100 (allocated=0x1100)]
SysMemInfo[addr=0x09F77F00-0x09F7E000, uid=0x8F, partition=2, name='SceUtilityModule', type=PSP_SMEM_Low, size=0x6100 (allocated=0x6100)]
SysMemInfo[addr=0x09F7E000-0x09F9E000, uid=0x2C6, partition=2, name='ThreadMan-Vpl-0x2c5-SceNet', type=PSP_SMEM_Low, size=0x20000 (allocated=0x20000)]
SysMemInfo[addr=0x09F9E000-0x09FA6000, uid=0x39C, partition=2, name='ThreadMan-Vpl-0x39b-SceNetAdhocMatchingMemoryPool', type=PSP_SMEM_Low, size=0x8000 (allocated=0x8000)]
SysMemInfo[addr=0x09FA6400-0x09FA8400, uid=0x383, partition=2, name='ThreadMan-Stack-0x382-SceNetAdhocAuth', type=PSP_SMEM_High, size=0x2000 (allocated=0x2000)]
SysMemInfo[addr=0x09FA8400-0x09FA9400, uid=0x2D9, partition=2, name='ThreadMan-Stack-0x2d8-SceNetAdhocctl', type=PSP_SMEM_High, size=0x1000 (allocated=0x1000)]
SysMemInfo[addr=0x09FA9400-0x09FAA400, uid=0x2CF, partition=2, name='ThreadMan-Stack-0x2ce-SceNetNetintr', type=PSP_SMEM_High, size=0x1000 (allocated=0x1000)]
SysMemInfo[addr=0x09FAA400-0x09FAB400, uid=0x2C9, partition=2, name='ThreadMan-Stack-0x2c8-SceNetCallout', type=PSP_SMEM_High, size=0x1000 (allocated=0x1000)]
SysMemInfo[addr=0x09FAB400-0x09FABC00, uid=0x13C, partition=2, name='ThreadMan-Stack-0x13b-CGra::Thread', type=PSP_SMEM_High, size=0x800 (allocated=0x800)]
SysMemInfo[addr=0x09FABC00-0x09FB1400, uid=0x138, partition=2, name='ThreadMan-Stack-0x137-Sd::UpdateMSec', type=PSP_SMEM_High, size=0x5800 (allocated=0x5800)]
SysMemInfo[addr=0x09FB1400-0x09FB4400, uid=0x136, partition=2, name='ThreadMan-Stack-0x135-Sd::UpdateVSync', type=PSP_SMEM_High, size=0x3000 (allocated=0x3000)]
SysMemInfo[addr=0x09FB4400-0x09FBC400, uid=0xA4, partition=2, name='ThreadMan-Stack-0xa3-AUDIO MIXER THREAD', type=PSP_SMEM_High, size=0x8000 (allocated=0x8000)]
SysMemInfo[addr=0x09FBC400-0x09FBCC00, uid=0xA0, partition=2, name='ThreadMan-Stack-0x9f-FlipThread', type=PSP_SMEM_High, size=0x800 (allocated=0x800)]
SysMemInfo[addr=0x09FBCC00-0x09FC3C00, uid=0x9C, partition=2, name='ThreadMan-Stack-0x9b-RsrcBuilder', type=PSP_SMEM_High, size=0x7000 (allocated=0x7000)]
SysMemInfo[addr=0x09FC3C00-0x09FC8C00, uid=0x96, partition=2, name='ThreadMan-Stack-0x95-AsyncFileAccess', type=PSP_SMEM_High, size=0x5000 (allocated=0x5000)]
SysMemInfo[addr=0x09FC8C00-0x09FFFC00, uid=0x36, partition=2, name='ThreadMan-Stack-0x35-user_main', type=PSP_SMEM_High, size=0x37000 (allocated=0x37000)]
16:50:47 WARN hle.ThreadManForUser - user_main - sceKernelCreateThread not enough memory to create the stack
Always include a complete log file at INFO level in your reports. Thanks! How to post a log