TheAliceProject / alice3

The Alice 3 block-based IDE desktop application. Also contains a NetBeans plugin to extend development into java.
https://www.alice.org/
Other
155 stars 24 forks source link

BufferOverflow can happen on resize #386

Open dabeshouse opened 7 months ago

dabeshouse commented 7 months ago

This looks like a little like (planning) bug 282, but triggered by size changes. Perhaps going to 0 size? This is being reported in Jira against 3.8, but we do not have a good repro case yet.

dabeshouse commented 6 months ago

My attempts to trigger this with a size 0 or close to 0 were unsuccessful. Pushing off to Tumtum.

dabeshouse commented 4 months ago

Dmitry, have you ever seen this when resizing a model?

dportnoy15 commented 4 months ago

Not that I recall, but I can try to repro it.

dportnoy15 commented 2 weeks ago

I can reproduce this via the following steps:

  1. Launch Alice and place a Shape in the scene
  2. Set one of the dimensions of the shape to a negative value
    • This will sometimes trigger a red queen depending on the shape, but any shape should work
  3. Restart Alice
  4. Place any of the Alice models or the Alien model into the scene
  5. Set one of the size attributes of that model to a negative value