GithubHelp home page GithubHelp logo

Early launch crash about revision HOT 4 CLOSED

Yattabyte avatar Yattabyte commented on September 6, 2024
Early launch crash

from revision.

Comments (4)

Yattabyte avatar Yattabyte commented on September 6, 2024

The crash appears to happen in the nvidia driver, coming from the main thread.
At the time of the crash, none of the other threads were doing anything with the main or secondary rendering context.

I've recently added more safeguards for reading/writing from multiple threads, but none have solved the issue.

from revision.

Yattabyte avatar Yattabyte commented on September 6, 2024

I've ruled out a few sources of error:

  1. Sponza scene is still having its assimp importer object created
  2. Same for ref_test
  3. Material for test wall object still trying to retrieve pixel data with freeimage, can step through it
  4. Same for grass data, can step through it

Going to have to hone in on the issue in the main thread slowly, since the call stack is all external code when the crash happens.

from revision.

Yattabyte avatar Yattabyte commented on September 6, 2024

I've painstakingly traced the main thread as far as it can go before crashing
It appears to crash some time after the 100th frame, when trying to render the bounding sphere for the first pointlight. I've traced this by outputting messages to the console before and after certain procedures, getting as far as glDrawArrays.

I don't think this crash happens when there's only a directional light in the scene.

In any case, the data being rendered must be corrupted or something.

from revision.

Yattabyte avatar Yattabyte commented on September 6, 2024

I've replaced the sphere model, and the issue seems to have gone away.
In any case, the model I was using was ridiculously high poly for the usage it was getting.

Issue fixed in commit 3280991

from revision.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.