Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emulator crashes when trying to open a file in a folder of many files #16

Open
MatiLol251 opened this issue May 1, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@MatiLol251
Copy link

MatiLol251 commented May 1, 2024

I use Windows x64 version of Cadmium and when I try to open my Chip-8 folder (with 753 files!) the emulator crashes. Here is the log

[2024-05-01T03:06:26.571Z][INFO] : Initializing raylib 4.6-dev
[2024-05-01T03:06:26.571Z][INFO] : Supported raylib modules:
[2024-05-01T03:06:26.571Z][INFO] :     > rcore:..... loaded (mandatory)
[2024-05-01T03:06:26.571Z][INFO] :     > rlgl:...... loaded (mandatory)
[2024-05-01T03:06:26.571Z][INFO] :     > rshapes:... loaded (optional)
[2024-05-01T03:06:26.571Z][INFO] :     > rtextures:. loaded (optional)
[2024-05-01T03:06:26.571Z][INFO] :     > rtext:..... loaded (optional)
[2024-05-01T03:06:26.571Z][INFO] :     > rmodels:... loaded (optional)
[2024-05-01T03:06:26.571Z][INFO] :     > raudio:.... loaded (optional)
[2024-05-01T03:06:26.955Z][INFO] : DISPLAY: Device initialized successfully
[2024-05-01T03:06:26.955Z][INFO] :     > Display size: 1920 x 1080
[2024-05-01T03:06:26.958Z][INFO] :     > Screen size:  512 x 420
[2024-05-01T03:06:26.958Z][INFO] :     > Render size:  512 x 420
[2024-05-01T03:06:26.958Z][INFO] :     > Viewport offsets: 0, 0
[2024-05-01T03:06:26.962Z][INFO] : GLAD: OpenGL extensions loaded successfully
[2024-05-01T03:06:26.962Z][INFO] : GL: Supported extensions count: 386
[2024-05-01T03:06:26.962Z][INFO] : GL: OpenGL device information:
[2024-05-01T03:06:26.962Z][INFO] :     > Vendor:   NVIDIA Corporation
[2024-05-01T03:06:26.962Z][INFO] :     > Renderer: NVIDIA GeForce GTX 960/PCIe/SSE2
[2024-05-01T03:06:26.962Z][INFO] :     > Version:  3.3.0 NVIDIA 552.12
[2024-05-01T03:06:26.962Z][INFO] :     > GLSL:     3.30 NVIDIA via Cg compiler
[2024-05-01T03:06:26.962Z][INFO] : GL: VAO extension detected, VAO functions loaded successfully
[2024-05-01T03:06:26.962Z][INFO] : GL: NPOT textures extension detected, full NPOT textures supported
[2024-05-01T03:06:26.962Z][INFO] : GL: DXT compressed textures supported
[2024-05-01T03:06:26.962Z][INFO] : GL: ETC2/EAC compressed textures supported
[2024-05-01T03:06:26.962Z][INFO] : TEXTURE: [ID 1] Texture loaded successfully (1x1 | R8G8B8A8 | 1 mipmaps)
[2024-05-01T03:06:26.962Z][INFO] : TEXTURE: [ID 1] Default texture loaded successfully
[2024-05-01T03:06:26.963Z][INFO] : SHADER: [ID 1] Vertex shader compiled successfully
[2024-05-01T03:06:26.963Z][INFO] : SHADER: [ID 2] Fragment shader compiled successfully
[2024-05-01T03:06:26.964Z][INFO] : SHADER: [ID 3] Program shader loaded successfully
[2024-05-01T03:06:26.964Z][INFO] : SHADER: [ID 3] Default shader loaded successfully
[2024-05-01T03:06:26.964Z][INFO] : RLGL: Render batch vertex buffers loaded successfully in RAM (CPU)
[2024-05-01T03:06:26.966Z][INFO] : RLGL: Render batch vertex buffers loaded successfully in VRAM (GPU)
[2024-05-01T03:06:26.966Z][INFO] : RLGL: Default OpenGL state initialized successfully
[2024-05-01T03:06:26.969Z][INFO] : TEXTURE: [ID 2] Texture loaded successfully (128x128 | GRAY_ALPHA | 1 mipmaps)
[2024-05-01T03:06:26.969Z][INFO] : FONT: Default font loaded successfully (224 glyphs)
[2024-05-01T03:06:27.006Z][INFO] : AUDIO: Device initialized successfully
[2024-05-01T03:06:27.006Z][INFO] :     > Backend:       miniaudio / WASAPI
[2024-05-01T03:06:27.006Z][INFO] :     > Format:        32-bit IEEE Floating Point -> 32-bit IEEE Floating Point
[2024-05-01T03:06:27.006Z][INFO] :     > Channels:      2 -> 2
[2024-05-01T03:06:27.006Z][INFO] :     > Sample rate:   48000 -> 48000
[2024-05-01T03:06:27.006Z][INFO] :     > Periods size:  1440
[2024-05-01T03:06:27.006Z][INFO] : STREAM: Initialized successfully (44100 Hz, 16 bit, Mono)
[2024-05-01T03:06:27.006Z][INFO] : TIMER: Target time per frame: 16.667 milliseconds
[2024-05-01T03:06:27.006Z][INFO] : TEXTURE: [ID 3] Texture loaded successfully (512x420 | R8G8B8A8 | 1 mipmaps)
[2024-05-01T03:06:27.006Z][INFO] : TEXTURE: [ID 1] Depth renderbuffer loaded successfully (32 bits)
[2024-05-01T03:06:27.008Z][INFO] : FBO: [ID 1] Framebuffer object created successfully
[2024-05-01T03:06:27.009Z][INFO] : TEXTURE: [ID 4] Texture loaded successfully (256x256 | R8G8B8A8 | 1 mipmaps)
[2024-05-01T03:06:27.010Z][INFO] : TEXTURE: [ID 5] Texture loaded successfully (256x192 | R8G8B8A8 | 1 mipmaps)
[2024-05-01T03:06:27.012Z][INFO] : TEXTURE: [ID 6] Texture loaded successfully (256x512 | R8G8B8A8 | 1 mipmaps)
[2024-05-01T03:06:27.012Z][INFO] : TEXTURE: [ID 7] Texture loaded successfully (256x192 | R8G8B8A8 | 1 mipmaps)
[2024-05-01T03:06:27.012Z][INFO] : IMAGE: Data loaded successfully (128x64 | R8G8B8 | 1 mipmaps)
[2024-05-01T03:06:27.012Z][INFO] : IMAGE: Data loaded successfully (128x24 | R8G8B8A8 | 1 mipmaps)
[2024-05-01T03:06:27.012Z][INFO] : TEXTURE: [ID 8] Texture loaded successfully (40x40 | R8G8B8A8 | 1 mipmaps)
[2024-05-01T03:06:27.012Z][INFO] : TEXTURE: [ID 2] Depth renderbuffer loaded successfully (32 bits)
[2024-05-01T03:06:27.013Z][INFO] : FBO: [ID 2] Framebuffer object created successfully
[2024-05-01T03:06:27.017Z][INFO] : TEXTURE: [ID 9] Texture loaded successfully (128x64 | R8G8B8 | 1 mipmaps)
[2024-05-01T03:06:27.018Z][INFO] : Loading known file with sha1: 607c4f7f4e4dce9f99d96b3182bfe7e88bb090ee

@gulrak gulrak added the bug Something isn't working label May 3, 2024
@gulrak
Copy link
Owner

gulrak commented May 3, 2024

That should not happen! Thanks for the report, will look into it after work.

PS: Is that a release binary (so v1.1.8) or did you build one from HEAD yourself?

@MatiLol251
Copy link
Author

MatiLol251 commented May 5, 2024

Is a release binary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants