~alextee/zrythm-bug#788: 
error when moving region loop end marker

#What did you do?

  1. create midi region
  2. open piano roll
  3. move region loop end marker to where the region loop start marker is

#Version

Zrythm 1.0.0-alpha.26.0.13.r226.ge76c16e8a (debugoptimized)
  built with gcc 11.1.0 for linux (installer)
    +carla
    +jack2
    +pulse
    +rtmidi
    +rtaudio
    +sdl2
    +guile
    +lsp-dsp-lib

#Other info

1

#Backtrace

../src/utils/backtrace.c (_backtrace_get:345)
../src/utils/log.c (log_writer:955)
??? g_log_structured_array from /usr/lib/libglib-2.0.so.0(+0x5b130)[0x7f82fe3ec000]
??? g_log_structured_standard from /usr/lib/libglib-2.0.so.0(+0x5b270)[0x7f82fe3ec000]
../src/gui/backend/arranger_object.c (arranger_object_get_num_loops:222)
../src/gui/widgets/region.c (draw_loop_points:264)
../src/gui/widgets/region.c (region_draw:1724)
../src/gui/widgets/arranger_draw.c (draw_arranger_object:203)
../src/gui/widgets/arranger_draw.c (arranger_snapshot:1206)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11587)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11582)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkscrolledwindow.c (gtk_scrolled_window_snapshot:2816)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11587)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11587)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11587)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11582)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11587)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11582)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11587)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11587)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11587)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11587)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11582)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11582)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11582)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11587)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11587)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11587)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkoverlay.c (gtk_overlay_snapshot_child:202)
../subprojects/gtk-4.6.0/gtk/gtkoverlay.c (gtk_overlay_snapshot:225)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11587)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11582)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot:11644)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_render:11676)
../subprojects/gtk-4.6.0/gtk/gtkwindow.c surface_render from /usr/lib/zrythm/libgtk-4.so.1(+0x2fed30)[0x7f82fe73c000]
subprojects/gtk-4.6.0/gdk/gdkmarshalers.c (_gdk_marshal_BOOLEAN__BOXEDv:130)
??? g_signal_emit_valist from /usr/lib/libgobject-2.0.so.0(+0x2ef60)[0x7f82fe522000]
??? g_signal_emit from /usr/lib/libgobject-2.0.so.0(+0x302a0)[0x7f82fe522000]
../subprojects/gtk-4.6.0/gdk/gdksurface.c (gdk_surface_process_updates_internal:1348)
../subprojects/gtk-4.6.0/gdk/gdksurface.c (gdk_surface_paint_on_clock:1436)
??? g_closure_invoke from /usr/lib/libgobject-2.0.so.0(+0x12c20)[0x7f82fe522000]
??? unknown
??? g_signal_emit_valist from /usr/lib/libgobject-2.0.so.0(+0x2ef60)[0x7f82fe522000]
??? g_signal_emit from /usr/lib/libgobject-2.0.so.0(+0x302a0)[0x7f82fe522000]
../subprojects/gtk-4.6.0/gdk/gdkframeclock.c (_gdk_frame_clock_emit_paint:708)
../subprojects/gtk-4.6.0/gdk/gdkframeclockidle.c (gdk_frame_clock_paint_idle:605)
??? unknown
??? g_main_context_dispatch from /usr/lib/libglib-2.0.so.0(+0x542c0)[0x7f82fe3ec000]
??? unknown
??? g_main_loop_run from /usr/lib/libglib-2.0.so.0(+0x53a40)[0x7f82fe3ec000]
../src/utils/gtk.c (z_gtk_dialog_run:1864)
../src/utils/log.c (log_idle_cb:786)
../src/utils/log.c (log_idle_cb:740)
??? unknown
??? g_main_context_dispatch from /usr/lib/libglib-2.0.so.0(+0x542c0)[0x7f82fe3ec000]
??? unknown
??? g_main_context_iteration from /usr/lib/libglib-2.0.so.0(+0x51be0)[0x7f82fe3ec000]
??? g_application_run from /usr/lib/libgio-2.0.so.0(+0xd7150)[0x7f82fe57c000]
../src/main.c (main:42)
??? __libc_start_main from /usr/lib/libc.so.6(+0x27a50)[0x7f82fc9cb000]
??? _start from (+0xa7300)[0x5649d399f000]
??? unknown

