Hi Spencer, thanx very much for the note.

It didn’t seem to fix thr problem. Detailed debugging is attached.

Anxiously awaiting any other suggestions!!

-- Rich

From: Spencer Salazar 
Sent: Thursday, September 11, 2014 3:47 AM
To: ChucK Users Mailing List 
Subject: Re: [chuck-users] Chuck on windows7 64-bit - OTF and OSC not working

Hello Rich, 

There is a DLL issue with the latest release of chuck on Windows with command 
line, which might be related to this. However, the issue I know about would 
typically cause chuck to not run at all on the command line, not even --loop. 

If you have a chance, please try the latest beta, which fixes the previously 
known DLL issue, and let us know if it fixes the problems you are experiencing:
https://ccrma.stanford.edu/~spencer/chuck/chuck-1.3.5.0-beta-4.msi


spencer


On Thu, Sep 11, 2014 at 12:36 AM, Rich Caloggero <[email protected]> wrote:

  I'm using latest chuck 1.3.4.0 on windows7 64-bit.

  I can’t seem to get chuck to deal with the network at all.

  * -- probe crashes chuck;

  * any otf command like + crashes chuck;

  * chuck –loop seems to work, but subsequent otf commands like + cause a 
crash, even when specifying host and port explicitly
  The looped process crashes with the windows error (unexpected error – program 
needs to close)...  The chuck + command reports “remote operation timed out”. 
I’ve tried with various combinations of --remote and --port in the "chuck +" 
command and combinations of --port and --loop and --server in the initial 
process.

  I also happen to be blind, so the miniaudical doesn't work for me at all!

  THe --probe command crashes chuck so its difficult to get an error report, 
but windows just says that a critical error has occured and the program needs 
to close; no other info is given.

  I've not been able to find any info on similar crashes online.





  _______________________________________________
  chuck-users mailing list
  [email protected]
  https://lists.cs.princeton.edu/mailman/listinfo/chuck-users






--------------------------------------------------------------------------------
_______________________________________________
chuck-users mailing list
[email protected]
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
// First, I see no .dll with the package. Should there be one?  Only thing in 
distribution bin directory is the chuck.exe file.

// out.ck
OscOut out;
out.dest ("localhost", 9999);
out.start ("/test");
out.add (pi);
// chuck crashes if following line is present
out.send();


// run //

