~alextee/zrythm-bug#770: 
Zrythm crashes after adding ZLFO output from modulators tab

https://pastebin.com/4F2v7HnG

To reproduce: I added an SFZ instrument and added a single MIDI note for preview purposes. I then went to the modulators tab and added ZLFO. Unchanged from default values, I then added one of the outputs of ZLFO to the gain of the SFZ instrument. The first time I click okay, nothing happens, so I add the output again, and then Zrythm crashes. These symptoms are consistent. This test was performed on the master branch, but this issue also occurs on the old gtk4 branch.

Status
RESOLVED FIXED
Submitter
~syboxez
Assigned to
No-one
Submitted
4 months ago
Updated
2 months ago
Labels
crash/error high-priority

~alextee 4 months ago

will push this to after next release since it was also broken in previous release

~alextee 3 months ago

the original error might be fixed but now there is a new error. steps to reproduce:

  1. add a plugin to modulators
  2. route an output to master -> fader volume
  3. critical
(zrythm:121069): Gtk-CRITICAL **: 02:15:52.502: (gtk_widget_dispose:7403): PortConnectionsPopoverWidget 0x5555863b68d0 has a parent ModulatorInnerWidget 0x55558983e260 during dispose. Parents hold a reference, so this should not happen.
Did you call g_object_unref() instead of gtk_widget_unparent()?

Thread 1 "zrythm" received signal SIGTRAP, Trace/breakpoint trap.
_log_abort (breakpoint=1) at ../src/utils/log.c:167
167	}
(gdb) [carla] Did not receive ping message from server for 30 secs, closing...
[carla] Bridge: ScopedPluginAction(0) - blocking START
[carla] Bridge: ScopedPluginAction(0) - blocking DONE
[carla] Bridge: Failed to wait for engine, is audio not running?
bt
#0  _log_abort (breakpoint=1) at ../src/utils/log.c:167
<a href="/~alextee/zrythm-bug/1" title="~alextee/zrythm-bug#1: test 1">#1</a>  0x000055555609a2b2 in log_writer_default_custom (log_level=10, fields=0x7fffffffcc70, n_fields=6, user_data=0x5555571ef3e0) at ../src/utils/log.c:929
<a href="/~alextee/zrythm-bug/2" title="~alextee/zrythm-bug#2: Test Ticket">#2</a>  0x000055555609a64a in log_writer (log_level=G_LOG_LEVEL_CRITICAL, fields=0x7fffffffcc70, n_fields=6, self=0x5555571ef3e0) at ../src/utils/log.c:1041
<a href="/~alextee/zrythm-bug/3" title="~alextee/zrythm-bug#3: title1">#3</a>  0x00007ffff6fbe285 in g_log_structured_array () at /usr/lib/libglib-2.0.so.0
<a href="/~alextee/zrythm-bug/4" title="~alextee/zrythm-bug#4: title2">#4</a>  0x00007ffff6fbe485 in g_log_structured_standard () at /usr/lib/libglib-2.0.so.0
<a href="/~alextee/zrythm-bug/5" title="~alextee/zrythm-bug#5: First Region Placed Limits The Entire Timeline to BBT Timecode 21">#5</a>  0x00007ffff78a9b8a in gtk_widget_dispose (object=0x5555863b68d0) at ../subprojects/gtk-4.6.0/gtk/gtkwidget.c:7403
<a href="/~alextee/zrythm-bug/6" title="~alextee/zrythm-bug#6: First Region Placed Limits The Entire Timeline to BBT Timecode 21 (Redmine #2244)">#6</a>  0x00007ffff7757f81 in gtk_popover_dispose (object=0x5555863b68d0) at ../subprojects/gtk-4.6.0/gtk/gtkpopover.c:1141
<a href="/~alextee/zrythm-bug/7" title="~alextee/zrythm-bug#7: First Region Placed Limits The Entire Timeline to BBT Timecode 21 (Redmine #2244)">#7</a>  0x00007ffff70bda91 in g_object_unref () at /usr/lib/libgobject-2.0.so.0
<a href="/~alextee/zrythm-bug/8" title="~alextee/zrythm-bug#8: can&#39;t scroll past bar 21 after importing MIDI file (Redmine #2244)">#8</a>  0x00007ffff77156b1 in gtk_main_do_event (event=0x555589b4cb50) at ../subprojects/gtk-4.6.0/gtk/gtkmain.c:1685
<a href="/~alextee/zrythm-bug/9" title="~alextee/zrythm-bug#9: CRASH! la aplicacion se cierra cada vez que la habro.  (Redmine #2251)">#9</a>  0x00007ffff7757156 in surface_event (surface=0x555589b26b20, event=0x555589b4cb50, widget=0x5555863b68d0) at ../subprojects/gtk-4.6.0/gtk/gtkpopover.c:833
<a href="/~alextee/zrythm-bug/10" title="~alextee/zrythm-bug#10: Non-fatal error after duplicating multiple tracks (Redmine #2224)">#10</a> 0x00007ffff7a1044b in _gdk_marshal_BOOLEAN__POINTER (closure=0x5555897d69a0, return_value=0x7fffffffd5f0, n_param_values=2, param_values=0x7fffffffd650, invocation_hint=0x7fffffffd5d0, marshal_data=0x0)
    at subprojects/gtk-4.6.0/gdk/gdkmarshalers.c:258
