Menu

#287 Linear Fill segafults on OpenBSD

v0.9.32
closed
crash (2)
3
2024-05-08
2024-04-17
Peter Link
No

As the title describes, Tux Paint crashes with a segfault whenever I use the linear fill tool on OpenBSD. For context, OpenBSD has very aggressive security protections, so this is probably caused by a memory leak or similar. I am using Tux Paint 0.9.32 and I installed it via binary ports (pkg_add).

Discussion

  • William Kendrick

    Thanks for reporting this! I ran Tux Paint under Valgrind and immediately noticed an "invalid read" in one of the routines in fill.c, which I've attempted to prevent: https://sourceforge.net/p/tuxpaint/tuxpaint/ci/0aa370ba445de404c5d1d55c898e78c8f2327d73/

    Is there any chance you could fetch Tux Paint source from the master branch in the Git repo here at SourceForge, and build it yourself to test it out? Or does there happen to be a tool I could run Tux Paint under, within Linux, to replicate the segfaulting behavior of OpenBSD?

    Thanks!

     
  • William Kendrick

    • status: open --> closed
    • assigned_to: William Kendrick
     
  • William Kendrick

    Let us know if it persists in Tux Paint 0.9.33!

     

Log in to post a comment.

MongoDB Logo MongoDB