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

Update TinySTL. #340

Merged
merged 1 commit into from
Jan 25, 2025
Merged

Update TinySTL. #340

merged 1 commit into from
Jan 25, 2025

Conversation

mcourteaux
Copy link
Contributor

I have tested this in the following ways:

  • Compile the test suite and benchmark in bx/test
  • Run the test suite and benchmark.
  • Compile bgfx on macOS.
  • Compile and run shaderc on macOS.
  • Compile and run SilverNode on macOS.

I did not test (neither compile, nor run):

  • geometryc
  • geometryv
  • texturev

While working on this update, I reported:

@bkaradzic bkaradzic merged commit 2a03cec into bkaradzic:master Jan 25, 2025
9 checks passed
bkaradzic added a commit that referenced this pull request Jan 26, 2025
@bkaradzic
Copy link
Owner

Latest version causes crash when cycling thru examples in bgfx. Please test with bgfx.

@bkaradzic
Copy link
Owner

Submitting PR fix for theoretical undefined behavior, and introducing crash is not what we want...

@mcourteaux
Copy link
Contributor Author

That's why I stated clearly what I tested and what not. I'm now back on my main development machine. Will investigate!

: m_size(0)
{
buffer_init<pointer, Alloc>(&m_buckets);
buffer_resize<pointer, Alloc>(&m_buckets, 9, 0);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bkaradzic The crash you were seeing is due to this line being removed. I found the offending commit:

mendsley/tinystl@2e13dfc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants