Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Bambo_Borris

Pages: [1]
1
General / Re: Random crashes while loading textures
« on: May 13, 2022, 05:01:46 pm »
Hmm, this is a very odd issue.

It seems opengl itself is dying (returning version 0 instead of version 4) after being called a few times.

I'm going to give another test of my VS project trying to force the error. I know that last time I tried I couldn't reproduce it, and with any CMake projects I've been playing with have not seen this. I've been testing a lot of SFML3 stuff so I feel like I would have ran into this sooner.

2
General / Re: Random crashes while loading textures
« on: May 13, 2022, 12:43:46 pm »
How recently did you grab the repo? I'm using the latest master branch (pulled today) with VS2022, debug, 64bit and I'm not seeing the crash. I even expanded the texture list file to have over 500 entries.

Although I didn't use the supplied project file directly, just the code. Maybe there's a project setting that's different...

I grabbed the snapshot yesterday, and made sure my local SFML was up to date with master yesterday. I did use the supplied project file. When I tried to force it to happen by loading textures in my own project I had no success.

3
General / Re: Random crashes while loading textures
« on: May 12, 2022, 09:02:15 pm »
I managed to reproduce this with your project, but I'm really not certain what's going on here. So I tried the following two approaches and it resulted in 2 different outcomes. Both scenarios I was using Visual Studio 2022 to build the project.

1). Use lib & dll files produced from the snapshot build of master. This fails to produce any crash for me, and I don't need to move the window creation to the beginning of main. I ran it around 20~ times and it always loaded all textures.

2). Build master from source locally through command-line, and another build done through Visual Studio's CMake integration. Both of these builds produced the nullptr crash on 75-80% of runs. As said in the initial post you can get the odd occasion where all textures load with no problem.

Pages: [1]