New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
smenc hangs on linux (ubuntu) #15
Comments
You need to use either -m or -f to set the fundamental frequency of the input wav file in.wav. Still, it should not just hang. So I added an error message now to handle this case. Anyway smenc is a quite low level tool. Probably the easiest way to morph using custom wav files is the instrument editor |
It works with that if-condition. I tried using the plugin in Ardour on Ubuntu 20.04, but it crashes. An error showed once about an issue related to spectromorph and JACK. Help me understand something; I am somewhat still discovering C++ features. How is it that a |
Ok, I am running Ubuntu 20.04, and tried a build of Ardour7 from their git repo and SpectMorph from git (I wouldn't recommend that though, always use released versions, SpectMorph from git isn't stable at the moment). The LV2 plugin works without any issue. The VST plugin works after adding ~/.vst to the search path. The instrument editor works in both. So in principle this ought to work. Also note that I have been working with stable SpectMorph VST in Bitwig for years now, so the plugin should really be tested. But to track down your problem with the plugin, maybe you can give me more information about how you installed it and which version exactly you used? Did you build from source? Install the .deb? Install the statically linked version? Also relevant: if you have smjack, does that work? In general its a way to use SpectMorph without using the plugin. You just need a working JACK server.
Typically this happens if you use a |
So I get these warnings: Then it's always the case that just after I move the window, a seg fault happens and the program crashes: Sometimes I get a report. When I do again, I will post it here. But what do you think is the problem? |
Can you start it in gdb and produce a backtrace of the crash? That is run
Then type |
So this is what is printed. The window is even yet to show for me to backtrace. `$ gdb smjack For help, type "help". Thread 3 "smjack" received signal SIG32, Real-time event 32. |
Ok, you need to let it run a little longer inside gdb until it really crashes. So start it in gdb, type
from gdb. If you type Also since you mentioned that it happens after moving a window, may I ask what window manager / compositor / desktop environment you are using?
It would also be interesting to know what version of smjack we're talking about here. Did you compile from git? Or compile the official released version? Or install the .deb package from spectmorph.org? |
Here is the dump of my console after running `gdb) run Thread 3 "smjack" received signal SIG32, Real-time event 32. Thread 1 "smjack" received signal SIGSEGV, Segmentation fault. Program terminated with signal SIGSEGV, Segmentation fault. Regarding my window manager, my $XDG_CURRENT_DESKTOP and $XDG_SESSION_TYPE environment variables show I am using GNOME/X11. What do you made of that? Regarding how I installed SpectMorph, I was using smjack from the deb on the website, but I also tried to look at the source (0.5.2 from website), which is how I came across the hanging issue. However, maybe I used the source's smjack; this would be the case if |
I can confirm the same error occurs in both the deb and source. I just built 0.5.x and ran smjack. |
See backtrace in #15. Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
Ok, so thanks to your backtrace, I think I know what the problem is: on your system XOpenIC returns NULL, which on your system leads to a crash later if XUnsetICFocus is called with a NULL pointer. Please test if you still experience problems if you build from branch x-open-im-fix or apply the changes in this commit See also this commit in upstream pugl: lv2/pugl@2e0fb50 |
See backtrace in #15. Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
Reproduce
smenc in.wav out.sm
Should work
The text was updated successfully, but these errors were encountered: