easyeffects icon indicating copy to clipboard operation
easyeffects copied to clipboard

easyeffects crash on run

Open robcohen opened this issue 10 months ago • 8 comments

EasyEffects Version

7.0.4

What package are you using?

NixOS

Distribution

NixOS

Describe the bug

I was able to successfully run easyeffects, then when I enabled echo_cancellation in the GUI, it crashed and now I cannot restart it (see log).

Running on a Dell XPS 15 2022.

Any advice?

Expected Behavior

Program should not crash

Debug Log

Debug Log

G_MESSAGES_DEBUG=easyeffects easyeffects:

(process:100818): easyeffects-DEBUG: 12:53:15.769: 	easyeffects.cpp:35	easyeffects version: 7.0.4
(process:100818): easyeffects-DEBUG: 12:53:15.770: 	easyeffects.cpp:45	locale directory: /nix/store/j6hwsjrrg3p4gv5a5j0scqzxmakrv8if-easyeffects-7.0.4/share/locale
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.771: 	presets_manager.cpp:49	system input presets directory: "/etc/easyeffects/input";
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.771: 	presets_manager.cpp:49	system input presets directory: "/etc/profiles/per-user/user/etc/xdg/easyeffects/input";
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.771: 	presets_manager.cpp:49	system input presets directory: "/etc/xdg/easyeffects/input";
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.771: 	presets_manager.cpp:49	system input presets directory: "/home/user/.nix-profile/etc/xdg/easyeffects/input";
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.771: 	presets_manager.cpp:49	system input presets directory: "/nix/var/nix/profiles/default/etc/xdg/easyeffects/input";
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.771: 	presets_manager.cpp:49	system input presets directory: "/run/current-system/sw/etc/xdg/easyeffects/input";
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.771: 	presets_manager.cpp:52	system output presets directory: "/etc/easyeffects/output";
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.771: 	presets_manager.cpp:52	system output presets directory: "/etc/profiles/per-user/user/etc/xdg/easyeffects/output";
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.771: 	presets_manager.cpp:52	system output presets directory: "/etc/xdg/easyeffects/output";
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.771: 	presets_manager.cpp:52	system output presets directory: "/home/user/.nix-profile/etc/xdg/easyeffects/output";
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.771: 	presets_manager.cpp:52	system output presets directory: "/nix/var/nix/profiles/default/etc/xdg/easyeffects/output";
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.771: 	presets_manager.cpp:52	system output presets directory: "/run/current-system/sw/etc/xdg/easyeffects/output";
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.771: 	presets_manager.cpp:194	user presets directory already exists: /home/user/.config/easyeffects/
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.771: 	presets_manager.cpp:194	user presets directory already exists: /home/user/.config/easyeffects/input
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.771: 	presets_manager.cpp:194	user presets directory already exists: /home/user/.config/easyeffects/output
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.771: 	presets_manager.cpp:194	user presets directory already exists: /home/user/.config/easyeffects/autoload/input
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.771: 	presets_manager.cpp:194	user presets directory already exists: /home/user/.config/easyeffects/autoload/output
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.811: 	pipe_manager.cpp:1427	compiled with PipeWire: 0.3.71
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.811: 	pipe_manager.cpp:1428	linked to PipeWire: 0.3.71
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.820: 	pipe_manager.cpp:1398	core version: 0.3.71
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.820: 	pipe_manager.cpp:1399	core name: pipewire-0
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.820: 	pipe_manager.cpp:1312	found metadata: settings
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.820: 	pipe_manager.cpp:1312	found metadata: default
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.820: 	pipe_manager.cpp:1312	found metadata: route-settings
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.820: 	pipe_manager.cpp:1167	Audio/Sink 63 alsa_output.pci-0000_00_1f.3.analog-stereo with serial 63 has been added
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.820: 	pipe_manager.cpp:1167	Audio/Source 64 alsa_input.pci-0000_00_1f.3.analog-stereo with serial 64 has been added
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.820: 	pipe_manager.cpp:1167	Stream/Output/Audio 83 spotify with serial 127 has been added
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.820: 	pipe_manager.cpp:1207	spotify port 84 is connected to alsa_output.pci-0000_00_1f.3.analog-stereo port 39
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.820: 	pipe_manager.cpp:1207	spotify port 85 is connected to alsa_output.pci-0000_00_1f.3.analog-stereo port 60
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.820: 	pipe_manager.cpp:1167	Audio/Sink 79 easyeffects_sink with serial 1466 has been added
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.820: 	pipe_manager.cpp:1167	Audio/Source/Virtual 81 easyeffects_source with serial 1467 has been added
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.821: 	pipe_manager.cpp:900	new metadata property: 0, default.video.source, Spa:String:JSON, {"name":"v4l2_input.pci-0000_00_14.0-usb-0_6_1.0"}
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.821: 	pipe_manager.cpp:900	new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"alsa_output.pci-0000_00_1f.3.analog-stereo"}
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.821: 	pipe_manager.cpp:900	new metadata property: 0, default.audio.source, Spa:String:JSON, {"name":"alsa_input.pci-0000_00_1f.3.analog-stereo"}
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.821: 	pipe_manager.cpp:900	new metadata property: 83, target.node, Spa:Id, 96
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.821: 	pipe_manager.cpp:900	new metadata property: 83, target.object, Spa:Id, 140
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.822: 	pipe_manager.cpp:1521	easyeffects_sink node successfully retrieved with id 79 and serial 1466
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.822: 	pipe_manager.cpp:1526	easyeffects_source node successfully retrieved with id 81 and serial 1467
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.825: 	plugin_base.cpp:369	soe: output_level successfully connected to PipeWire graph
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.826: 	plugin_base.cpp:369	soe: spectrum successfully connected to PipeWire graph
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.828: 	plugin_base.cpp:369	soe: autogain successfully connected to PipeWire graph
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.828: 	pipe_manager.cpp:1207	easyeffects_sink port 117 is connected to ee_soe_autogain port 141
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.828: 	pipe_manager.cpp:1207	easyeffects_sink port 156 is connected to ee_soe_autogain port 136
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.830: 	plugin_base.cpp:369	soe: echo_canceller successfully connected to PipeWire graph
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.830: 	pipe_manager.cpp:1207	ee_soe_autogain port 166 is connected to ee_soe_echo_canceller port 130
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.830: 	pipe_manager.cpp:1207	ee_soe_autogain port 163 is connected to ee_soe_echo_canceller port 168
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.830: 	pipe_manager.cpp:1207	alsa_output.pci-0000_00_1f.3.analog-stereo port 62 is connected to ee_soe_echo_canceller port 94
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.831: 	pipe_manager.cpp:1207	alsa_output.pci-0000_00_1f.3.analog-stereo port 61 is connected to ee_soe_echo_canceller port 152
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.843: 	plugin_base.cpp:369	sie: output_level successfully connected to PipeWire graph
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.845: 	plugin_base.cpp:369	sie: spectrum successfully connected to PipeWire graph
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.846: 	stream_output_effects.cpp:317	disconnecting the autogain filter from PipeWire
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.847: 	pipe_manager.cpp:213	 126 ee_soe_autogain has been removed
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.847: 	stream_output_effects.cpp:317	disconnecting the echo_canceller filter from PipeWire
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.848: 	pipe_manager.cpp:213	 119 ee_soe_echo_canceller has been removed
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.849: 	output_level.cpp:37	soe: output_level: PipeWire blocksize: 2048
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.849: 	output_level.cpp:38	soe: output_level: PipeWire sampling rate: 48000
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.852: 	plugin_base.cpp:369	soe: autogain successfully connected to PipeWire graph
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.852: 	pipe_manager.cpp:1207	easyeffects_sink port 117 is connected to ee_soe_autogain port 127
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.852: 	pipe_manager.cpp:1207	easyeffects_sink port 156 is connected to ee_soe_autogain port 120
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.854: 	plugin_base.cpp:369	soe: echo_canceller successfully connected to PipeWire graph
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.854: 	pipe_manager.cpp:1207	ee_soe_autogain port 70 is connected to ee_soe_echo_canceller port 140
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.854: 	pipe_manager.cpp:1207	ee_soe_autogain port 119 is connected to ee_soe_echo_canceller port 152
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.854: 	pipe_manager.cpp:1207	alsa_output.pci-0000_00_1f.3.analog-stereo port 62 is connected to ee_soe_echo_canceller port 76
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.854: 	pipe_manager.cpp:1207	alsa_output.pci-0000_00_1f.3.analog-stereo port 61 is connected to ee_soe_echo_canceller port 94
easyeffects-INFO: 12:53:15.857: 	application.cpp:50	disabling global bypass
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.859: 	application_ui.cpp:86	Icon Theme Adwaita detected
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.869: 	output_level.cpp:37	sie: output_level: PipeWire blocksize: 1024
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.869: 	output_level.cpp:38	sie: output_level: PipeWire sampling rate: 48000
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.936: 	echo_canceller.cpp:208	soe: echo_canceller filter length: 4800
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.936: 	app_info.cpp:141cannot lookup application icon spotify in /usr/share/pixmaps
(easyeffects:100818): easyeffects-DEBUG: 12:53:15.936: 	app_info.cpp:141cannot lookup application icon spotify in /usr/local/share/pixmaps
fish: Job 1, 'G_MESSAGES_DEBUG=easyeffects ea…' terminated by signal SIGKILL (Forced quit)