prompt> chuck  --verbose:10 out
[chuck]:(10:ALL!!):  | adding 'Chuck_Object' (0x4f2dee8)...
[chuck]:(10:ALL!!):  | adding 'Chuck_UGen' (0x4f2dee8)...
[chuck]:(10:ALL!!):  | adding 'Chuck_Object' (0x4f2dfe0)...
[chuck]:(10:ALL!!):  | adding 'Chuck_UGen' (0x4f2dfe0)...
[chuck]:(10:ALL!!):  | adding 'Chuck_UGen' (0x4f2ddf0)...
[chuck]:(3:SEVERE):  | initializing 'blackhole'...
[chuck]:(10:ALL!!):  | adding 'Chuck_Object' (0x4f2e0d8)...
[chuck]:(10:ALL!!):  | adding 'Chuck_UGen' (0x4f2e0d8)...
[chuck]:(3:SEVERE): pre-loading ChucK libs...
[chuck]:(10:ALL!!): adding 'Chuck_Namespace' (0x4f05760)...
[chuck]:(3:SEVERE): starting compilation...
[chuck]:(7:FINE!!):  | compiling 'out'...
[chuck]:(8:FINER!):  |  | creating context 'out'...
[chuck]:(8:FINER!):  |  | loading context 'out'...
[chuck]:(8:FINER!):  |  |  | pushing existing context '@[global]'...
[chuck]:(10:ALL!!):  |  |  | adding 'Chuck_Context' (0x4f321e0)...
[chuck]:(8:FINER!):  |  | (pass 0) type discovery scan 'out'...
[chuck]:(8:FINER!):  |  |  | target: ALL
[chuck]:(8:FINER!):  |  | (pass 1) type resolution scan  chuck.exe
[chuck]:(8:FINER!):  |  |  | target: ALL
[chuck]:(8:FINER!):  |  | (pass 2) type verification sca chuck.exe has stopped 
working[chuck]:(8:FINER!):  |  |  | target: ALL
[chuck]:(10:ALL!!):  |  |  | adding 'Chuck_Value' (0x4ef A problem caused the 
program to sto
[chuck]:(8:FINER!):  |  | (pass 3) type-checking context will close the program 
and notify you i
[chuck]:(8:FINER!):  |  |  | target: ALL
[chuck]:(8:FINER!):  |  | (pass 4) emitting VM code 'out
[chuck]:(8:FINER!):  |  |  | target: ALL
[chuck]:(10:ALL!!):  |  |  | adding 'Chuck_Object' (0x4e13af0)...
[chuck]:(10:ALL!!):  |  |  | adding 'Chuck_String' (0x4e13af0)...
[chuck]:(10:ALL!!):  |  |  | adding 'Chuck_Object' (0x4e13b58)...
[chuck]:(10:ALL!!):  |  |  | adding 'Chuck_String' (0x4e13b58)...
[chuck]:(8:FINER!):  |  |  | emitting code: 42 VM instructions...
[chuck]:(10:ALL!!):  |  |  | adding 'Chuck_Object' (0x4eee098)...
[chuck]:(10:ALL!!):  |  |  | adding 'Chuck_VM_Code' (0x4eee098)...
[chuck]:(8:FINER!):  |  | committing namespace: 'global'...
[chuck]:(8:FINER!):  |  | unloading context 'out'...
[chuck]:(8:FINER!):  |  |  | restoring context '@[global]'...
[chuck]:(9:FINEST):  |  |  | freeing 'Chuck_Context' (0x4f321e0)...
[chuck]:(7:FINE!!):  |  | sporking 1 instance...
[chuck]:(10:ALL!!):  |  | adding 'Chuck_Object' (0x4f344b8)...
[chuck]:(10:ALL!!):  |  | adding 'Chuck_VM_Shred' (0x4f344b8)...
[chuck]:(5:INFORM): setting thread priority to: 2...
[chuck]:(2:SYSTEM): starting listener on port: 8888...
[chuck]:(2:SYSTEM): running virtual machine...
[chuck]:(3:SEVERE):  | initializing audio buffers...
[chuck]:(3:SEVERE):  | virtual machine running...
[chuck]:(10:ALL!!): adding 'Chuck_Object' (0x4de8058)...
[chuck]:(10:ALL!!): adding 'Chuck_Object' (0x4de8058)...
[chuck]:(9:FINEST): freeing 'Chuck_Object' (0x4de8058)... 


// This is the windows error I get every time chuck crashes (not helpful at 
all):
...
chuck.exe
chuck.exe has stopped working
A problem caused the program to stop working correctly. Windows 
will close the program and notify you if a solution is available.
Close program 
...

// t1.ck
<<<"hello world.">>>;

