winlator icon indicating copy to clipboard operation
winlator copied to clipboard

Winlator crashes when opening folder with NFS Underground game in builtin file manager

Open borisphen opened this issue 7 months ago • 0 comments

Description When attempting to open the folder containing Need for Speed Underground (NFS Underground) using Winlator's built-in file manager, the application crashes just trying scroll folder's content. This occurs consistently when browsing to the specific game folder location.

Reproduction Steps Launch Winlator

Open the built-in file manager

Navigate to the directory containing NFS Underground

Attempt to open the game folder and any scroll gesture

Result: Winlator crashes

Expected Behavior: Folder should open normally, showing game files

General Information Winlator Version: 10.0.0

Smartphone Model: Retroid Pocket Flip 2 (Snapdragon 865)

Android Version: 13

Game Information: Need for Speed Underground

Container Settings (from your Winlator container) Graphics Driver: Turnip

DX Wrapper: DXVK

Audio Driver: ALSA

Additional Context Does this happen with other game folders? No

Are there any error messages before crashing? (Check Logcat if possible) logs are below

Is the game installed on internal storage or SD card? SD

Logs

2025-05-23 22:04:09.311 16829-17098 AndroidRuntime com.winlator E FATAL EXCEPTION: pool-5-thread-1 Process: com.winlator, PID: 16829 java.nio.BufferUnderflowException at java.nio.Buffer.nextGetIndex(Buffer.java:521) at java.nio.HeapByteBuffer.getInt(HeapByteBuffer.java:332) at com.winlator.win32.PEParser$ImageResourceDirectoryEntry.(PEParser.java:37) at com.winlator.win32.PEParser$ImageResourceDirectoryEntry.(PEParser.java:28) at com.winlator.win32.PEParser$ImageResourceDirectory.(PEParser.java:79) at com.winlator.win32.PEParser$ImageResourceDirectory.(PEParser.java:60) at com.winlator.win32.PEParser.readImageResourceDirectory(PEParser.java:173) at com.winlator.win32.PEParser.extractIcon(PEParser.java:228) at com.winlator.win32.PEParser.extractIcon(PEParser.java:266) at com.winlator.win32.PEParser.extractIcon(PEParser.java:262) at com.winlator.ContainerFileManagerFragment.getIconForFile(ContainerFileManagerFragment.java:411) at com.winlator.ContainerFileManagerFragment$LoadIconTask.lambda$loadAsync$1(ContainerFileManagerFragment.java:224) at com.winlator.ContainerFileManagerFragment$LoadIconTask.$r8$lambda$_vRReWWdrLiNdEaWIj23hAHdYLU(Unknown Source:0) at com.winlator.ContainerFileManagerFragment$LoadIconTask$$ExternalSyntheticLambda0.run(Unknown Source:4) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637) at java.lang.Thread.run(Thread.java:1012)

borisphen avatar May 23 '25 19:05 borisphen