On Tue, Jul 20, 2021 at 10:49:05AM +0100, Stuart Henderson wrote: > On 2021/07/20 10:24, Alexandre Ratchov wrote: > > On Sun, Jul 18, 2021 at 06:43:45AM +0000, Dimitri Karamazov wrote: > > > On Fri, Jun 25, 2021 at 10:48:20PM +0100, Stuart Henderson wrote: > > > > On 2021/06/24 17:16, Dimitri Karamazov wrote: > > > > > Ping > > > > > > > > > > On Fri, Jun 18, 2021 at 02:06:24PM +0200, Alexandre Ratchov wrote: > > > > > > On Fri, Jun 18, 2021 at 09:05:41AM +0000, Dimitri Karamazov wrote: > > > > > > > Ping > > > > > > > > > > > > > > > > > > > I'm very interested by your port, but I've not time these days, > > > > > > hopefully end of next week. Sorry. > > > > > > > > > > > > Thanks for your port > > > > > > > > I'm not going to have time to do much in the way of debugging, but > > > > it's crashing at startup for me: > > > > > > Apologies for the huge delay but I'm unable to reproduce the error > > > could you please test again? > > > > > > > I've lightly used it and it works very well here. Most problems I get > > are consequences of xruns which are not related to muse. > > > > I don't know if this is OK portwise, but I'm very happy to see muse > > running on OpenBSD. > > > > Furthermnore, this puts pressure to add MIDI support to jack and to > > address the continuous restarts. > > I've rebuilt and tried again; it segfaults some of the time at > startup and probably 25-50% of the time when loading a file. I added > DEBUG_PACKAGES=${BUILD_PACKAGES} and got the backtrace below. > > When it does start I'm able to play your sample file ok. I also tried > share/muse-4.0/demos/rasen.med with no audio output but I think that's > just because it's not hooked up to a synth producing any sound.
It could be just an audio file with no output device set for it. That seems to be the most likely cause of the issue. Left click on the ports column reveals the reason. > Ports-wise please have the doc directory not include the version number > e.g. this is untested but I think it will work, > -DMusE_DOC_DIR=${PREFIX}/share/doc/muse > (It might be worth patching CMakeLists.txt to install lib and share files > to a directory without the version too - pkg_add -u can skip fetching > unchanged files at update time, but only if the filename stays the same). I've dealt with this in the attached tarball. Regarding the segfault error I did witness it consistently a couple of weeks ago but I'm utterly failing to reproduce it now even after loading atleast 20 different files. I'll still let the upstream know about it. DEBUG_PACKAGES has been enabled for the port. regards, Dimitri
muse.tar.gz
Description: Binary data