Skip to content
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

1.7 crashes on initialization #987

Open
ales-tsurko opened this issue Aug 9, 2015 · 6 comments
Open

1.7 crashes on initialization #987

ales-tsurko opened this issue Aug 9, 2015 · 6 comments
Assignees
Labels

Comments

@ales-tsurko
Copy link

When I try to start version 1.7 on Mac OS X 10.10.4, I got an error: "Integra Live has stopped working! Integra Live's server has crashed".
The previous version worked fine, but I've replaced it with new one and now I don't know where can I get the previous one. I've tried to compile the source, but get errors (I'm even not sure if I do it right: /src/IntegraLive/macosx/ make sudo make install?).

@jamiebullock
Copy link
Member

Hi @AlesTsurko sorry for the slow reply, somehow I didn't get notification on this.

Do you still have the problem? If so, can you locate ~/Library/Preferences/org.integralive.IntegraLive/Local Store/runtime logs/session */server_log.txt and attach it to this thread.

Also, do you get the problem with no external audio interface, just the internal audio?

We're running IL 1.7 successfully on 10.10 and 10.11 here so I'm curious to know what the problem is.

@jamiebullock jamiebullock self-assigned this Oct 8, 2015
@ales-tsurko
Copy link
Author

Hi!

I'm on OS X 10.11 now.

Yes it happens with both devices the internal and my external.

For some reason I can't attach the file, so I just copy it here:

Progress [14:31:58 10/08/15] /Users/jamie/Documents/IntegraLive/server/src/integra_server.cpp: 238(int main(int, char **))     closing orphaned processes
Progress [14:31:58 10/08/15] /Users/jamie/Documents/IntegraLive/libIntegra/src/server.cpp: 66(integra_internal::CServer::CServer(const integra_api::CServerStartupInfo &))     libIntegra version 1.7.0
Progress [14:32:11 10/08/15] /Users/jamie/Documents/IntegraLive/libIntegra/src/portmidi_engine.cpp: 55(integra_internal::CPortMidiEngine::CPortMidiEngine())     Created PortMidi engine
Progress [14:32:11 10/08/15] /Users/jamie/Documents/IntegraLive/libIntegra/src/portaudio_engine.cpp: 105(integra_internal::CPortAudioEngine::CPortAudioEngine())     Created PortAudio engine
Progress [14:32:11 10/08/15] /Users/jamie/Documents/IntegraLive/libIntegra/src/server.cpp: 99(integra_internal::CServer::CServer(const integra_api::CServerStartupInfo &))     Server construction complete
Progress [14:32:11 10/08/15] /Users/jamie/Documents/IntegraLive/server/src/integra_server.cpp: 258(int main(int, char **))     creating xmlrpc interface...
Progress [14:32:11 10/08/15] /Users/jamie/Documents/IntegraLive/server/src/xmlrpc_server.cpp: 1905(void CXmlRpcServer::run())     Starting server on port 8003
Progress [14:32:19 10/08/15] /Users/jamie/Documents/IntegraLive/libIntegra/src/portaudio_engine.cpp: 774(void integra_internal::CPortAudioEngine::open_streams())     Started Audio Input Stream
Progress [14:32:20 10/08/15] /Users/jamie/Documents/IntegraLive/libIntegra/src/portaudio_engine.cpp: 856(void integra_internal::CPortAudioEngine::close_streams())     Closed input stream
Progress [14:32:20 10/08/15] /Users/jamie/Documents/IntegraLive/libIntegra/src/portaudio_engine.cpp: 774(void integra_internal::CPortAudioEngine::open_streams())     Started Audio Input Stream
Progress [14:32:20 10/08/15] /Users/jamie/Documents/IntegraLive/libIntegra/src/portaudio_engine.cpp: 820(void integra_internal::CPortAudioEngine::open_streams())     Started Audio Output Stream
Progress [14:32:20 10/08/15] /Users/jamie/Documents/IntegraLive/libIntegra/src/portaudio_engine.cpp: 856(void integra_internal::CPortAudioEngine::close_streams())     Closed input stream
Progress [14:32:20 10/08/15] /Users/jamie/Documents/IntegraLive/libIntegra/src/portaudio_engine.cpp: 864(void integra_internal::CPortAudioEngine::close_streams())     Closed output stream
Progress [14:32:20 10/08/15] /Users/jamie/Documents/IntegraLive/libIntegra/src/portaudio_engine.cpp: 774(void integra_internal::CPortAudioEngine::open_streams())     Started Audio Input Stream
Progress [14:32:20 10/08/15] /Users/jamie/Documents/IntegraLive/libIntegra/src/portaudio_engine.cpp: 820(void integra_internal::CPortAudioEngine::open_streams())     Started Audio Output Stream

May be the problem is in path? My user directory is /Users/alestsurko/.

And here is what I get in system log:

08.10.15 14:32:19,040 integra_server[4366]: 14:32:19.038 WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.

But as I understand the last can't crash the program.

@jamiebullock
Copy link
Member

No that warning in the system log is harmless. We're not even using the AU API.

The log also looks pretty harmless.

Can you do two things:

  • Start IL and then have a look in activity monitor, with a search keyword of "integra". If the server has indeed crashed, you should see only one process, otherwise you should see two processes
    screen shot 2015-10-08 at 14 06 07
  • If you can see two processes it means the GUI can't communicate with the server and therefore assumes it has crashed. The usual reason for this is that a local firewall is blocking the ports used for communication between GUI and server. These are ports 8003 and 8005

@ales-tsurko
Copy link
Author

Yes, the server disappears from processes after crash.
The firewall also allows all incoming connections to integra_server and I just added the Integra Live to this list.
By the way, I'm also had a message about Jack hal plugin in the system log from the Integra Live today, then I had deleted this plugin (I'm not using Jack anymore and it was non-uninstalled garbage).

@jamiebullock
Copy link
Member

Hi Ales, thanks for your help with this so far.

Would you mind trying the following from a Terminal:

cd /Applications/Integra Live.app/Contents/Resources
./integra_server

That should produce a "help" message. If so, can you type:

./integra_server -system_modules=Integra.framework/Resources/modules -third_party_modules=/tmp/integraxxxxx -xmlrpc_server_port=8003 -osc_client_url=127.0.0.1 -osc_client_port=8004

Hopefully it will crash! Even better there is a useful error message.

Also, you sound like you might be familiar with some coding. Do you know how run an application under a debugger?

@ales-tsurko
Copy link
Author

Sorry for the long reply.
I get this:

Progress     closing orphaned processes
Progress     libIntegra version 1.7.0
Error     unable to open directory: /tmp/integraxxxxx
Progress     Created PortMidi engine
Progress     Created PortAudio engine
Progress     Server construction complete
Progress     creating xmlrpc interface...
Progress     Starting server on port 8003

integra_server didn't crash, it's present in the processes as long as I don't complete the process.
Yes, I'm familiar with coding, but my knowledge of debugging is limited by the Xcode's breakpoints and NSLog:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants