You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when building any project with the flag "-march=native", at starting the built program, it crashes 2/3 of the time.
Even the example projects in the site, simpler ones crash less often or never, but more complex ones do crash more.
Update
Im not very knowledgeable in this stuff but this might be helpful: (split-screen example)
Thread 1 received signal SIGSEGV, Segmentation fault.
0x00007ff75b811729 in main () at main.cpp:87
87 BeginTextureMode(screenCamera1);
Thread 1 received signal SIGSEGV, Segmentation fault.
0x00007ff75b811729 in main () at main.cpp:87
87 BeginTextureMode(screenCamera1);
[Thread 6832.0x24a0 exited with code 3221225477]
[Thread 6832.0x2958 exited with code 3221225477]
[Thread 6832.0x2274 exited with code 3221225477]
[Thread 6832.0x8a0 exited with code 3221225477]
Exception thrown at 0x00007FF75B811729 in main.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.
WARNING: Please, read this note carefully before submitting a new issue:
It is important to realise that this is NOT A SUPPORT FORUM, this is for reproducible BUGS with raylib ONLY.
There are lots of generous and helpful people ready to help you out on raylib Discord forum or raylib reddit.
Remember that asking for support questions here actively takes developer time away from improving raylib.
Please, before submitting a new issue verify and check:
Issue description
when building any project with the flag "-march=native", at starting the built program, it crashes 2/3 of the time.
Even the example projects in the site, simpler ones crash less often or never, but more complex ones do crash more.
Build command:
g++ main.cpp -o main.exe -lraylib -lopengl32 -lgdi32 -lwinmm -march=native -LC:\Users\XXX\Downloads\sampleProject -IC:\Users\XXX\Downloads\sampleProject
Build Structure:
the libraylib.a, raylib.h, main.cpp and main.exe in the same folder.
Steps to recreate:
grab any of the examples (like the split-screen one) and compile it with "-march=native" now it will crash or work sometimes when running.
Working Log:
Not working Log:
Environment
Desktop Laptop Win10
OpenGl 4.6 and OpenGl ES 3.1 compatible.
W64devkit gcc compiler.
i5-10300H cpu
Nividia gtx 1650 ti GPU
Issue Screenshot
Image of the app mere milliseconds before closing forcefully when just run:
Code Example
https://www.raylib.com/examples/core/loader.html?name=core_2d_camera_split_screen
^^^ The example of split-screen is one of the many crash causers.
The text was updated successfully, but these errors were encountered: