Oeyvind / featexmod

GNU General Public License v3.0
18 stars 1 forks source link

MIDIator hangs/crashes host on exit (OS X) #14

Open berntisak opened 7 years ago

berntisak commented 7 years ago

Tested in latest versions of both Reaper and Bitwig on OS X 10.11.6

When closing a project containing the MIDIator plugin, the host hangs (not responding) and needs to be force quit. Trying to remove the plugin from a track makes the host crash and close down immediately. I thought Reaper normally was able to isolate plugin crashes, so seems a bit strange.

Oeyvind commented 7 years ago

Yes. It has to do with closing of OSC ports. The most recent dev version of Csound fixes the problem.

  1. nov. 2016 8.42 a.m. skrev "Bernt Isak Wærstad" <notifications@github.com

    :

Tested in latest versions of both Reaper and Bitwig on OS X 10.11.6

When closing a project containing the MIDIator plugin, the host hangs (not responding) and needs to be force quit. Trying to remove the plugin from a track makes the host crash and close down immediately. I thought Reaper normally was able to isolate plugin crashes, so seems a bit strange.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Oeyvind/featexmod/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/AFUyzSTnnBkSpO_ZmNoIaZuC038Y62sZks5rAHhXgaJpZM4K3laH .

berntisak commented 7 years ago

So should be fixed in the 6.08 release I guess - I'll just close the issue then.

Oeyvind commented 7 years ago

Lets assume and hope so, but also test once 6.08 is out, that is also solves the problem on OSX.

2016-11-20 12:17 GMT-08:00 Bernt Isak Wærstad notifications@github.com:

So should be fixed in the 6.08 release I guess - I'll just close the issue then.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Oeyvind/featexmod/issues/14#issuecomment-261802461, or mute the thread https://github.com/notifications/unsubscribe-auth/AFUyzeIReDbCXWXuLjT6jHykt4QmK8mPks5rAKrVgaJpZM4K3laH .

berntisak commented 7 years ago

Just built latest from source and can confirm it doesn't crash anymore. I do get a new error on the analyzer though:

error: syntax error, unexpected T_IDENT (token "kwhen") from file analyze_send.inc (5) from file analyzer.csd (1) line 1684960626:

OSCsend kwhen <<< Unexpected untyped word OSCsend when expecting a variable Parsing failed due to invalid input! Stopping on parser failure

Open a new issue on this one perhaps or is it an easy fix?

Oeyvind commented 7 years ago

mm, strange, could you try to run csound -z to veryfy that you have OSCsend? Then run analyzer.csd on the command line.

2016-11-20 13:47 GMT-08:00 Bernt Isak Wærstad notifications@github.com:

Just built latest from source and can confirm it doesn't crash anymore. I do get a new error on the analyzer though:

error: syntax error, unexpected T_IDENT (token "kwhen") from file analyze_send.inc (5) from file analyzer.csd (1) line 1684960626:

OSCsend kwhen <<< Unexpected untyped word OSCsend when expecting a variable Parsing failed due to invalid input! Stopping on parser failure

Open a new issue on this one perhaps or is it an easy fix?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Oeyvind/featexmod/issues/14#issuecomment-261808373, or mute the thread https://github.com/notifications/unsubscribe-auth/AFUyzQu8hu61xSp5Dc1zlqmfgS-YJSJdks5rAMABgaJpZM4K3laH .

berntisak commented 7 years ago

Wasn't there and not sure how to do a build with them (seems to be set to on, but apparently they're not built anyway). Would have to wait for the 6.08 release I guess

Oeyvind commented 7 years ago

There's a dependency on liblo I think, This should be covered in the Csound build instructions, but IIRC you download the source and build it with configure, make install. I don't remember stumbling upon special problems building it. (...)

2016-11-21 13:08 GMT-08:00 Bernt Isak Wærstad notifications@github.com:

Wasn't there and not sure how to do a build with them (seems to be set to on, but apparently they're not built anyway). Would have to wait for the 6.08 release I guess

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Oeyvind/featexmod/issues/14#issuecomment-262067454, or mute the thread https://github.com/notifications/unsubscribe-auth/AFUyzVwE_GzRYqhOCO6M9ywJtMw2xTERks5rAggygaJpZM4K3laH .

berntisak commented 7 years ago

Still having those crashes with latest version of Csound (6.08).

When I said it wasn't crashing anymore, was because it wasnt actually running (due to my inability to build Csound with OSC opcodes)

Oeyvind commented 7 years ago

I'm not 100% sure how this works on OSX, but on Windows it seems like the Cabbage plugins continues to use the libraries it was exported with, so sometimes I need to open in Cabbage and export again after updating Csound. Could you try to do this? to ensure that any changes in how Csound handles the network ports have been activated in the plugin.

2016-12-02 6:12 GMT-08:00 Bernt Isak Wærstad notifications@github.com:

Reopened #14 https://github.com/Oeyvind/featexmod/issues/14.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Oeyvind/featexmod/issues/14#event-880027300, or mute the thread https://github.com/notifications/unsubscribe-auth/AFUyzdbHhHv46wKWk6-pDsdtaPNsj15Aks5rECdUgaJpZM4K3laH .

berntisak commented 7 years ago

Just downloaded latest Cabbage and will try a re-export once I get home. Will report back later!

On 3 December 2016 at 03:11, Oeyvind notifications@github.com wrote:

I'm not 100% sure how this works on OSX, but on Windows it seems like the Cabbage plugins continues to use the libraries it was exported with, so sometimes I need to open in Cabbage and export again after updating Csound. Could you try to do this? to ensure that any changes in how Csound handles the network ports have been activated in the plugin.

2016-12-02 6:12 GMT-08:00 Bernt Isak Wærstad notifications@github.com:

Reopened #14 https://github.com/Oeyvind/featexmod/issues/14.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Oeyvind/featexmod/issues/14#event-880027300, or mute the thread https://github.com/notifications/unsubscribe-auth/AFUyzdbHhHv46wKWk6- pDsdtaPNsj15Aks5rECdUgaJpZM4K3laH

.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Oeyvind/featexmod/issues/14#issuecomment-264608431, or mute the thread https://github.com/notifications/unsubscribe-auth/AIyXr6xOC-HkJ7Urd3YzXphrBMc1upo-ks5rEM-1gaJpZM4K3laH .

-- Mvh.

Bernt Isak Wærstad