Created attachment 240248 [details] terminal output Yoshimi won't run, core dumps. Screenshot attached.
that screenshot, aside from not being very accessible, only tells us that there was a core dump, not why. can you please try to obtain a backtrace: https://docs.freebsd.org/en/books/developers-handbook/tools/#_examining_a_core_file_with_lldb and paste it as a comment, instead of a screenshot.
Luc, please: for port bug reports, make it habit to begin the summary line with the category and name of the port, for example: audio/yoshimi: – this will allow automation of things such as assignment. Thank you <https://wiki.freebsd.org/Bugzilla/>
(In reply to Luc from comment #0) Hi Luc, Thanks for the report. I can't reproduce the problem - both locally built executable and the executable from the centrally built package work fine. In order to troubleshoot the problem you can build yoshimi with debug info: $ cd /usr/ports/audio/yoshimi $ sudo make clean install WITH_DEBUG=yes $ gdb /usr/local/bin/yoshimi Then type "r" and Enter. Please publish the stack trace (the 'bt' command in gdb). Yuri
(In reply to Mina Galić from comment #1) How is a screenshot "not very accessible"? Please let me know if this is enough: root@fsd1:/home/luc # lldb -c yoshimi.core -- yoshimi (lldb) target create "yoshimi" --core "yoshimi.core" Core file '/home/luc/yoshimi.core' (x86_64) was loaded. (lldb) target create yoshimi --core yoshimi.core Core file '/home/luc/yoshimi.core' (x86_64) was loaded. (lldb) thread backtrace all * thread #1, name = 'yoshimi', stop reason = signal SIGABRT * frame #0: 0x00000008013a733a libc.so.7`__sys_thr_kill + 10 frame #1: 0x000000080131fc74 libc.so.7`__raise + 52 frame #2: 0x00000008013d1109 libc.so.7`abort + 73 frame #3: 0x00000000008207c1 yoshimi`___lldb_unnamed_symbol5527 + 369 frame #4: 0x000000000082019a yoshimi`___lldb_unnamed_symbol5524 + 2122 frame #5: 0x0000000000b4c147 yoshimi`___lldb_unnamed_symbol8943 + 87 frame #6: 0x0000000000b4d0cb yoshimi`___lldb_unnamed_symbol8949 + 2187 frame #7: 0x00000000002d0570 yoshimi`___lldb_unnamed_symbol8956 + 256 (lldb)
I can reproduce when config files are removed from the user's home directory. This is up to the upstream to resolve.
(In reply to Luc from comment #0) Luc, The problem is that yoshimi defaults to ALSA but it isn't linked with ALSA, and yoshimi doesn't produce adequate error message. The workaround for now is to use 'yoshimi -J -j' to force Jack. Jack has to be started on your system.
(In reply to Luc from comment #4) some people are blind, and some people just have terrible eyesight. Screenshots are not accessible if they have no Alt text. the only way to make a screenshot of terminal output accessible is to paste text of the terminal output into the description / Alt text box. and at that point, you can just paste the text of the terminal output into the comment
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e65d3eeb6a497f9af9aff37eda0ee050e70dd5c6 commit e65d3eeb6a497f9af9aff37eda0ee050e70dd5c6 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-02-19 18:33:35 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-02-19 18:42:28 +0000 audio/yoshimi: Fix bug when yoshimi asserted because it defaulted to ALSA ... which it isn't linked with. PR: 269673 Reported by: Luc <lucmove@gmail.com> audio/yoshimi/Makefile | 3 +++ audio/yoshimi/files/patch-src_globals.h (new) | 15 +++++++++++++++ 2 files changed, 18 insertions(+)
A commit in branch 2023Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5830649683dbde1ed850a7c065e0a4137fb1b6e8 commit 5830649683dbde1ed850a7c065e0a4137fb1b6e8 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-02-19 18:33:35 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-02-19 18:43:07 +0000 audio/yoshimi: Fix bug when yoshimi asserted because it defaulted to ALSA ... which it isn't linked with. PR: 269673 Reported by: Luc <lucmove@gmail.com> (cherry picked from commit e65d3eeb6a497f9af9aff37eda0ee050e70dd5c6) audio/yoshimi/Makefile | 3 +++ audio/yoshimi/files/patch-src_globals.h (new) | 15 +++++++++++++++ 2 files changed, 18 insertions(+)
The default audio backend was changed to JACK in the port. Thanks for reporting the problem!