Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: f30f9672a5523f2c562f824384083b21c03a7e87
      
https://github.com/synfig/synfig/commit/f30f9672a5523f2c562f824384083b21c03a7e87
  Author: Rodolfo Ribeiro Gomes <rodolf...@gmail.com>
  Date:   2025-03-02 (Sun, 02 Mar 2025)

  Changed paths:
    M synfig-core/src/modules/lyr_std/perspective.cpp
    M synfig-core/src/synfig/layers/layer_meshtransform.cpp
    M synfig-core/src/synfig/layers/layer_shape.cpp
    M synfig-core/src/synfig/rendering/common/task/taskcontour.h

  Log Message:
  -----------
  fix: possible double free due to multithreading with Contour

Random crashes :'(

fix https://github.com/synfig/synfig/issues/3493


  Commit: 16a3c0ebd8c693ea558598c0e5fcc8ce9404df66
      
https://github.com/synfig/synfig/commit/16a3c0ebd8c693ea558598c0e5fcc8ce9404df66
  Author: Rodolfo Ribeiro Gomes <rodolf...@gmail.com>
  Date:   2025-03-02 (Sun, 02 Mar 2025)

  Changed paths:
    M synfig-core/src/synfig/rendering/primitive/contour.h

  Log Message:
  -----------
  refactor: synfig::rendering::Contour isn't etl::shared_object anymore

Better use safer std::shared_ptr class from standard library.


  Commit: dc31e9d183a640ae1025b0586b53d71c844da99a
      
https://github.com/synfig/synfig/commit/dc31e9d183a640ae1025b0586b53d71c844da99a
  Author: Rodolfo Ribeiro Gomes <rodolf...@gmail.com>
  Date:   2025-03-02 (Sun, 02 Mar 2025)

  Changed paths:
    M synfig-core/src/synfig/rendering/primitive/contour.cpp
    M synfig-core/src/synfig/rendering/primitive/contour.h
    M synfig-core/src/synfig/rendering/primitive/intersector.cpp
    M synfig-core/src/synfig/rendering/primitive/intersector.h

  Log Message:
  -----------
  refactor: synfig::rendering::Intersector isn't etl::shared_object anymore

Better use safer std::shared_ptr class from standard library.


  Commit: 4b61844e827019b4d3b89fb0c276a075be14600a
      
https://github.com/synfig/synfig/commit/4b61844e827019b4d3b89fb0c276a075be14600a
  Author: Rodolfo Ribeiro Gomes <rodolf...@gmail.com>
  Date:   2025-03-03 (Mon, 03 Mar 2025)

  Changed paths:
    M ETL/ETL/_handle.h

  Log Message:
  -----------
  fix: make etl::shared_object::unref() really thread-safe

Avoid this situation:

refcount = 2

Thread 1: decrement -> refcount = 1
Thread 2: decrement -> refcount = 0
Thread 1: compare (true) -> self delete
Thread 2: compare (true) -> self delete
double free or segfault


  Commit: 3d9c023a08f4d5aff6f129ea283d35cbc3ac9f3d
      
https://github.com/synfig/synfig/commit/3d9c023a08f4d5aff6f129ea283d35cbc3ac9f3d
  Author: ice0 <konop...@gmail.com>
  Date:   2025-03-03 (Mon, 03 Mar 2025)

  Changed paths:
    M ETL/ETL/_handle.h
    M synfig-core/src/modules/lyr_std/perspective.cpp
    M synfig-core/src/synfig/layers/layer_meshtransform.cpp
    M synfig-core/src/synfig/layers/layer_shape.cpp
    M synfig-core/src/synfig/rendering/common/task/taskcontour.h
    M synfig-core/src/synfig/rendering/primitive/contour.cpp
    M synfig-core/src/synfig/rendering/primitive/contour.h
    M synfig-core/src/synfig/rendering/primitive/intersector.cpp
    M synfig-core/src/synfig/rendering/primitive/intersector.h

  Log Message:
  -----------
  fix: possible double free due to multithreading with Contour (#3496)

fix: possible double free due to multithreading with Contour


Compare: https://github.com/synfig/synfig/compare/518486435c0a...3d9c023a08f4

To unsubscribe from these emails, change your notification settings at 
https://github.com/synfig/synfig/settings/notifications


_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to