featexmod icon indicating copy to clipboard operation
featexmod copied to clipboard

MIDIator hangs/crashes host on exit (OS X)

Open berntisak opened this issue 9 years ago • 10 comments

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.

berntisak avatar Nov 20 '16 16:11 berntisak

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" <[email protected]

    :

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 .

Oeyvind avatar Nov 20 '16 16:11 Oeyvind

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

berntisak avatar Nov 20 '16 20:11 berntisak

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 [email protected]:

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 .

Oeyvind avatar Nov 20 '16 21:11 Oeyvind

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?

berntisak avatar Nov 20 '16 21:11 berntisak

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 [email protected]:

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 .

Oeyvind avatar Nov 21 '16 05:11 Oeyvind

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

berntisak avatar Nov 21 '16 21:11 berntisak

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 [email protected]:

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 .

Oeyvind avatar Nov 21 '16 22:11 Oeyvind

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)

berntisak avatar Dec 02 '16 14:12 berntisak

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 [email protected]:

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 .

Oeyvind avatar Dec 03 '16 02:12 Oeyvind

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 [email protected] 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 [email protected]:

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

berntisak avatar Dec 06 '16 20:12 berntisak