-
-
Notifications
You must be signed in to change notification settings - Fork 923
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
scsynth failing to start #834
Comments
Hi Fed, If you're starting scsynth manually you need to provide some options (see https://github.com/samaaron/sonic-pi/blob/master/app/server/sonicpi/lib/sonicpi/scsynthexternal.rb#L210) That would translate to something like
When you say there's an issue with scsynth not launching is that every time? Have you tried after a restart for example? There are known issues with zombie scsynth processes that block Sonic Pi from starting properly. |
Oh I see, definitely the options were different. Re. your other questions:
Do you happen to have a build of Sonic Pi + scsynth that has debug symbols? I might be able to debug this for you, assuming I figure out how to do so. |
Yes! Replacing a few libraries did the trick. So, from SuperCollider 3.6.6 I copied: libscsynth.dll, libscsynth.dll.a (.dll.a on Win32?) and scsynth.exe. You might want to repack/rebuild your native/windows distribution of scsynth. I'm installing mingw, I might manage to get some information out of the dll and the executable - so far, there is a difference in size and that's it. |
Alright, so.. this is what I dug up: The stack trace: Is it possible you are being hit by something similar to: given how it's used here? |
Hi, Sorry I went AWOL on this one. I started a new job around the time this was filed so things got a bit crazy! It's quite possible you've found a bug in SuperCollider here but I don't really know enough about the Windows build to say for sure. On a separate note, we could always do with more people who know about Windows - we're having to work really hard to try and fix these issues and the majority of the core team are Linux/Mac users. Any contributions/suggestions are very welcome. After you filed this issue we've put together a more detailed document on the Windows build process which might answer some of your questions. https://github.com/samaaron/sonic-pi/blob/master/INSTALL-WINDOWS.md |
Closing for now as this conversation appears to have waned. Please feel free to re-open a new issue if you're still having issues with |
Hi there,
I'm giving a shot at Sonic Pi running on a custom built Windows PC.
There seems to be an issue with scsynth not launching.
Executing scsynth.exe manually yields:
C:\Users\Federico>"C:\Program Files (x86)\Sonic Pi\app\server\native\windows\scs
ynth.exe" -u 5998
Exception in World_New: boost::interprocess::intermodule_singleton initializatio
n failed
terminate called after throwing an instance of 'std::system_error'
what(): Invalid argument
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
(I believe that Sonic Pi uses 5994 as UDP port)
Is there a way I can help you on this? Admittedly, my experience on Windows development is close to zero (yes, choosing to try Sonic Pi on a platform I have no experience on was not a brilliant move..).
SuperCollider's own server starts without any hiccups. Possibly the binary you are shipping with the Windows bundle is not compiled correctly?
Thanks!
Fed
The text was updated successfully, but these errors were encountered: