Csound Csound-dev Csound-tekno Search About

[Csnd] Pared down example of Python-Csound Windows problem

Date2009-05-29 22:30
FromChuckk Hubbard
Subject[Csnd] Pared down example of Python-Csound Windows problem
I posted a different version of this before and it seemed there was no
problem on Vista; I since found that someone else who was trying to
run my program on XP (which is what I have) was having the same error
message as me.
It doesn't interfere with the operation of anything, and in fact only
happens right when the child process is closing; but one must click on
OK on the error message in order to proceed, which gets to be like
listening to the faucet drip all night.

For this example, check the audio options just to be sure, and then
hit PLAY followed by STOP after a second or two. That's when I get the
error.

I've commented pretty thoroughly, and I'm pretty sure the problem
happens in either the play() or stop() function of csdproblem.py, or
in the marked if clause in csdproblemaudio.py.

The error reads:
"""The instruction at "0x7c9104fa" referenced memory at "0xfffffffd".
The memory could not be "read".
Click on OK to terminate the program"""
The window says python.exe Application error, but I believe it would
read this anyway, as no Csound process actually runs.

I and the other fellow are both using Csound Windows binaries for 5.10
Can anyone else running XP confirm this?

Thanks a lot.
-Chuckk

-- 
http://www.badmuthahubbard.com

Date2009-05-29 22:34
FromChuckk Hubbard
Subject[Csnd] Re: Pared down example of Python-Csound Windows problem
Attachmentscsdproblem.zip  
The file.