~alextee/zrythm-bug#754: 
Crash saving a project right after bulk-moving multiple markers

#What did you do?

Saved a project right after bulk-moving multiple markers

#Version

Zrythm 1.0.0-alpha.26.0.13 (debugoptimized)
  built with gcc 9.3.0 for linux (appimage)
    +carla
    +jack1
    +pulse
    +rtmidi
    +rtaudio
    +sdl2
    +gtksourceview3
    +guile
    +lsp-dsp-lib

#Other info

And moving lots of regions too.

#Backtrace

Error: Segmentation fault - Backtrace:
../src/utils/backtrace.c (_backtrace_get:345)
../src/zrythm_app.c (segv_handler:148)
??? unknown
../src/audio/audio_region.c (audio_region_new:134)
../src/gui/backend/arranger_object.c (clone_region:2387)
../src/gui/backend/arranger_object.c (arranger_object_clone:2657)
../src/audio/track_lane.c (track_lane_clone:289)
../src/audio/track.c (track_clone:544)
../src/gui/backend/tracklist_selections.c (tracklist_selections_clone:694)
../src/actions/tracklist_selections.c (tracklist_selections_action_clone:601)
../src/actions/undo_stack.c (undo_stack_clone:169)
../src/actions/undo_manager.c (undo_manager_clone:404)
../src/project.c (project_clone:2080)
../src/project.c (project_save:1938)
??? g_closure_invoke
??? unknown
??? g_signal_emit_valist
??? g_signal_emit
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? gtk_window_activate_key
??? unknown
??? unknown
??? g_closure_invoke
??? unknown
??? g_signal_emit_valist
??? g_signal_emit
??? unknown
??? unknown
??? gtk_main_do_event
??? unknown
??? unknown
??? g_main_context_dispatch
??? unknown
??? g_main_context_iteration
??? g_application_run
../src/main.c (main:42)
??? __libc_start_main
??? _start
??? unknown

#Fatal

Yes

#Action stack

[0] Move arranger selections
[1] Move arranger selections
[2] Delete arranger selections
[3] Move arranger selections
[4] Delete arranger selections
[5] Resize arranger selections
[6] Resize arranger selections
[7] Delete arranger selections
[8] Delete arranger selections
[9] Resize arranger selections
[10] Resize arranger selections
[11] Delete arranger selections
[12] Move arranger selections

#Log

zrythm-Message: 19:06:31.723: (_backtrace_get:343): getting bt
zrythm-Message: 19:06:31.723: (_backtrace_get:347): ret 0
(zrythm:7350): zrythm-DEBUG: 19:06:31.748: (log_idle_cb:792): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:792)
zrythm-Message: 19:06:31.749: (segv_handler:154): Error: Segmentation fault - Backtrace:
../src/utils/backtrace.c (_backtrace_get:345)
../src/zrythm_app.c (segv_handler:148)
??? unknown
../src/audio/audio_region.c (audio_region_new:134)
../src/gui/backend/arranger_object.c (clone_region:2387)
../src/gui/backend/arranger_object.c (arranger_object_clone:2657)
../src/audio/track_lane.c (track_lane_clone:289)
../src/audio/track.c (track_clone:544)
../src/gui/backend/tracklist_selections.c (tracklist_selections_clone:694)
../src/actions/tracklist_selections.c (tracklist_selections_action_clone:601)
../src/actions/undo_stack.c (undo_stack_clone:169)
../src/actions/undo_manager.c (undo_manager_clone:404)
../src/project.c (project_clone:2080)
../src/project.c (project_save:1938)
??? g_closure_invoke
??? unknown
??? g_signal_emit_valist
??? g_signal_emit
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? unknown
??? gtk_window_activate_key
??? unknown
??? unknown
??? g_closure_invoke
??? unknown
??? g_signal_emit_valist
??? g_signal_emit
??? unknown
??? unknown
??? gtk_main_do_event
??? unknown
??? unknown
??? g_main_context_dispatch
??? unknown
??? g_main_context_iteration
??? g_application_run
../src/main.c (main:42)
??? __libc_start_main
??? _start
??? unknown


(zrythm:7350): Gtk-WARNING **: 19:06:31.758: (gtk_window_set_titlebar:4336): gtk_window_set_titlebar() called on a realized window
(zrythm:7350): zrythm-DEBUG: 19:06:31.759: (log_idle_cb:792): pushing UI event ET_LOG_WARNING_STATE_CHANGED (log_idle_cb:792)
Status
RESOLVED INVALID
Submitter
~hellsend
Assigned to
No-one
Submitted
11 months ago
Updated
9 months ago
Labels
crash/error high-priority

~hellsend 11 months ago

Also, after crashing the project is unloadable - had to revert to a backup to load the project. When trying to load the crashed project, zrythm got a critical error trying to find a non-existing audio file (named like a copy of an existing one : "AudioFile (1).wav"). Creating this file by copying the original file & renaming the copy according to the log just makes the program crash trying to load the "next copy" ("AudioFile (2).wav").

Weirdly enough, I've been re-doing the same actions, but saving between each "big batch" of movements, and I couldn't reproduce the bug...

~alextee REPORTED INVALID 9 months ago

I've seen this backtrace in a few reports but I'm not sure how to reproduce it. it's related to audio regions

Register here or Log in to comment, or comment via email.