<a href="/~alextee/zrythm-bug/11" title="~alextee/zrythm-bug#11: error during touch automaiton recording (Redmine #2192)">#11</a> 0x00007ffff7a4e93a in gdk_surface_event_marshaller (closure=0x5555897d69a0, return_value=0x7fffffffd5f0, n_param_values=2, param_values=0x7fffffffd650, invocation_hint=0x7fffffffd5d0, marshal_data=0x0)
    at ../subprojects/gtk-4.6.0/gdk/gdksurface.c:435
<a href="/~alextee/zrythm-bug/12" title="~alextee/zrythm-bug#12: CRASH! la aplicacion se cierra cada vez que la habro.  (Redmine #2251)">#12</a> 0x00007ffff70b0ebf in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
<a href="/~alextee/zrythm-bug/13" title="~alextee/zrythm-bug#13: the app closes every time it runs  (Redmine #2251)">#13</a> 0x00007ffff70cd188 in  () at /usr/lib/libgobject-2.0.so.0
<a href="/~alextee/zrythm-bug/14" title="~alextee/zrythm-bug#14: Non-fatal error after duplicating multiple tracks (Redmine #2224)">#14</a> 0x00007ffff70ce598 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
<a href="/~alextee/zrythm-bug/15" title="~alextee/zrythm-bug#15: error during touch automaiton recording (Redmine #2192)">#15</a> 0x00007ffff70cee04 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
<a href="/~alextee/zrythm-bug/16" title="~alextee/zrythm-bug#16: click during audio recording after looping (Redmine #2191)">#16</a> 0x00007ffff7a53a24 in gdk_surface_handle_event (event=0x555589b4cb50) at ../subprojects/gtk-4.6.0/gdk/gdksurface.c:2953
<a href="/~alextee/zrythm-bug/17" title="~alextee/zrythm-bug#17: error when adding automation lanes (Redmine #2190)">#17</a> 0x00007ffff7a2e987 in _gdk_event_emit (event=0x555589b4cb50) at ../subprojects/gtk-4.6.0/gdk/gdkevents.c:490
<a href="/~alextee/zrythm-bug/18" title="~alextee/zrythm-bug#18: Audio samples get erased when you project gets reopened after saving and closing Zrythm (Redmine #2187)">#18</a> 0x00007ffff7ab9ab0 in gdk_event_source_dispatch (source=0x555582ae7ea0, callback=0x0, user_data=0x0) at ../subprojects/gtk-4.6.0/gdk/x11/gdkeventsource.c:425
<a href="/~alextee/zrythm-bug/19" title="~alextee/zrythm-bug#19: Crash after changing Balance automation from Touch to Latch (Redmine #2172)">#19</a> 0x00007ffff6fb6f13 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
<a href="/~alextee/zrythm-bug/20" title="~alextee/zrythm-bug#20: No UI for Calf plugins, even when bridged full (Redmine #2166)">#20</a> 0x00007ffff700d0d9 in  () at /usr/lib/libglib-2.0.so.0
<a href="/~alextee/zrythm-bug/21" title="~alextee/zrythm-bug#21: Moving audio clips is laggy (Redmine #2139)">#21</a> 0x00007ffff6fb4485 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
<a href="/~alextee/zrythm-bug/22" title="~alextee/zrythm-bug#22: Moving audio clips is laggy (Redmine #2139)">#22</a> 0x00007ffff71d46ee in g_application_run () at /usr/lib/libgio-2.0.so.0
<a href="/~alextee/zrythm-bug/23" title="~alextee/zrythm-bug#23: When deleting track with missing plugin Zrythm crashes (Redmine #2129)">#23</a> 0x0000555555f9a6bb in main (argc=2, argv=0x7fffffffdc78) at ../src/main.c:42

~alextee REPORTED FIXED 2 months ago

I made the "add" button use a popup dialog instead of another popover

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