FS#74472 - [zynaddsubfx] immediately exits if ttf-roboto is missing
Attached to Project:
Community Packages
Opened by Michael Liptrap (xenobrain) - Friday, 15 April 2022, 16:34 GMT
Last edited by David Runge (dvzrv) - Sunday, 22 May 2022, 08:25 GMT
Opened by Michael Liptrap (xenobrain) - Friday, 15 April 2022, 16:34 GMT
Last edited by David Runge (dvzrv) - Sunday, 22 May 2022, 08:25 GMT
|
Details
Description:
zynaddsubfx 3.0.6-2 Exists immediately when launched standalone or through any DAW. Identical behavior when using zynaddsubfx or zyn-fusion (gdb) run Starting program: /usr/bin/zynaddsubfx [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". ZynAddSubFX - Copyright (c) 2002-2013 Nasca Octavian Paul and others Copyright (c) 2009-2019 Mark McCurry [active maintainer] This program is free software (GNU GPL v2 or later) and it comes with ABSOLUTELY NO WARRANTY. Try 'zynaddsubfx --help' for command-line options. [Detaching after vfork from child process 22343] Sample Rate = 44100 Sound Buffer Size = 256 samples Internal latency = 5.8 ms ADsynth Oscil.Size = 1024 samples lo server running on 19490 [INFO] Nio::start() Starting Audio: JACK [New Thread 0x7ffff47ec640 (LWP 22344)] [Thread 0x7ffff47ec640 (LWP 22344) exited] [New Thread 0x7ffff47ec640 (LWP 22345)] [New Thread 0x7ffff3feb640 (LWP 22346)] Audio Started Starting MIDI: JACK MIDI Started [INFO] exec-after-init [INFO] startup OSC [INFO] UI calbacks [INFO] OSC replay [INFO] auto_save setup [INFO] NSM Stuff [INFO] LASH Stuff [INFO] Launching Zyn-Fusion... [Detaching after fork from child process 22347] [INFO] Loading system libzest.so [INFO:Zyn] setup_pugl() [INFO] Main Loop... [INFO:Zyn] zest_tick() [INFO:Zyn] zest_open() [INFO:Zyn] Found Assets at /usr/lib/zynaddsubfx/ [INFO:Zyn] Starting Zyn-Fusion [INFO:Zyn] Thanks for supporting the development of this project [INFO:Zyn] Creating MRuby Interpreter... [debug] parsing json file [debug] json parsed succesfully Deactivating and closing JACK client [Thread 0x7ffff3feb640 (LWP 22346) exited] [Thread 0x7ffff47ec640 (LWP 22345) exited] [Inferior 1 (process 22339) exited normally] |
This task depends upon
Closed by David Runge (dvzrv)
Sunday, 22 May 2022, 08:25 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with 3.0.6-3
Sunday, 22 May 2022, 08:25 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with 3.0.6-3
```
zynaddsubfx -I jack -O jack
ZynAddSubFX - Copyright (c) 2002-2013 Nasca Octavian Paul and others
Copyright (c) 2009-2019 Mark McCurry [active maintainer]
This program is free software (GNU GPL v2 or later) and
it comes with ABSOLUTELY NO WARRANTY.
Sample Rate = 48000
Sound Buffer Size = 256 samples
Internal latency = 5.3 ms
ADsynth Oscil.Size = 1024 samples
lo server running on 14957
[INFO] Nio::start()
Starting Audio: JACK
Jack buffer resized
Audio Started
Starting MIDI: JACK
MIDI Started
[INFO] exec-after-init
[INFO] startup OSC
[INFO] UI calbacks
[INFO] OSC replay
[INFO] auto_save setup
[INFO] NSM Stuff
[INFO] LASH Stuff
[INFO] Launching Zyn-Fusion...
Jack buffer resized
[INFO] Loading system libzest.so
[INFO:Zyn] setup_pugl()
[INFO] Main Loop...
[INFO:Zyn] zest_tick()
[INFO:Zyn] zest_open()
[INFO:Zyn] Found Assets at /usr/lib/zynaddsubfx/
[INFO:Zyn] Starting Zyn-Fusion
[INFO:Zyn] Thanks for supporting the development of this project
[INFO:Zyn] Creating MRuby Interpreter...
[debug] parsing json file
[debug] json parsed succesfully
Time for a fast load is 1.001ms load(0.006) class(0.001) spawn(0.994)...
making reverse graph[1103]<0.524 ms>
[INFO:Zyn] zest_setup()
[DEBUG:Zyn] setting up animation fps
```
```
jonahhw@jonah-dsktp ~> zynaddsubfx -I jack -O jack
ZynAddSubFX - Copyright (c) 2002-2013 Nasca Octavian Paul and others
Copyright (c) 2009-2019 Mark McCurry [active maintainer]
This program is free software (GNU GPL v2 or later) and
it comes with ABSOLUTELY NO WARRANTY.
Sample Rate = 48000
Sound Buffer Size = 256 samples
Internal latency = 5.3 ms
ADsynth Oscil.Size = 1024 samples
lo server running on 10630
[INFO] Nio::start()
Starting Audio: JACK
Audio Started
Starting MIDI: JACK
MIDI Started
[INFO] exec-after-init
[INFO] startup OSC
[INFO] UI calbacks
[INFO] OSC replay
[INFO] auto_save setup
[INFO] NSM Stuff
[INFO] LASH Stuff
[INFO] Launching Zyn-Fusion...
[INFO] Loading system libzest.so
[INFO:Zyn] setup_pugl()
Jack buffer resized
[INFO] Main Loop...
[INFO:Zyn] zest_tick()
[INFO:Zyn] zest_open()
[INFO:Zyn] Found Assets at /usr/lib/zynaddsubfx/
[INFO:Zyn] Starting Zyn-Fusion
[INFO:Zyn] Thanks for supporting the development of this project
[INFO:Zyn] Creating MRuby Interpreter...
[debug] parsing json file
[debug] json parsed succesfully
Deactivating and closing JACK client
```
The same output occurs if I run `pw-jack zynaddsubfx -I jack -O jack`, or if run without parameters. Sometimes a windows is visible for an instant, sometimes not. If I watch the Helvum patchbay, an input/output appears for Zyn for just an instant. If I open it through a DAW, the whole DAW immediately crashes (tested MusE and Qtractor - however, the version included in LMMS seems to work fine).
I tried downloading the demo and running the binary from there directly, and it produced no audio (nothing even in Helvum) but it did display a windows, so that suggests that it's something with this package rather than Zyn as a whole.
I have tried both pipewire and jack2 with the same result.
However, when I started it with the --no-gui option, it worked without exiting. Of course the GUI is not displayed, but I connected the MIDI keyboard and audio output using qpwgraph, and the sound came out properly.
So there may be a problem with the GUI.
https://wiki.archlinux.org/title/Debugging/Getting_traces
I still can not reproduce your issue unfortunately.
```
$ zynaddsubfx -I jack -O jack -r 48000
ZynAddSubFX - Copyright (c) 2002-2013 Nasca Octavian Paul and others
Copyright (c) 2009-2019 Mark McCurry [active maintainer]
This program is free software (GNU GPL v2 or later) and
it comes with ABSOLUTELY NO WARRANTY.
Sample Rate = 48000
Sound Buffer Size = 256 samples
Internal latency = 5.3 ms
ADsynth Oscil.Size = 1024 samples
lo server running on 19079
[INFO] Nio::start()
Starting Audio: JACK
Audio Started
Starting MIDI: JACK
MIDI Started
[INFO] Loading system libzest.so
[INFO:Zyn] setup_pugl()
[INFO:Zyn] zest_tick()
[INFO:Zyn] zest_open()
[INFO:Zyn] Found Assets at /usr/lib/zynaddsubfx/
[INFO:Zyn] Starting Zyn-Fusion
[INFO:Zyn] Thanks for supporting the development of this project
[INFO:Zyn] Creating MRuby Interpreter...
[debug] parsing json file
[debug] json parsed succesfully
[INFO] exec-after-init
[INFO] startup OSC
[INFO] UI calbacks
[INFO] OSC replay
[INFO] auto_save setup
[INFO] NSM Stuff
[INFO] LASH Stuff
[INFO] Launching Zyn-Fusion...
[INFO] Main Loop...
Deactivating and closing JACK client
```
As for coredumpctl, sorry, I didn't understand how to do it. So I cannot provide it immediately. I will study it.
However, when I then uninstalled the packages included in makedepends, zynaddsubfx started quitting immediately again.
Apparently, this problem occurs in an environment where ttf-roboto is not installed.
If ttf-roboto is installed, zynaddsubfx will start normally.
So please add ttf-roboto to depends, not makedepends.