Additional Information

No response

robcohen avatar Aug 25 '23 17:08 robcohen

I was able to successfully run easyeffects, then when I enabled echo_cancellation in the GUI, it crashed and now I cannot restart it (see log).

Try to reset its settings easyeffects -r.

wwmm avatar Aug 25 '23 23:08 wwmm

So after updating my NixOS installation a few times over the past week, I was able to launch easyeffects. However, when I added echo canceller again, easyeffects crashes.

When I run easyeffects again I get the same error:

(easyeffects:70685): easyeffects-DEBUG: 12:18:39.944: 	pipe_manager.cpp:1207	alsa_output.pci-0000_00_1f.3.analog-stereo port 61 is connected to ee_soe_echo_canceller port 128
(easyeffects:70685): easyeffects-DEBUG: 12:18:39.947: 	echo_canceller.cpp:208	soe: echo_canceller filter length: 4800
fish: Job 1, 'G_MESSAGES_DEBUG=easyeffects ea…' terminated by signal SIGKILL (Forced quit)

when I try to reset the setting with -r I get

fish: Job 1, 'easyeffects -r' terminated by signal SIGKILL (Forced quit)

Any ideas on what I can do to fix it? Can I manually remove the echo cancel effect?

robcohen avatar Sep 04 '23 17:09 robcohen

