Csound Csound-dev Csound-tekno Search About

[Cs-dev] [sitelist-bounces@lists.sourceforge.net: Uncaught bounce notification]

Date2006-12-13 08:43
Fromjpff
Subject[Cs-dev] [sitelist-bounces@lists.sourceforge.net: Uncaught bounce notification]
This message was mis-addressed
------- Start of forwarded message -------
Date: Tue, 12 Dec 2006 20:58:16 +0100
From: Jean-Pierre Lemoine 
To: csound-devel-bounces@lists.sourceforge.net
Subject: Java crash when invaild csd 

Unfortunately users (me) are making mistakes. When csound compiles a bad 
CSD though the java csound APIs, the result is sometimes a Java VM 
crash, not an error return code of the Compile API..

1) an UDO used with a wrong number of parameters
error:  insufficient required arguments, line 207:
kpitch hpkcSeq kfseq, 6.0, 6.02, 6.04, 6.06, 6.08, 6.03, 6.05, 6.07
        instr   100
1 syntax errors in orchestra.  compilation invalid
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77c0554a, pid=484, 
tid=544
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_09-b03 mixed mode, sharing)
# Problematic frame:
# C  [MSVCRT.dll+0x2554a]
#
# An error report file with more information is saved as hs_err_pid484.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
*
2) Specifying the use of a MIDI device that doesn't exist in your system 
is also crashing the VM : -M0 option set in the CSD, in the csOptions 
field, will crash the VM.

Thanks
Jean-Pierre
------- End of forwarded message -------

==John ffitch

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-12-13 09:48
FromVictor Lazzarini
SubjectRe: [Cs-dev] [sitelist-bounces@lists.sourceforge.net: Uncaught bounce notification]
I had the impression that a try --- catch exception handling would have
sorted this out.

Victor

>Unfortunately users (me) are making mistakes. When csound compiles a bad
>CSD though the java csound APIs, the result is sometimes a Java VM
>crash, not an error return code of the Compile API..
>
>1) an UDO used with a wrong number of parameters
>error:  insufficient required arguments, line 207:
>kpitch hpkcSeq kfseq, 6.0, 6.02, 6.04, 6.06, 6.08, 6.03, 6.05, 6.07
>         instr   100
>1 syntax errors in orchestra.  compilation invalid
>#
># An unexpected error has been detected by HotSpot Virtual Machine:
>#
>#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77c0554a, pid=484,
>tid=544
>#
># Java VM: Java HotSpot(TM) Client VM (1.5.0_09-b03 mixed mode, sharing)
># Problematic frame:
># C  [MSVCRT.dll+0x2554a]
>#
># An error report file with more information is saved as hs_err_pid484.log
>#
># If you would like to submit a bug report, please visit:
>#   http://java.sun.com/webapps/bugreport/crash.jsp
>#
>*
>2) Specifying the use of a MIDI device that doesn't exist in your system
>is also crashing the VM : -M0 option set in the CSD, in the csOptions
>field, will crash the VM.
>
>Thanks
>Jean-Pierre
>------- End of forwarded message -------
>
>==John ffitch
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys - and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net