Csound Csound-dev Csound-tekno Search About

java and csoundapi

Date2015-06-22 22:22
Frompeiman khosravi
Subjectjava and csoundapi
AttachmentsNone  None  
Hello,

I'm trying to call csound form within java but I'm getting this error. It seems that csound is trying to run in 32bit mode while java is running at 64. Any ideas?

I'm using the latest installer on os x 10.9.5.

Best,
Peiman

run:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000010e8bb388, pid=12082, tid=5891
#
# JRE version: 7.0_25-b15
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [liblwawt.dylib+0xe388]  JNI_OnLoad+0x96
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/peimankhosravi/NetBeansProjects/Hello World App/hs_err_pid12082.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Java Result: 134
BUILD SUCCESSFUL (total time: 1 second)


Date2015-06-22 22:55
FromAbraão Isvi
SubjectRe: java and csoundapi
AttachmentsNone  None  
Probably you are trying to pass a bad format csound score or orchestra string.

On Mon, Jun 22, 2015 at 6:23 PM peiman khosravi <peimankhosravi@gmail.com> wrote:
Hello,

I'm trying to call csound form within java but I'm getting this error. It seems that csound is trying to run in 32bit mode while java is running at 64. Any ideas?

I'm using the latest installer on os x 10.9.5.

Best,
Peiman

run:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000010e8bb388, pid=12082, tid=5891
#
# JRE version: 7.0_25-b15
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [liblwawt.dylib+0xe388]  JNI_OnLoad+0x96
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/peimankhosravi/NetBeansProjects/Hello World App/hs_err_pid12082.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Java Result: 134
BUILD SUCCESSFUL (total time: 1 second)

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-22 23:03
Frompeiman khosravi
SubjectRe: java and csoundapi
AttachmentsNone  None  
My csd is running on its own. And it' running within java in MaxMSP, when I open max in 32bit mode...


On 22 June 2015 at 22:55, Abraão Isvi <abraao.isvi@gmail.com> wrote:
Probably you are trying to pass a bad format csound score or orchestra string.

On Mon, Jun 22, 2015 at 6:23 PM peiman khosravi <peimankhosravi@gmail.com> wrote:
Hello,

I'm trying to call csound form within java but I'm getting this error. It seems that csound is trying to run in 32bit mode while java is running at 64. Any ideas?

I'm using the latest installer on os x 10.9.5.

Best,
Peiman

run:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000010e8bb388, pid=12082, tid=5891
#
# JRE version: 7.0_25-b15
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [liblwawt.dylib+0xe388]  JNI_OnLoad+0x96
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/peimankhosravi/NetBeansProjects/Hello World App/hs_err_pid12082.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Java Result: 134
BUILD SUCCESSFUL (total time: 1 second)

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here



Date2015-06-23 00:11
Frompeiman khosravi
SubjectRe: java and csoundapi
AttachmentsNone  None  
I think this line points to the problem:

# JRE version: 7.0_25-b15
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [liblwawt.dylib+0xe388]  JNI_OnLoad+0x96


On 22 June 2015 at 23:03, peiman khosravi <peimankhosravi@gmail.com> wrote:
My csd is running on its own. And it' running within java in MaxMSP, when I open max in 32bit mode...


On 22 June 2015 at 22:55, Abraão Isvi <abraao.isvi@gmail.com> wrote:
Probably you are trying to pass a bad format csound score or orchestra string.

On Mon, Jun 22, 2015 at 6:23 PM peiman khosravi <peimankhosravi@gmail.com> wrote:
Hello,

I'm trying to call csound form within java but I'm getting this error. It seems that csound is trying to run in 32bit mode while java is running at 64. Any ideas?

I'm using the latest installer on os x 10.9.5.

Best,
Peiman

run:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000010e8bb388, pid=12082, tid=5891
#
# JRE version: 7.0_25-b15
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [liblwawt.dylib+0xe388]  JNI_OnLoad+0x96
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/peimankhosravi/NetBeansProjects/Hello World App/hs_err_pid12082.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Java Result: 134
BUILD SUCCESSFUL (total time: 1 second)

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here