#Fatal

No

#Action stack

[0] Edit arranger selections
[1] Edit arranger selections
[2] Move arranger selections
[3] Move arranger selections
[4] Create MIDI selections
[5] Move arranger selections
[6] Create MIDI selections
[7] Create MIDI selections
[8] Create timeline selections
[9] Create MIDI Track
[10] Change Fader
[11] Create Audio FX Track
[12] Create Audio FX Track

#Log

../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkoverlay.c (gtk_overlay_snapshot_child:202)
../subprojects/gtk-4.6.0/gtk/gtkoverlay.c (gtk_overlay_snapshot:225)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11587)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot_child:12043)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_real_snapshot:734)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_create_render_node:11582)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_do_snapshot:11622)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_snapshot:11644)
../subprojects/gtk-4.6.0/gtk/gtkwidget.c (gtk_widget_render:11676)
../subprojects/gtk-4.6.0/gtk/gtkwindow.c surface_render from /usr/lib/zrythm/libgtk-4.so.1(+0x2fed30)[0x7f82fe73c000]
subprojects/gtk-4.6.0/gdk/gdkmarshalers.c (_gdk_marshal_BOOLEAN__BOXEDv:130)
??? g_signal_emit_valist from /usr/lib/libgobject-2.0.so.0(+0x2ef60)[0x7f82fe522000]
??? g_signal_emit from /usr/lib/libgobject-2.0.so.0(+0x302a0)[0x7f82fe522000]
../subprojects/gtk-4.6.0/gdk/gdksurface.c (gdk_surface_process_updates_internal:1348)
../subprojects/gtk-4.6.0/gdk/gdksurface.c (gdk_surface_paint_on_clock:1436)
??? g_closure_invoke from /usr/lib/libgobject-2.0.so.0(+0x12c20)[0x7f82fe522000]
??? unknown
??? g_signal_emit_valist from /usr/lib/libgobject-2.0.so.0(+0x2ef60)[0x7f82fe522000]
??? g_signal_emit from /usr/lib/libgobject-2.0.so.0(+0x302a0)[0x7f82fe522000]
../subprojects/gtk-4.6.0/gdk/gdkframeclock.c (_gdk_frame_clock_emit_paint:708)
../subprojects/gtk-4.6.0/gdk/gdkframeclockidle.c (gdk_frame_clock_paint_idle:605)
??? unknown
??? g_main_context_dispatch from /usr/lib/libglib-2.0.so.0(+0x542c0)[0x7f82fe3ec000]
??? unknown
??? g_main_loop_run from /usr/lib/libglib-2.0.so.0(+0x53a40)[0x7f82fe3ec000]
../src/utils/gtk.c (z_gtk_dialog_run:1864)
../src/utils/log.c (log_idle_cb:786)
../src/utils/log.c (log_idle_cb:740)
??? unknown
??? g_main_context_dispatch from /usr/lib/libglib-2.0.so.0(+0x542c0)[0x7f82fe3ec000]
??? unknown
??? g_main_context_iteration from /usr/lib/libglib-2.0.so.0(+0x51be0)[0x7f82fe3ec000]
??? g_application_run from /usr/lib/libgio-2.0.so.0(+0xd7150)[0x7f82fe57c000]
../src/main.c (main:42)
??? __libc_start_main from /usr/lib/libc.so.6(+0x27a50)[0x7f82fc9cb000]
??? _start from (+0xa7300)[0x5649d399f000]
??? unknown

(zrythm:6754): zrythm-DEBUG: 07:03:02.348: (get_json_string:227): get_json_string: generating json...
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
(zrythm:6754): zrythm-DEBUG: 07:03:02.354: (log_idle_cb:808): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:808)
Status
RESOLVED FIXED
Submitter
~alextee
Assigned to
No-one
Submitted
4 months ago
Updated
3 months ago
Labels
crash/error high-priority