Giter Site home page Giter Site logo

Comments (5)

apanteleev avatar apanteleev commented on July 28, 2024 1

Thanks for the investigation @in-league-with-satan - I fixed the indexing issue in 63cc413

from q2rtx.

in-league-with-satan avatar in-league-with-satan commented on July 28, 2024

looks like the same error
#293

from q2rtx.

res2k avatar res2k commented on July 28, 2024

Unfortunately, I'm struggling to reproduce the error.

Could you either
(a) try the build here?: https://github.com/res2k/Q2RTX/actions/runs/5822525998
It does not fix the error, but should hopefully produce a more expressive crash report.
or,
(b) provide the complete callstack from your own build? (I presume that's why you could tell it's in the profiler sample reset.)

Thanks!

from q2rtx.

in-league-with-satan avatar in-league-with-satan commented on July 28, 2024

https://github.com/res2k/Q2RTX/actions/runs/5822525998 - runs without problems
and my build with pdb start works too

i don't use debugger, just iterated back from master all the commits until it worked on 480f3ec, looks what changed, and then disabled function reset_samples in master and master start works to. for me this way is easier because i can't use IDE and debugging in command line is too hard for me x_x

from q2rtx.

in-league-with-satan avatar in-league-with-satan commented on July 28, 2024

hm...

in reset_samples

we get pointer by idx index
profiler_entry_samples_t *entry_samples = &profiler_data.samples[idx];

and index enumrates in vkpt_profiler_next_frame through
for (int idx = 0; idx < NUM_PROFILER_QUERIES_PER_FRAME; idx++)

#define NUM_PROFILER_QUERIES_PER_FRAME (NUM_PROFILER_ENTRIES * 2)

and size of samples is
profiler_entry_samples_t samples[NUM_PROFILER_ENTRIES];

index out of range of samples size

from q2rtx.

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.