xaos-project / XaoS

Real-time interactive fractal zoomer
https://xaos-project.github.io/
GNU General Public License v2.0
515 stars 59 forks source link

Palette crash #257

Open Fabian42 opened 1 month ago

Fabian42 commented 1 month ago

Describe the bug When trying to edit a palette or save that edited palette, XaoS sometimes crashes with "*** buffer overflow detected ***: terminated".

To reproduce

  1. Fractal→Palette→Palette editor…
  2. change something
  3. OK (might crash there, otherwise:)
  4. Fractal→Palette→Save palette config… (might crash there) It also seems like XaoS is way more crash-happy no matter the action performed, once the palette is edited. Since the crashes are not consistent, but common, I had made an xdotool script for this already, which reproduces the crash every time for me:
    xaos & sleep 2; xdotool key Alt+r sleep 0.1 key Alt+a sleep 0.1 key Alt+p sleep 0.1 key Tab key Tab; for i in {1..10}; do xdotool key Tab key space sleep 0.1 key Shift+Tab key Shift+Tab key Shift+Tab type "#0000ff"; xdotool key Return sleep 0.1 key Tab key space sleep 0.1 key Shift+Tab key Shift+Tab key Shift+Tab type "#00ff00"; xdotool key Return sleep 0.1 key Tab key space sleep 0.1 key Shift+Tab key Shift+Tab key Shift+Tab type "#ff0000"; xdotool key Return sleep 0.1; done; xdotool key Tab key Return sleep 0.1 key Alt+r sleep 0.1 key Alt+a sleep 0.1 key Alt+s sleep 0.1 type "high_contrast"; xdotool key Return

Desktop:

Fabian42 commented 1 month ago

BTW, is there any way to make the palette "faster"? I would like every iteration to have a given colour, not just every 8th iteration with interpolation in between.