~alextee/zrythm-bug#872: 
Third automation track on an instrument turns gray and spews error prompts

#What did you do?

When I create a third automation on a plugin instrument (VST Vitalium) by clicking on the add button of the second automation, any automation clips created on the new automation track are gray instead of orange and rapidly create massive amounts of error prompts, slowing the program to a halt. These gray clips can be deleted, stopping the error messages, but it is difficult to do so in the slowed program. This has happened consistently with two different instrument properties. It can be avoided by using the add button of the first automation.

#Version

Zrythm 1.0.0-beta.1.5.1 (debugoptimized)
  built with gcc 9.4.0 for linux (appimage)
    +carla
    +jack1
    +pulse
    +rtmidi
    +rtaudio
    +sdl2
    +guile
    +lsp-dsp-lib

#System info

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

XDG_SESSION_TYPE=x11

#Backtrace

../src/utils/backtrace.c (_backtrace_get:329)
../src/utils/log.c (log_writer:1021)
../glib/gmessages.c (g_log_structured_array:1973)
../glib/gmessages.c (g_log_structured_array:1946)
../glib/gmessages.c (g_log_default_handler:3295)
../glib/gmessages.c (g_logv:1387)
../glib/gmessages.c (g_log:1456)
../src/audio/region.c (region_get_lane:575)
../src/gui/backend/arranger_object.c (arranger_object_get_muted:261)
../src/audio/automation_track.c (automation_track_get_ap_before_pos:355)
../src/audio/port.c (port_process:3372)
../src/audio/graph_node.c (process_node:285)
../src/audio/graph_node.c (graph_node_process:413)
../src/audio/graph_thread.c (worker_thread:227)
??? start_thread
??? __clone
??? unknown

#Fatal

No

#Action stack

[0] Create timeline selections
[1] Delete arranger selections
[2] Duplicate arranger selections
[3] Edit arranger selections
[4] Move arranger selections
[5] Move arranger selections
[6] Move arranger selections
[7] Move arranger selections
[8] Edit arranger selections
[9] Move arranger selections
[10] Move arranger selections
[11] Move arranger selections
[12] Move arranger selections

#Log

../gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../gtk/gtkwidget.c (gtk_widget_create_render_node:11587)
../gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../gtk/gtkwidget.c (gtk_widget_create_render_node:11587)
../gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../gtk/gtkwidget.c (gtk_widget_create_render_node:11587)
../gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../gtk/gtkwidget.c (gtk_widget_create_render_node:11582)
../gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../gtk/gtkwidget.c (gtk_widget_snapshot:11644)
../gtk/gtkwidget.c (gtk_widget_render:11676)
../gtk/gtkwindow.c (surface_render:4806)
gdk/gdkmarshalers.c (_gdk_marshal_BOOLEAN__BOXEDv:130)
../gobject/gclosure.c (_g_closure_invoke_va:893)
../gobject/gsignal.c (g_signal_emit_valist:3406)
../gobject/gsignal.c (g_signal_emit:3553)
../gdk/gdksurface.c (gdk_surface_process_updates_internal:1348)
../gdk/gdksurface.c (gdk_surface_paint_on_clock:1436)
../gobject/gclosure.c (_g_closure_invoke_va:893)
../gobject/gsignal.c (g_signal_emit_valist:3406)
../gobject/gsignal.c (g_signal_emit:3553)
../gdk/gdkframeclockidle.c (gdk_frame_clock_paint_idle:605)
../glib/gmain.c (g_timeout_dispatch:4971)
../glib/gmain.c (g_main_dispatch:3417)
../glib/gmain.c (g_main_context_dispatch:4135)
../glib/gmain.c (g_main_context_iterate:4211)
../glib/gmain.c (g_main_context_iteration:4276)
../gio/gapplication.c (g_application_run:2569)
../src/main.c (main:23)
??? __libc_start_main
??? _start
??? unknown


(zrythm:51700): zrythm-CRITICAL **: 00:20:59.020: ((null):(null)): file ../src/audio/region.c: line 575 (region_get_lane): should not be reached
../src/utils/backtrace.c (_backtrace_get:329)
../src/utils/log.c (log_writer:1021)
../glib/gmessages.c (g_log_structured_array:1973)
../glib/gmessages.c (g_log_structured_array:1946)
../glib/gmessages.c (g_log_default_handler:3295)
../glib/gmessages.c (g_logv:1387)
../glib/gmessages.c (g_log:1456)
../src/audio/region.c (region_get_lane:575)
../src/gui/backend/arranger_object.c (arranger_object_get_muted:261)
../src/audio/automation_track.c (automation_track_get_ap_before_pos:355)
../src/audio/port.c (port_process:3372)
../src/audio/graph_node.c (process_node:285)
../src/audio/graph_node.c (graph_node_process:413)
../src/audio/graph_thread.c (worker_thread:227)
??? start_thread
??? __clone
??? unknown

Status
RESOLVED FIXED
Submitter
~loplkc
Assigned to
No-one
Submitted
7 months ago
Updated
7 months ago
Labels
No labels applied.