BirminghamConservatoire / IntegraLive

Integra Live is an application that makes it easy to use interactive audio processing to create new music
https://integra.io/integralive
41 stars 4 forks source link

1.7 crashes on initialization #987

Open ales-tsurko opened 9 years ago

ales-tsurko commented 9 years ago

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 commented 9 years ago

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.

ales-tsurko commented 9 years ago

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 commented 9 years ago

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:

ales-tsurko commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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:)