Qusetions about Java API

Hi friends:
Now i am confused with a piece of JAVA API code. It is about getchannel. Do you think there is something wrong with this code?Because It doesn't work in my eclipse IDE.
/_________________________________________________________/
import csnd.Csound;
import csnd.CsoundArgVList;

public class CsoundRun {
private static Csound csound;
private static Csound mixer;

public void play()
{
int ac=1;
float audio[100];
if (csound == null) {
csound = new Csound();
}
if (mixer == null) {
mixer = new Csound();
}

int retVal = csound.Compile("guitar.csd");
if (retval!=0) {
// error state
printf("Failed to compile guitar\n");
return;
}
retVal = mixed.Compile("mixer.csd");
if (retval!=0) {
// error state
printf("Failed to compile mixer\n");
return;
}
csound.SetChannel("freq", 440.0);
csound.SetChannel("amp", -0.3);
csound.SetChannel("length", 3.0);
csound.SetChannel("pluck", 1.0);
mixer.SetChannel("stereo", 0.5);
mixer.SetChannel("chan", ac);
mixer.SetChannel("go", 1);
for (int i=0; i<4*441; i++) {
// Creators
// Any new parameters

csound.PerformKsmps();
csound.GetChannel("audio", audio);
// Consumer
mixer.ChanOAGet(audio, ac);
mixer.PerformKsmps();
}
}
}
/___________________________________________/
I wrote a main class which calls this class
/__________________________________________/

import csnd.*;
import java.lang.System;
import java.io.*;
import java.util.StringTokenizer;
public class CsoundMain {

/**
* @param args
*/
static SWIGTYPE_p_void myvoid;

public static void main(String[] args) {
// TODO Auto-generated method stub

System.out.println("Star to play:");
CsoundRun x = new CsoundRun();
x.play();
System.out.println("Finished!");
return;

}

}
/______________________________________________________/
When I run it the console shows that:
/______________________________________________________/
Star to play:
PortMIDI real time MIDI plugin for Csound
PortAudio real-time audio module for Csound
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.10 (double samples) Jan 9 2009
libsndfile-1.0.18pre20
Reading options from $CSOUNDRC: C:\Program Files\Csound\.csoundrc
UnifiedCSD: guitar.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
orchname: C:\DOCUME~1\DONGXI~1\LOCALS~1\Temp\cs12.orc
scorename: C:\DOCUME~1\DONGXI~1\LOCALS~1\Temp\cs13.sco
rtaudio: PortAudio module enabled ... using callback interface
rtmidi: PortMIDI module enabled
orch compiler:
36 lines read
instr 1
instr 2
instr 99
Elapsed time at end of orchestra compile: real: 0.159s, CPU: 0.156s
sorting score ...
... done
Elapsed time at end of score sort: real: 0.183s, CPU: 0.188s
Csound version 5.10 (double samples) Jan 9 2009
displays suppressed
0dBFS level = 32768.0
orch now loaded
audio buffered in 128 sample-frame blocks
not writing to sound disk
SECTION 1:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77c46fa3, pid=3076, tid=2184
#
# JRE version: 6.0_14-b08
# Java VM: Java HotSpot(TM) Client VM (14.0-b16 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [msvcrt.dll+0x36fa3]
#
# An error report file with more information is saved as:
# C:\Documents and Settings\Dongxiao Zhang\workspace\Csound\hs_err_pid3076.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
PortMIDI real time MIDI plugin for Csound
PortAudio real-time audio module for Csound
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.10 (double samples) Jan 9 2009
libsndfile-1.0.18pre20
Reading options from $CSOUNDRC: C:\Program Files\Csound\.csoundrc
UnifiedCSD: mixer.csd
STARTING FILE
Creating orchestra
Creating score
orchname: C:\DOCUME~1\DONGXI~1\LOCALS~1\Temp\cs15.orc
scorename: C:\DOCUME~1\DONGXI~1\LOCALS~1\Temp\cs16.sco
rtaudio: PortAudio module enabled ... using callback interface
rtmidi: PortMIDI module enabled
orch compiler:
21 lines read
instr 1
instr 2
Elapsed time at end of orchestra compile: real: 0.021s, CPU: 0.016s
sorting score ...
... done
Elapsed time at end of score sort: real: 0.024s, CPU: 0.016s
Csound version 5.10 (double samples) Jan 9 2009
displays suppressed
0dBFS level = 32768.0
orch now loaded
audio buffered in 128 sample-frame blocks
PortAudio V19-devel (built Jan 6 2009 21:14:14)
PortAudio: available output devices:
0: Microsoft Sound Mapper - Output
1: Realtek HD Audio output
2: Primary Sound Driver
3: Realtek HD Audio output
PortAudio: selected output device 'Realtek HD Audio output'
writing 512-byte blks of shorts to dac
SECTION 1:
new alloc for instr 1:
/______________________________________________________________/

So that's all, I have no idea what had happened. The *.csd file is right. I thing the problem is getchannel and setchannel.If this piece of code works, I think I can hear the sound of the instrument. Is there anybody can give me some advices?

Canadian pharmacy z pack zpack cialis uk viagra uk buy zithromax generic viagra ed pills z-pak kamagra uk z pak cialis online ed drugs zpak viagra online generic cialis cheap generic viagra staxyn pharmacy uk z-pack buy viagra uk Canadian pharmacy viagra avanafil