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
Boot fail - win 10 x64 #1490
Comments
Hi, can you post the sonic pi logs? That would help in spotting the issue.
But the issue is because something is not found in the event logs, iirc, so
clearing the event logs should make the problem worse, not better. Normally
a reboot should make it work, since the boot event is what is missing in
the non working case...
…On Sun, 27 Nov 2016, 06:45 gl33mer, ***@***.***> wrote:
At some point a few weeks back Supercollider stopped working properly on
my machine. I haven't managed to solve the issue. This is the issue
<supercollider/supercollider#2409>(closed due
to a patch I haven't tried applying) and has to do with Boost.
Since, Sonicpi has also failed to boot.
I install the latest sonic pi (2.11 - msi and protable) they just fail on
startup.
I've trying clear the event log as suggested in that issue thread
mentioned above.
Easy solve?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1490>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABLl8xh7ksGJekkAiZk4R7LaR73-IdoNks5rCScZgaJpZM4K9FFs>
.
|
Ok. Thank you. Here are the logs from the portable install: GuiLog- [GUI] - Detecting port numbers... processes log- No pids store found here: C:/Users/Shva/AppData/Local/Temp/SonicPiPortableTemp/sonic-pi-pids Scsynth Log- Starting SuperCollider 2016-11-27 08:40:47Device options:
Booting with: server errors - is empty and server ouput log- Sonic Pi server booting... Booting Sonic PiBooting on Windows Seems all is working but SonicPi crashes before the gui is drawn (only the splash screen is seen). Thanks again. |
This is very odd - these logs are telling me that everything is working just fine. This is the first time I've ever seen an issue where the GUI doesn't start yet the logs all look good... When Sonic Pi crashes - what do you see? How do you know it's crashed? |
Hi, I don't think this has to do with the issue that you mention. That
should work fine after a reboot.
Perhaps @samaaron has some ideas to try and see what the issue is...
Luis
|
@llloret - reboot seemed to solve it for now. SonicPI just booted. (I rarely boot my machine) (can't wait to get the guitar and mic wired up through sound_in*) Thanks for your help and this most excellent project. |
Reopening this issue. Let me know if there's something I can do to help debug this. ty. |
Do you see an error message on a failed boot? |
Not sure what you mean by error message. |
weird - you should get a little window popping up apologising that there was an error during the boot process with a description of what went wrong. The fact you're not seeing that is very curious as I've never seen a report to date that suggests the error window didn't appear. It should take about 60s from initial boot to appear. |
Ok. I rebooted. This is the window is what I get: |
How very odd - this is the first time I've seen an error like that. Looks like the c++ app has totally crashed. Is there any chance you could delete your |
As instructed. Debug: empty. GUI: Processes: Scsynth: Starting SuperCollider 2016-12-01 18:05:58Device options:
Booting with: Server-Errors: Empty. Server-Output: Booting Sonic PiBooting on Windows To get back to the beginning of this thread. Could this possibly have an effect on this SonicPi behavior? Even though it's a portable version (and probably shouldn't rely on the Supercollider config files even if it wasn't) maybe it still reads from these config files, somewhere by mistake? Probably isn't it, but thought I'd bring it up again. |
I can't seem to retrace what Supercollider stuff I installed (and where it was installed) that seemed to cause the orignal SC crash to begin with. |
Thanks for this - it's very useful :) Does supercollider crash in an identical fashion? |
No worries. It's my pleasure. I love this project. <3 (The funny thing is I'm trying to use SonicPi for a realtime guitar/electro setup for a professional guitarist friend. Even though it currently looks unusable - my experience with SonicPi has been extremely stable and I still think we'll eventually be able to use it. At the very least for a test run) I actually haven't used SC for quite a while. Not even sure what version/s is currently installed. I'll be checking the SC end of things again and get back to you. |
It seems SuperCollider is not currently installed. Should I install the latest version and try it out? (v. 3.8.0) |
That would be useful - yes please. |
Ok. 3.8.0 seems to run fine (not crashing, etc.)
This gave the following errors. Not sure if this is related. (That's all I can do for now, busy for the next few hours):
This might be due to some simple oversight of mine. Hope it helps. |
interesting - that doesn't look too good. Which files do you have in |
@llloret - does this look like the windows error you're already aware of? |
Yes, I think so.
Can you have a look in the windows event log, as described in the SC bug
report, and see if the boot event is missing?
Luis
|
@llloret Could you guide me through it? |
@gl33mer Ok, I have checked my notes, and the problem that you are having is actually something that is being uncovered by the patch I submitted to SuperCollider to fix the original issue. I have not been able to reproduce it on my set up, but @bagong reported it. It seems to happen intermittently. I see that you were in the thread on the SuperCollider github. Anyway as far as we know, it should not happen if the necessary event (eventID 6005) is found in the Event log. So launch the "Event viewer" (just type that on the start menu, and should appear), and then once in there, Windows Logs->System. There, see if you can see eventId 6005 (you can sort and filter on column). Let us know if there is such an event when it is failing to start as you report. |
Ok. Thanks @llloret . There is an event 6005 (more than one) |
Ok, interesting. And does your issue happen every time, or only sometimes?
…On Fri, 2 Dec 2016, 18:30 gl33mer, ***@***.***> wrote:
Ok. Thanks @llloret <https://github.com/llloret> . There is an event 6005
(more than one)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1490 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABLl81iXC2dZsUwJKqkbUalCvf0Xj4-Mks5rEGO9gaJpZM4K9FFs>
.
|
It seems to be every time. |
I just did the following. Could Windows sleep mode be the cause of this crash? That's the only thing I can think of. |
@llloret do work me :-) |
Still. Crashing silently. No error notice. Splash screen. Then nothing. |
Thanks for the info, the revealing bit is in scsynth.log line: Exception in
World_New: boost::interprocess::intermodule_singleton initialization failed.
This is the problem that we are aware of, but so far there is not a clear
idea of why it is happening. Let me have a a think and see how best to
proceed to find out what the issue is.
|
Possibly related: https://svn.boost.org/trac/boost/ticket/12137 |
@llloret which version of Boost are we using for the Windows build? |
1.61
|
@llloret Thank you. @samaaron This is a bit deeper than my normal depth but it seems that issue relates (If I understood correctly) to the event log size maxing out. Mine also seems to have a limit of 20mb but is currently only ~3mb (I think). I also seem to have quite a few events with id 6005. But then again I've never used boost, etc. |
I would assume not many people encounter this one. :-( May end up ordering a raspbPI |
Cc @bagong |
@samaaron, I am following. The tragic thing is that we haven't had a case yet that allowed to reproduce the problem. It's either there on a certain system, or not... Once someobdy turns up who says: I had it, but after I did this and that it disappeared (or the other way round), we are back in the game. But worse: SC has moved on to boost 1.63 now, where the code in question is different, so even less chance that we find out what triggers this problem in certain environments. |
@bagong - thanks for this - is the sc with boost 1.63 released at this point it still in dev? |
Still in dev, and not clear yet when we will release. Some push for a quick release, others are sceptical... |
As @bagong said, the trouble is finding his to reproduce it. I agree that next step would be to test the 1.63, when possible. |
hmm... |
Event log was cleared before attempting to boot sonic-pi. current version still not working. |
This from Stackoverflow - "It's a bit weird, but here boost relies on Windows Event Logger. And if there is no event with ID = 6005. It throws an exception.... I did have more than one 6005 event before I erased the eventlog completely and a 6005 event has to be created. This method using PowerShell for adding an event with id 6005 worked for me (eventcreate.exe can only create an event with id 0-1000 and LogEvent.exe that is mentioned elsewhere can't be found) Sonic-Pi just booted. I shall update. |
Rebooted computer. Sonic Pi still boots. |
After System event log has been erased - add a event with id 6005 like this:
now SonicPi should boot. |
Is this closing? |
@samaaron |
I think it should be kept open until either it is fixed in boost, or we
find a way to make it work without manual interventions.
|
Hello everyone, I had the same boot problem until 15 minutes ago. After installing SuperCollider separately, one of it's logfiles told me that it had a problem with my Focusrite Scarlett Solo Device. I deactivated the device, restarted Sonic Pi, and voilà: I am a happy listener to the db_haus drum sample now. ;-) Hope this helps anyone! Kind regards, Rainer |
Hey @Rainer Sonic Pi is working consistently for you now? I'm also using a Focusrite interface (2i2) . Disconnecting it got SonicPi running. But only once and then it's back to splash screen and crash. This still in the SonicPi (scsynth) logs:
|
This isn't a workable solution for me because I need the audio device for inputs/outputs etc. I couldn't get it to work consistently and couldn't actually hear any sound off the on board audio. |
I'm looking into possible upgrade on the Focusrite drivers. |
No luck with updated drivers. |
At some point a few weeks back Supercollider stopped working properly on my machine. I haven't managed to solve the issue. This is the issue (closed due to a patch I haven't tried applying) and has to do with Boost.
Since, Sonicpi has also failed to boot.
I install the latest sonic pi (2.11 - msi and protable) they just fail on startup.
I've trying clear the event log as suggested in that issue thread mentioned above.
Easy solve?
The text was updated successfully, but these errors were encountered: