Fwd: chuck 1.3.1 on Windows 32-bit - possible OSC issue - update re: 1.3.1.1
Hi
I've tried r.ck and s.ck on 1.3.1.1 and am getting the same issues as
before. Either Chuck crashes immediately or soon after adding s.ck... or if
things proceed, removing r.ck causes the crash. And it does seem the longer
you leave things running, the more certain you'll get a crash when
removing r.ck.
Ditto for my own patches using OSC... although there have been times when
things have run on for a bit without crashing near, or at, the very
beginning.. which wasn't the case with 1.3.1.0. If things do get going
there are two specific places where things go then awry.. at the first
place the sound breaks down into "white noise" for a few seconds but the
shreds continue unabated... the second place occurs a few seconds later
with a "proper" crash. I only mention the first of these because I've never
had happen at that point with previous versions of Chuck. To my eyes at
least nothing particular stands out in the code at these points other than
there are a lot of shreds active. Also, I've had the "OutOfMemory: while
allocating stack" error message a couple of times.
I'm not sure if the above is the sort of information that helps... but if
there is anything I can do to provide additional info, please let me know.
Simon
---------- Forwarded message ----------
From: Simon Steptoe
Hi Simon!
I've tried r.ck and s.ck on 1.3.1.1 and am getting the same issues as before. Either Chuck crashes immediately or soon after adding s.ck... or if things proceed, removing r.ck causes the crash. And it does seem the longer you leave things running, the more certain you'll get a crash when removing r.ck.
Ditto for my own patches using OSC... although there have been times when things have run on for a bit without crashing near, or at, the very beginning.. which wasn't the case with 1.3.1.0. If things do get going there are two specific places where things go then awry.. at the first place the sound breaks down into "white noise" for a few seconds but the shreds continue unabated... the second place occurs a few seconds later with a "proper" crash. I only mention the first of these because I've never had happen at that point with previous versions of Chuck. To my eyes at least nothing particular stands out in the code at these points other than there are a lot of shreds active. Also, I've had the "OutOfMemory: while allocating stack" error message a couple of times.
I'm not sure if the above is the sort of information that helps... but if there is anything I can do to provide additional info, please let me know.
This is super helpful - we'll look into it starting on windows 32-bit (s.ck and r.ck seems OK on OS X). Thank you! Ge!
---------- Forwarded message ---------- From: Simon Steptoe
Date: 11 September 2012 09:45 Subject: chuck 1.3.1 on Windows 32-bit - possible OSC issue To: chuck-users@lists.cs.princeton.edu Some of my existing patches are causing Chuck 1.3.1 to lock-up and crash. I think I've traced it back to a possible OSC issue as the example files s.ck and r.ck seem to cause the same problem... which would make sense in that my affected patches are also using OSC events. If the patch gets going at all, removing the shred(s) also causes a crash. OSC_send.ck and OSC_recv.ck however seem to work fine.
On my own patches I can sometimes catch the error message; "OutOfMemory: while allocating stack"... increasing buffer size and/or decreasing sample rate seem to alleviate the problem somewhat in that things keep running a few seconds longer, but eventually the result is the same. However, I guess this might not be the same issue as with s.ck and r.ck. Running Chuck with --silent doesn't resolve things either.
My machine is Windows 7, 32-bit... to be fair it is a bit on the old side (Pentium 4)... but it's coped fine with previous versions of Chuck and miniAudicle.... and I can't replicate the issue with Chuck 1.3.0.2.
Many thanks.
Simon
Hi Simon!
I've tried r.ck and s.ck on 1.3.1.1 and am getting the same issues as before. Either Chuck crashes immediately or soon after adding s.ck... or if things proceed, removing r.ck causes the crash. And it does seem the longer you leave things running, the more certain you'll get a crash when removing r.ck.
This is super helpful - we'll look into it starting on windows 32-bit (s.ck and r.ck seems OK on OS X). Thank you!
Alrighty, we've found at least one issue that was definitely a potential culprit on 32-bit (all os) and only since the 64-bit release. basically, float and complex local variables where not being properly popped from the operand stack correctly. I uploaded a build (1.3.1.2-rc1) for you as well as for Michael and anyone else who may want to test particular issues: http://chuck.stanford.edu/stuff/chuck-1.3.1.2-rc1.zip It includes a win32 build and an osx64 build, as well as source for all supported platforms. If you'd like, please give it a spin! Thanks! Ge!
---------- Forwarded message ---------- From: Simon Steptoe
Date: 11 September 2012 09:45 Subject: chuck 1.3.1 on Windows 32-bit - possible OSC issue To: chuck-users@lists.cs.princeton.edu Some of my existing patches are causing Chuck 1.3.1 to lock-up and crash. I think I've traced it back to a possible OSC issue as the example files s.ck and r.ck seem to cause the same problem... which would make sense in that my affected patches are also using OSC events. If the patch gets going at all, removing the shred(s) also causes a crash. OSC_send.ck and OSC_recv.ck however seem to work fine.
On my own patches I can sometimes catch the error message; "OutOfMemory: while allocating stack"... increasing buffer size and/or decreasing sample rate seem to alleviate the problem somewhat in that things keep running a few seconds longer, but eventually the result is the same. However, I guess this might not be the same issue as with s.ck and r.ck. Running Chuck with --silent doesn't resolve things either.
My machine is Windows 7, 32-bit... to be fair it is a bit on the old side (Pentium 4)... but it's coped fine with previous versions of Chuck and miniAudicle.... and I can't replicate the issue with Chuck 1.3.0.2.
Many thanks.
Simon
I'm getting an issue where everything I try to run fails in the following way. I have an old version of chuck around and that runs just fine. I'm on win7 thinkpad laptop. Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\rjc\projects\chuck\rich>chuck foo>out.txt [chuck]: unable to find audio input device with requested channel count (2) [chuck]: cannot initialize audio device (try using --silent/-s) C:\Users\rjc\projects\chuck\rich>chuck --probe [chuck]: found 2 device(s) ... [chuck]: ------( chuck -- dac1 )--------------- [chuck]: device name = "Default Device" [chuck]: probe [success] ... [chuck]: # output channels = 2 [chuck]: # input channels = 0 [chuck]: # duplex Channels = 0 [chuck]: default output = YES [chuck]: default input = NO [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: supported sample rates: [chuck]: 4000 Hz [chuck]: 5512 Hz [chuck]: 8000 Hz [chuck]: 9600 Hz [chuck]: 11025 Hz [chuck]: 16000 Hz [chuck]: 22050 Hz [chuck]: 32000 Hz [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: 176400 Hz [chuck]: 192000 Hz [chuck]: [chuck]: ------( chuck -- dac2 )--------------- [chuck]: device name = "Speakers (SoundMAX Integrated Digital HD Audio)" [chuck]: probe [success] ... [chuck]: # output channels = 2 [chuck]: # input channels = 0 [chuck]: # duplex Channels = 0 [chuck]: default output = NO [chuck]: default input = NO [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: supported sample rates: [chuck]: 4000 Hz [chuck]: 5512 Hz [chuck]: 8000 Hz [chuck]: 9600 Hz [chuck]: 11025 Hz [chuck]: 16000 Hz [chuck]: 22050 Hz [chuck]: 32000 Hz [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: 176400 Hz [chuck]: 192000 Hz [chuck]: [chuck]: [chuck](via RtMidi): RtMidiIn::initialize: no MIDI input devices currently avail able. [chuck]: ------( chuck -- 0 MIDI inputs )------ [chuck]: [chuck]: ------( chuck -- 1 MIDI outputs )----- [chuck]: [0] : "Microsoft GS Wavetable Synth" [chuck]: C:\Users\rjc\projects\chuck\rich>
Hi Rich! Thanks for the email! I think we may have fixed this issue (the logic was changed a bit when we updated to the new RtAudio in 1.3.0.0), though I don't have a good way to test it. We'll roll the potential fix in the soon to come release - when that happens, please let us know if you run into the same issues. Stay tuned! Ge! On Fri, 14 Sep 2012, Rich Caloggero wrote:
I'm getting an issue where everything I try to run fails in the following way. I have an old version of chuck around and that runs just fine. I'm on win7 thinkpad laptop.
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\rjc\projects\chuck\rich>chuck foo>out.txt [chuck]: unable to find audio input device with requested channel count (2) [chuck]: cannot initialize audio device (try using --silent/-s)
C:\Users\rjc\projects\chuck\rich>chuck --probe [chuck]: found 2 device(s) ... [chuck]: ------( chuck -- dac1 )--------------- [chuck]: device name = "Default Device" [chuck]: probe [success] ... [chuck]: # output channels = 2 [chuck]: # input channels = 0 [chuck]: # duplex Channels = 0 [chuck]: default output = YES [chuck]: default input = NO [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: supported sample rates: [chuck]: 4000 Hz [chuck]: 5512 Hz [chuck]: 8000 Hz [chuck]: 9600 Hz [chuck]: 11025 Hz [chuck]: 16000 Hz [chuck]: 22050 Hz [chuck]: 32000 Hz [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: 176400 Hz [chuck]: 192000 Hz [chuck]: [chuck]: ------( chuck -- dac2 )--------------- [chuck]: device name = "Speakers (SoundMAX Integrated Digital HD Audio)" [chuck]: probe [success] ... [chuck]: # output channels = 2 [chuck]: # input channels = 0 [chuck]: # duplex Channels = 0 [chuck]: default output = NO [chuck]: default input = NO [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: supported sample rates: [chuck]: 4000 Hz [chuck]: 5512 Hz [chuck]: 8000 Hz [chuck]: 9600 Hz [chuck]: 11025 Hz [chuck]: 16000 Hz [chuck]: 22050 Hz [chuck]: 32000 Hz [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: 176400 Hz [chuck]: 192000 Hz [chuck]: [chuck]: [chuck](via RtMidi): RtMidiIn::initialize: no MIDI input devices currently avail able. [chuck]: ------( chuck -- 0 MIDI inputs )------ [chuck]: [chuck]: ------( chuck -- 1 MIDI outputs )----- [chuck]: [0] : "Microsoft GS Wavetable Synth" [chuck]:
C:\Users\rjc\projects\chuck\rich> _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (3)
-
Ge Wang
-
Rich Caloggero
-
Simon Steptoe