prompt> chuck --verbose:10 --loop t1
graphic 54  projects - command line - chuck  --verbose:10 --loop t1
[chuck]:(10:ALL!!):  | adding 'Chuck_Object' (0x46de0d8)...
[chuck]:(10:ALL!!):  | adding 'Chuck_UGen' (0x46de0d8)...
[chuck]:(3:SEVERE): pre-loading ChucK libs...
[chuck]:(10:ALL!!): adding 'Chuck_Namespace' (0x46b5760)...
[chuck]:(3:SEVERE): starting compilation...
[chuck]:(7:FINE!!):  | compiling 't1'...
[chuck]:(8:FINER!):  |  | creating context 't1'...
[chuck]:(8:FINER!):  |  | loading context 't1'...
[chuck]:(8:FINER!):  |  |  | pushing existing context '@[global]'...
[chuck]:(10:ALL!!):  |  |  | adding 'Chuck_Context' (0x46e21e0)...
[chuck]:(8:FINER!):  |  | (pass 0) type discovery scan 't1'...
[chuck]:(8:FINER!):  |  |  | target: ALL
[chuck]:(8:FINER!):  |  | (pass 1) type resolution scan 't1'...
[chuck]:(8:FINER!):  |  |  | target: ALL
[chuck]:(8:FINER!):  |  | (pass 2) type verification scan 't1'...
[chuck]:(8:FINER!):  |  |  | target: ALL
[chuck]:(8:FINER!):  |  | (pass 3) type-checking context 't1'...
[chuck]:(8:FINER!):  |  |  | target: ALL
[chuck]:(8:FINER!):  |  | (pass 4) emitting VM code 't1'...
[chuck]:(8:FINER!):  |  |  | target: ALL
[chuck]:(10:ALL!!):  |  |  | adding 'Chuck_Object' (0x45c3af0)...
[chuck]:(10:ALL!!):  |  |  | adding 'Chuck_String' (0x45c3af0)...
[chuck]:(8:FINER!):  |  |  | emitting code: 4 VM instructions...
[chuck]:(10:ALL!!):  |  |  | adding 'Chuck_Object' (0x469e098)...
[chuck]:(10:ALL!!):  |  |  | adding 'Chuck_VM_Code' (0x469e098)...
[chuck]:(8:FINER!):  |  | committing namespace: 'global'...
[chuck]:(8:FINER!):  |  | unloading context 't1'...
[chuck]:(8:FINER!):  |  |  | restoring context '@[global]'...
[chuck]:(9:FINEST):  |  |  | freeing 'Chuck_Context' (0x46e21e0)...
[chuck]:(7:FINE!!):  |  | sporking 1 instance...
[chuck]:(10:ALL!!):  |  | adding 'Chuck_Object' (0x46e4318)...
[chuck]:(10:ALL!!):  |  | adding 'Chuck_VM_Shred' (0x46e4318)...
[chuck]:(5:INFORM): setting thread priority to: 2...
[chuck]:(2:SYSTEM): starting listener on port: 8888...
[chuck]:(2:SYSTEM): running virtual machine...
[chuck]:(3:SEVERE):  | initializing audio buffers...
[chuck]:(3:SEVERE):  | virtual machine running...
"hello world." : (string)
[chuck]:(8:FINER!): freeing shred (id==1 | ptr==046E4318)
[chuck]:(8:FINER!): dumping shred (id==1 | ptr==046E4318)
[chuck]:(8:FINER!): releasing dumped shreds...
[chuck]:(9:FINEST): freeing 'Chuck_VM_Shred' (0x46e4318)...
[chuck]:(3:SEVERE): starting real-time audio...
[chuck]:(5:INFORM): setting thread priority to: 2...
[chuck]:(3:SEVERE): starting real-time watch dog processs...
[chuck]:(5:INFORM):  | watchdog timeout: 0.500000::second
[chuck]:(5:INFORM):  | watchdog thread priority: 2
[chuck]:(5:INFORM):  | watchdog countermeasure priority: -2
[chuck]:(5:INFORM): setting thread priority to: 2... 


// now in other window

prompt> chuck + t1
graphic 54  shell - chuck  --verbose:10 + t1
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Users\rjc\projects\chuck\rich>
C:\Users\rjc\projects\chuck\rich>chuck --verbose:10 + t1
[chuck]:(2:SYSTEM): setting log level to: 10 (ALL!!)...
[chuck]:(5:INFORM): examining otf command '+'...
[chuck]:(5:INFORM): otf connect: 127.0.0.1:8888
[chuck]:(5:INFORM):  | sending file:args 't1' for add...
[chuck]:(5:INFORM):  | sending TCP file t1, size=23
[chuck]:(8:FINER!):  |  | 023 bytes left ...
[chuck]:(8:FINER!):  |  | sending buffer 023 length 023...
[chuck]:(5:INFORM): otf sending request...
[chuck]:(5:INFORM): otf awaiting reply...

// same windows error as before - both processies are killed when "close 
program" is pressed.

_______________________________________________
chuck-users mailing list
[email protected]
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

Reply via email to