Any ideas on what I can do to fix it? Can I manually remove the echo cancel effect?

One way would be to reset the keys in dconf-editor Screenshot from 2023-09-05 02-18-05 But I wonder why the echo canceller is crashing on your system. Since we moved from the rubberband library to soundtouch I haven't seen anyone reporting crashes in this plugin.

wwmm avatar Sep 05 '23 05:09 wwmm

What I find odd is that there aren't any errors. Is there another log or verbosity option I can use to get more info?

robcohen avatar Sep 05 '23 18:09 robcohen

Is there another log or verbosity option I can use to get more info?

No. There isn't a more verbose mode. And it probably would not help in a SIGKILL case. And talking about it I wonder what is sending the SIGKILL signal to EasyEffects in your system. IT doesn't seem like an usual crash. EasyEffects is being killed by something.

wwmm avatar Sep 06 '23 14:09 wwmm

perhaps I should run it in a debugger of some kind, or system call tracer?

robcohen avatar Sep 09 '23 05:09 robcohen

perhaps I should run it in a debugger of some kind, or system call tracer?

If you are familiar with gdb it is probably going to help to run it inside gdb and executing in its prompt the command bt to see where the crash is happening.

wwmm avatar Sep 09 '23 23:09 wwmm

Ok, I will do that later this week and update you.

robcohen avatar Sep 10 '23 19:09 robcohen