Csound Csound-dev Csound-tekno Search About

BUG(?) running csound api with 64bit java

Date2015-06-28 13:28
Frompeiman khosravi
SubjectBUG(?) running csound api with 64bit java
AttachmentsNone  None  
Hello,

csound api works fine in 32 bit float java but crashes 64 bit java.

Is this a known issue on OS X? Has anyone tested this lately?

Many Thanks
Peiman

 

Date2015-06-28 13:54
FromVictor Lazzarini
SubjectRe: BUG(?) running csound api with 64bit java
32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 28 Jun 2015, at 13:28, peiman khosravi  wrote:
> 
> Hello, 
> 
> csound api works fine in 32 bit float java but crashes 64 bit java. 
> 
> Is this a known issue on OS X? Has anyone tested this lately?
> 
> Many Thanks
> Peiman
> 
>  
> 
> 
> 
> www.peimankhosravi.co.uk || RSS Feed || Concert News
> ------------------------------------------------------------------------------
> 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-28 14:02
Frompeiman khosravi
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.


On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> Hello,
>
> csound api works fine in 32 bit float java but crashes 64 bit java.
>
> Is this a known issue on OS X? Has anyone tested this lately?
>
> Many Thanks
> Peiman
>
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
> ------------------------------------------------------------------------------
> 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-28 14:05
Frompeiman khosravi
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
This is the error I get in NetBeans as soon as I try to call csound api.

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)


On 28 June 2015 at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.


On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> Hello,
>
> csound api works fine in 32 bit float java but crashes 64 bit java.
>
> Is this a known issue on OS X? Has anyone tested this lately?
>
> Many Thanks
> Peiman
>
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
> ------------------------------------------------------------------------------
> 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-28 14:06
Frompeiman khosravi
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
And it only works in max when I start max in 32bit mode.


On 28 June 2015 at 14:05, peiman khosravi <peimankhosravi@gmail.com> wrote:
This is the error I get in NetBeans as soon as I try to call csound api.

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)


On 28 June 2015 at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.


On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> Hello,
>
> csound api works fine in 32 bit float java but crashes 64 bit java.
>
> Is this a known issue on OS X? Has anyone tested this lately?
>
> Many Thanks
> Peiman
>
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
> ------------------------------------------------------------------------------
> 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-28 14:09
FromVictor Lazzarini
SubjectRe: BUG(?) running csound api with 64bit java
You are confusing 64bit floating point representation with processor architecture (x86_64 or i386). These are
two different things. On OSX, the JNI library (and csound library) are fat binaries, built for both architectures.
So, from that perspective, at least in that system you should be able to run it on either. Windows is i386 only
I think.

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 28 Jun 2015, at 14:02, peiman khosravi  wrote:
> 
> Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
> 
> 
> 
> 
> www.peimankhosravi.co.uk || RSS Feed || Concert News
> 
> On 28 June 2015 at 13:54, Victor Lazzarini  wrote:
> 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
> 
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
> 
> > On 28 Jun 2015, at 13:28, peiman khosravi  wrote:
> >
> > Hello,
> >
> > csound api works fine in 32 bit float java but crashes 64 bit java.
> >
> > Is this a known issue on OS X? Has anyone tested this lately?
> >
> > Many Thanks
> > Peiman
> >
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > ------------------------------------------------------------------------------
> > 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
> 
> ------------------------------------------------------------------------------
> 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-28 14:11
Frompeiman khosravi
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
I see. Thanks Victor.

So what do you think could be the problem here?


On 28 June 2015 at 14:09, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
You are confusing 64bit floating point representation with processor architecture (x86_64 or i386). These are
two different things. On OSX, the JNI library (and csound library) are fat binaries, built for both architectures.
So, from that perspective, at least in that system you should be able to run it on either. Windows is i386 only
I think.

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
> >
> > Hello,
> >
> > csound api works fine in 32 bit float java but crashes 64 bit java.
> >
> > Is this a known issue on OS X? Has anyone tested this lately?
> >
> > Many Thanks
> > Peiman
> >
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > ------------------------------------------------------------------------------
> > 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
>
> ------------------------------------------------------------------------------
> 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-28 14:13
FromVictor Lazzarini
SubjectRe: BUG(?) running csound api with 64bit java
It is complaining about liblwawt, not Csound  

> # Problematic frame:
> # C  [liblwawt.dylib+0xe388]  JNI_OnLoad+0x96


========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 28 Jun 2015, at 14:05, peiman khosravi  wrote:
> 
> This is the error I get in NetBeans as soon as I try to call csound api. 
> 
> 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)
> 
> 
> 
> 
> www.peimankhosravi.co.uk || RSS Feed || Concert News
> 
> On 28 June 2015 at 14:02, peiman khosravi  wrote:
> Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
> 
> 
> 
> 
> www.peimankhosravi.co.uk || RSS Feed || Concert News
> 
> On 28 June 2015 at 13:54, Victor Lazzarini  wrote:
> 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
> 
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
> 
> > On 28 Jun 2015, at 13:28, peiman khosravi  wrote:
> >
> > Hello,
> >
> > csound api works fine in 32 bit float java but crashes 64 bit java.
> >
> > Is this a known issue on OS X? Has anyone tested this lately?
> >
> > Many Thanks
> > Peiman
> >
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > ------------------------------------------------------------------------------
> > 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
> 
> 
> ------------------------------------------------------------------------------
> 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-28 14:14
Frompeiman khosravi
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
This is what's installed here. Perhaps I need to update java runtime?

Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)


On 28 June 2015 at 14:11, peiman khosravi <peimankhosravi@gmail.com> wrote:
I see. Thanks Victor.

So what do you think could be the problem here?


On 28 June 2015 at 14:09, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
You are confusing 64bit floating point representation with processor architecture (x86_64 or i386). These are
two different things. On OSX, the JNI library (and csound library) are fat binaries, built for both architectures.
So, from that perspective, at least in that system you should be able to run it on either. Windows is i386 only
I think.

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
> >
> > Hello,
> >
> > csound api works fine in 32 bit float java but crashes 64 bit java.
> >
> > Is this a known issue on OS X? Has anyone tested this lately?
> >
> > Many Thanks
> > Peiman
> >
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > ------------------------------------------------------------------------------
> > 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
>
> ------------------------------------------------------------------------------
> 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-28 14:21
Frompeiman khosravi
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
But is that being called by Csound?

Now I'm simply trying to compile one of Steven's api examples in the terminal and this is the error I get. If I run any other java code it seems to work.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000012effb388, pid=22228, tid=3847
#
# 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/Desktop/hs_err_pid22228.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.
#
/bin/sh: line 1: 22228 Abort trap: 6           java "Example1"
[Finished in 1.5s with exit code 134]


On 28 June 2015 at 14:13, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
It is complaining about liblwawt, not Csound

> # Problematic frame:
> # C  [liblwawt.dylib+0xe388]  JNI_OnLoad+0x96


========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 14:05, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> This is the error I get in NetBeans as soon as I try to call csound api.
>
> 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)
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
> Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
> >
> > Hello,
> >
> > csound api works fine in 32 bit float java but crashes 64 bit java.
> >
> > Is this a known issue on OS X? Has anyone tested this lately?
> >
> > Many Thanks
> > Peiman
> >
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > ------------------------------------------------------------------------------
> > 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
>
>
> ------------------------------------------------------------------------------
> 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-28 14:23
Frompeiman khosravi
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  


On 28 June 2015 at 14:21, peiman khosravi <peimankhosravi@gmail.com> wrote:
But is that being called by Csound?

Now I'm simply trying to compile one of Steven's api examples in the terminal and this is the error I get. If I run any other java code it seems to work.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000012effb388, pid=22228, tid=3847
#
# 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/Desktop/hs_err_pid22228.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.
#
/bin/sh: line 1: 22228 Abort trap: 6           java "Example1"
[Finished in 1.5s with exit code 134]


On 28 June 2015 at 14:13, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
It is complaining about liblwawt, not Csound

> # Problematic frame:
> # C  [liblwawt.dylib+0xe388]  JNI_OnLoad+0x96


========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 14:05, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> This is the error I get in NetBeans as soon as I try to call csound api.
>
> 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)
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
> Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
> >
> > Hello,
> >
> > csound api works fine in 32 bit float java but crashes 64 bit java.
> >
> > Is this a known issue on OS X? Has anyone tested this lately?
> >
> > Many Thanks
> > Peiman
> >
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > ------------------------------------------------------------------------------
> > 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
>
>
> ------------------------------------------------------------------------------
> 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-28 14:25
Frompeiman khosravi
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
Looks like the bug has been fixed: http://bugs.java.com/view_bug.do?bug_id=8008660

So I'm downloading a new version of java to see what happens.


On 28 June 2015 at 14:23, peiman khosravi <peimankhosravi@gmail.com> wrote:


On 28 June 2015 at 14:21, peiman khosravi <peimankhosravi@gmail.com> wrote:
But is that being called by Csound?

Now I'm simply trying to compile one of Steven's api examples in the terminal and this is the error I get. If I run any other java code it seems to work.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000012effb388, pid=22228, tid=3847
#
# 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/Desktop/hs_err_pid22228.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.
#
/bin/sh: line 1: 22228 Abort trap: 6           java "Example1"
[Finished in 1.5s with exit code 134]


On 28 June 2015 at 14:13, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
It is complaining about liblwawt, not Csound

> # Problematic frame:
> # C  [liblwawt.dylib+0xe388]  JNI_OnLoad+0x96


========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 14:05, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> This is the error I get in NetBeans as soon as I try to call csound api.
>
> 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)
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
> Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
> >
> > Hello,
> >
> > csound api works fine in 32 bit float java but crashes 64 bit java.
> >
> > Is this a known issue on OS X? Has anyone tested this lately?
> >
> > Many Thanks
> > Peiman
> >
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > ------------------------------------------------------------------------------
> > 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
>
>
> ------------------------------------------------------------------------------
> 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-28 14:25
FromVictor Lazzarini
SubjectRe: BUG(?) running csound api with 64bit java
Sorry, but I can’t help you there, it’s too java-specific. 
Maybe you should google liblwawt.dylib and see what it says.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 28 Jun 2015, at 14:14, peiman khosravi  wrote:
> 
> This is what's installed here. Perhaps I need to update java runtime?
> 
> Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
> 
> 
> 
> 
> www.peimankhosravi.co.uk || RSS Feed || Concert News
> 
> On 28 June 2015 at 14:11, peiman khosravi  wrote:
> I see. Thanks Victor. 
> 
> So what do you think could be the problem here?
> 
> 
> 
> 
> www.peimankhosravi.co.uk || RSS Feed || Concert News
> 
> On 28 June 2015 at 14:09, Victor Lazzarini  wrote:
> You are confusing 64bit floating point representation with processor architecture (x86_64 or i386). These are
> two different things. On OSX, the JNI library (and csound library) are fat binaries, built for both architectures.
> So, from that perspective, at least in that system you should be able to run it on either. Windows is i386 only
> I think.
> 
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
> 
> > On 28 Jun 2015, at 14:02, peiman khosravi  wrote:
> >
> > Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> >
> > On 28 June 2015 at 13:54, Victor Lazzarini  wrote:
> > 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
> >
> > ========================
> > Dr Victor Lazzarini
> > Dean of Arts, Celtic Studies and Philosophy,
> > Maynooth University,
> > Maynooth, Co Kildare, Ireland
> > Tel: 00 353 7086936
> > Fax: 00 353 1 7086952
> >
> > > On 28 Jun 2015, at 13:28, peiman khosravi  wrote:
> > >
> > > Hello,
> > >
> > > csound api works fine in 32 bit float java but crashes 64 bit java.
> > >
> > > Is this a known issue on OS X? Has anyone tested this lately?
> > >
> > > Many Thanks
> > > Peiman
> > >
> > >
> > >
> > >
> > >
> > > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > > ------------------------------------------------------------------------------
> > > 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
> >
> > ------------------------------------------------------------------------------
> > 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
> 
> 
> ------------------------------------------------------------------------------
> 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-28 14:27
Frompeiman khosravi
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
Well I don't really know what I'm talking about! I saw it here http://mail.openjdk.java.net/pipermail/macosx-port-dev/2013-July/005806.html


On 28 June 2015 at 14:25, peiman khosravi <peimankhosravi@gmail.com> wrote:
Looks like the bug has been fixed: http://bugs.java.com/view_bug.do?bug_id=8008660

So I'm downloading a new version of java to see what happens.


On 28 June 2015 at 14:23, peiman khosravi <peimankhosravi@gmail.com> wrote:


On 28 June 2015 at 14:21, peiman khosravi <peimankhosravi@gmail.com> wrote:
But is that being called by Csound?

Now I'm simply trying to compile one of Steven's api examples in the terminal and this is the error I get. If I run any other java code it seems to work.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000012effb388, pid=22228, tid=3847
#
# 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/Desktop/hs_err_pid22228.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.
#
/bin/sh: line 1: 22228 Abort trap: 6           java "Example1"
[Finished in 1.5s with exit code 134]


On 28 June 2015 at 14:13, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
It is complaining about liblwawt, not Csound

> # Problematic frame:
> # C  [liblwawt.dylib+0xe388]  JNI_OnLoad+0x96


========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 14:05, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> This is the error I get in NetBeans as soon as I try to call csound api.
>
> 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)
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
> Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
> >
> > Hello,
> >
> > csound api works fine in 32 bit float java but crashes 64 bit java.
> >
> > Is this a known issue on OS X? Has anyone tested this lately?
> >
> > Many Thanks
> > Peiman
> >
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > ------------------------------------------------------------------------------
> > 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
>
>
> ------------------------------------------------------------------------------
> 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-28 14:28
Frompeiman khosravi
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
Thanks. I'm looking it up. will post any results here.


On 28 June 2015 at 14:25, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Sorry, but I can’t help you there, it’s too java-specific.
Maybe you should google liblwawt.dylib and see what it says.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 14:14, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> This is what's installed here. Perhaps I need to update java runtime?
>
> Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:11, peiman khosravi <peimankhosravi@gmail.com> wrote:
> I see. Thanks Victor.
>
> So what do you think could be the problem here?
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:09, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> You are confusing 64bit floating point representation with processor architecture (x86_64 or i386). These are
> two different things. On OSX, the JNI library (and csound library) are fat binaries, built for both architectures.
> So, from that perspective, at least in that system you should be able to run it on either. Windows is i386 only
> I think.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 28 Jun 2015, at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
> >
> > Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> >
> > On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> > 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
> >
> > ========================
> > Dr Victor Lazzarini
> > Dean of Arts, Celtic Studies and Philosophy,
> > Maynooth University,
> > Maynooth, Co Kildare, Ireland
> > Tel: 00 353 7086936
> > Fax: 00 353 1 7086952
> >
> > > On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
> > >
> > > Hello,
> > >
> > > csound api works fine in 32 bit float java but crashes 64 bit java.
> > >
> > > Is this a known issue on OS X? Has anyone tested this lately?
> > >
> > > Many Thanks
> > > Peiman
> > >
> > >
> > >
> > >
> > >
> > > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > > ------------------------------------------------------------------------------
> > > 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
> >
> > ------------------------------------------------------------------------------
> > 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
>
>
> ------------------------------------------------------------------------------
> 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-28 14:35
FromJacques Leplat
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
I had a similar problem inEclipse a few days ago, it happened after I’d installed a fresh version of CSound..

I checked my Eclipse Installed JRE’s, and set my project to use JDK 1.8 (downloaded from Oracle). All works fine now. So maybe try using the latest JDK?

All the best,

Jacques


On 28 Jun 2015, at 15:28, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks. I'm looking it up. will post any results here.


On 28 June 2015 at 14:25, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Sorry, but I can’t help you there, it’s too java-specific.
Maybe you should google liblwawt.dylib and see what it says.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 14:14, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> This is what's installed here. Perhaps I need to update java runtime?
>
> Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:11, peiman khosravi <peimankhosravi@gmail.com> wrote:
> I see. Thanks Victor.
>
> So what do you think could be the problem here?
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:09, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> You are confusing 64bit floating point representation with processor architecture (x86_64 or i386). These are
> two different things. On OSX, the JNI library (and csound library) are fat binaries, built for both architectures.
> So, from that perspective, at least in that system you should be able to run it on either. Windows is i386 only
> I think.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 28 Jun 2015, at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
> >
> > Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> >
> > On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> > 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
> >
> > ========================
> > Dr Victor Lazzarini
> > Dean of Arts, Celtic Studies and Philosophy,
> > Maynooth University,
> > Maynooth, Co Kildare, Ireland
> > Tel: 00 353 7086936
> > Fax: 00 353 1 7086952
> >
> > > On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
> > >
> > > Hello,
> > >
> > > csound api works fine in 32 bit float java but crashes 64 bit java.
> > >
> > > Is this a known issue on OS X? Has anyone tested this lately?
> > >
> > > Many Thanks
> > > Peiman
> > >
> > >
> > >
> > >
> > >
> > > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > > ------------------------------------------------------------------------------
> > > 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
> >
> > ------------------------------------------------------------------------------
> > 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
>
>
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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-28 15:09
Frompeiman khosravi
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
Thanks Jacques. I just downloaded the latest version from Oracle (1.8.0_45-b14) and the same issue. Is that the version you have?


On 28 June 2015 at 14:35, Jacques Leplat <jleplat@j3ltd.com> wrote:
I had a similar problem inEclipse a few days ago, it happened after I’d installed a fresh version of CSound..

I checked my Eclipse Installed JRE’s, and set my project to use JDK 1.8 (downloaded from Oracle). All works fine now. So maybe try using the latest JDK?

All the best,

Jacques



On 28 Jun 2015, at 15:28, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks. I'm looking it up. will post any results here.


On 28 June 2015 at 14:25, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Sorry, but I can’t help you there, it’s too java-specific.
Maybe you should google liblwawt.dylib and see what it says.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 14:14, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> This is what's installed here. Perhaps I need to update java runtime?
>
> Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:11, peiman khosravi <peimankhosravi@gmail.com> wrote:
> I see. Thanks Victor.
>
> So what do you think could be the problem here?
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:09, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> You are confusing 64bit floating point representation with processor architecture (x86_64 or i386). These are
> two different things. On OSX, the JNI library (and csound library) are fat binaries, built for both architectures.
> So, from that perspective, at least in that system you should be able to run it on either. Windows is i386 only
> I think.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 28 Jun 2015, at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
> >
> > Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> >
> > On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> > 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
> >
> > ========================
> > Dr Victor Lazzarini
> > Dean of Arts, Celtic Studies and Philosophy,
> > Maynooth University,
> > Maynooth, Co Kildare, Ireland
> > Tel: 00 353 7086936
> > Fax: 00 353 1 7086952
> >
> > > On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
> > >
> > > Hello,
> > >
> > > csound api works fine in 32 bit float java but crashes 64 bit java.
> > >
> > > Is this a known issue on OS X? Has anyone tested this lately?
> > >
> > > Many Thanks
> > > Peiman
> > >
> > >
> > >
> > >
> > >
> > > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > > ------------------------------------------------------------------------------
> > > 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
> >
> > ------------------------------------------------------------------------------
> > 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
>
>
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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-28 15:13
FromJacques Leplat
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
macz:~ jacquesleplat$ java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
macz:~ jacquesleplat$ 

On 28 Jun 2015, at 16:09, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks Jacques. I just downloaded the latest version from Oracle (1.8.0_45-b14) and the same issue. Is that the version you have?


On 28 June 2015 at 14:35, Jacques Leplat <jleplat@j3ltd.com> wrote:
I had a similar problem inEclipse a few days ago, it happened after I’d installed a fresh version of CSound..

I checked my Eclipse Installed JRE’s, and set my project to use JDK 1.8 (downloaded from Oracle). All works fine now. So maybe try using the latest JDK?

All the best,

Jacques



On 28 Jun 2015, at 15:28, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks. I'm looking it up. will post any results here.


On 28 June 2015 at 14:25, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Sorry, but I can’t help you there, it’s too java-specific.
Maybe you should google liblwawt.dylib and see what it says.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 14:14, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> This is what's installed here. Perhaps I need to update java runtime?
>
> Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:11, peiman khosravi <peimankhosravi@gmail.com> wrote:
> I see. Thanks Victor.
>
> So what do you think could be the problem here?
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:09, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> You are confusing 64bit floating point representation with processor architecture (x86_64 or i386). These are
> two different things. On OSX, the JNI library (and csound library) are fat binaries, built for both architectures.
> So, from that perspective, at least in that system you should be able to run it on either. Windows is i386 only
> I think.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 28 Jun 2015, at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
> >
> > Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> >
> > On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> > 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
> >
> > ========================
> > Dr Victor Lazzarini
> > Dean of Arts, Celtic Studies and Philosophy,
> > Maynooth University,
> > Maynooth, Co Kildare, Ireland
> > Tel: 00 353 7086936
> > Fax: 00 353 1 7086952
> >
> > > On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
> > >
> > > Hello,
> > >
> > > csound api works fine in 32 bit float java but crashes 64 bit java.
> > >
> > > Is this a known issue on OS X? Has anyone tested this lately?
> > >
> > > Many Thanks
> > > Peiman
> > >
> > >
> > >
> > >
> > >
> > > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > > ------------------------------------------------------------------------------
> > > 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
> >
> > ------------------------------------------------------------------------------
> > 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
>
>
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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-28 15:13
FromJacques Leplat
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
Have you set your project to run using that JDK?

On 28 Jun 2015, at 16:09, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks Jacques. I just downloaded the latest version from Oracle (1.8.0_45-b14) and the same issue. Is that the version you have?


On 28 June 2015 at 14:35, Jacques Leplat <jleplat@j3ltd.com> wrote:
I had a similar problem inEclipse a few days ago, it happened after I’d installed a fresh version of CSound..

I checked my Eclipse Installed JRE’s, and set my project to use JDK 1.8 (downloaded from Oracle). All works fine now. So maybe try using the latest JDK?

All the best,

Jacques



On 28 Jun 2015, at 15:28, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks. I'm looking it up. will post any results here.


On 28 June 2015 at 14:25, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Sorry, but I can’t help you there, it’s too java-specific.
Maybe you should google liblwawt.dylib and see what it says.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 14:14, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> This is what's installed here. Perhaps I need to update java runtime?
>
> Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:11, peiman khosravi <peimankhosravi@gmail.com> wrote:
> I see. Thanks Victor.
>
> So what do you think could be the problem here?
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:09, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> You are confusing 64bit floating point representation with processor architecture (x86_64 or i386). These are
> two different things. On OSX, the JNI library (and csound library) are fat binaries, built for both architectures.
> So, from that perspective, at least in that system you should be able to run it on either. Windows is i386 only
> I think.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 28 Jun 2015, at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
> >
> > Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> >
> > On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> > 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
> >
> > ========================
> > Dr Victor Lazzarini
> > Dean of Arts, Celtic Studies and Philosophy,
> > Maynooth University,
> > Maynooth, Co Kildare, Ireland
> > Tel: 00 353 7086936
> > Fax: 00 353 1 7086952
> >
> > > On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
> > >
> > > Hello,
> > >
> > > csound api works fine in 32 bit float java but crashes 64 bit java.
> > >
> > > Is this a known issue on OS X? Has anyone tested this lately?
> > >
> > > Many Thanks
> > > Peiman
> > >
> > >
> > >
> > >
> > >
> > > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > > ------------------------------------------------------------------------------
> > > 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
> >
> > ------------------------------------------------------------------------------
> > 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
>
>
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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-28 15:19
Frompeiman khosravi
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
Thanks. Strange.

I'm just running it in the terminal. It's a single file. Shouldn't this do it?

peimans-air:Desktop peimankhosravi$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
peimans-air:Desktop peimankhosravi$ javac Example1.java
peimans-air:Desktop peimankhosravi$ java Example1
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000019671e875, pid=377, tid=3335
#
# JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [libawt_lwawt.dylib+0x44875]  JNI_OnLoad+0x91
#
# 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/Desktop/hs_err_pid377.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Abort trap: 6
peimans-air:Desktop peimankhosravi$







On 28 June 2015 at 15:13, Jacques Leplat <jleplat@j3ltd.com> wrote:
Have you set your project to run using that JDK?

On 28 Jun 2015, at 16:09, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks Jacques. I just downloaded the latest version from Oracle (1.8.0_45-b14) and the same issue. Is that the version you have?


On 28 June 2015 at 14:35, Jacques Leplat <jleplat@j3ltd.com> wrote:
I had a similar problem inEclipse a few days ago, it happened after I’d installed a fresh version of CSound..

I checked my Eclipse Installed JRE’s, and set my project to use JDK 1.8 (downloaded from Oracle). All works fine now. So maybe try using the latest JDK?

All the best,

Jacques



On 28 Jun 2015, at 15:28, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks. I'm looking it up. will post any results here.


On 28 June 2015 at 14:25, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Sorry, but I can’t help you there, it’s too java-specific.
Maybe you should google liblwawt.dylib and see what it says.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 14:14, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> This is what's installed here. Perhaps I need to update java runtime?
>
> Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:11, peiman khosravi <peimankhosravi@gmail.com> wrote:
> I see. Thanks Victor.
>
> So what do you think could be the problem here?
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:09, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> You are confusing 64bit floating point representation with processor architecture (x86_64 or i386). These are
> two different things. On OSX, the JNI library (and csound library) are fat binaries, built for both architectures.
> So, from that perspective, at least in that system you should be able to run it on either. Windows is i386 only
> I think.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 28 Jun 2015, at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
> >
> > Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> >
> > On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> > 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
> >
> > ========================
> > Dr Victor Lazzarini
> > Dean of Arts, Celtic Studies and Philosophy,
> > Maynooth University,
> > Maynooth, Co Kildare, Ireland
> > Tel: 00 353 7086936
> > Fax: 00 353 1 7086952
> >
> > > On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
> > >
> > > Hello,
> > >
> > > csound api works fine in 32 bit float java but crashes 64 bit java.
> > >
> > > Is this a known issue on OS X? Has anyone tested this lately?
> > >
> > > Many Thanks
> > > Peiman
> > >
> > >
> > >
> > >
> > >
> > > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > > ------------------------------------------------------------------------------
> > > 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
> >
> > ------------------------------------------------------------------------------
> > 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
>
>
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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-28 15:48
FromJacques Leplat
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
The jdk looks correct to me. Is the correct csound.jar being used? Sometimes I update csound and forget to point to the new caound jar

Hope this helps


On 28 Jun 2015, at 16:19, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks. Strange.

I'm just running it in the terminal. It's a single file. Shouldn't this do it?

peimans-air:Desktop peimankhosravi$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
peimans-air:Desktop peimankhosravi$ javac Example1.java
peimans-air:Desktop peimankhosravi$ java Example1
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000019671e875, pid=377, tid=3335
#
# JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [libawt_lwawt.dylib+0x44875]  JNI_OnLoad+0x91
#
# 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/Desktop/hs_err_pid377.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Abort trap: 6
peimans-air:Desktop peimankhosravi$







On 28 June 2015 at 15:13, Jacques Leplat <jleplat@j3ltd.com> wrote:
Have you set your project to run using that JDK?

On 28 Jun 2015, at 16:09, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks Jacques. I just downloaded the latest version from Oracle (1.8.0_45-b14) and the same issue. Is that the version you have?


On 28 June 2015 at 14:35, Jacques Leplat <jleplat@j3ltd.com> wrote:
I had a similar problem inEclipse a few days ago, it happened after I’d installed a fresh version of CSound..

I checked my Eclipse Installed JRE’s, and set my project to use JDK 1.8 (downloaded from Oracle). All works fine now. So maybe try using the latest JDK?

All the best,

Jacques



On 28 Jun 2015, at 15:28, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks. I'm looking it up. will post any results here.


On 28 June 2015 at 14:25, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Sorry, but I can’t help you there, it’s too java-specific.
Maybe you should google liblwawt.dylib and see what it says.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 14:14, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> This is what's installed here. Perhaps I need to update java runtime?
>
> Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:11, peiman khosravi <peimankhosravi@gmail.com> wrote:
> I see. Thanks Victor.
>
> So what do you think could be the problem here?
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:09, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> You are confusing 64bit floating point representation with processor architecture (x86_64 or i386). These are
> two different things. On OSX, the JNI library (and csound library) are fat binaries, built for both architectures.
> So, from that perspective, at least in that system you should be able to run it on either. Windows is i386 only
> I think.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 28 Jun 2015, at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
> >
> > Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> >
> > On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> > 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
> >
> > ========================
> > Dr Victor Lazzarini
> > Dean of Arts, Celtic Studies and Philosophy,
> > Maynooth University,
> > Maynooth, Co Kildare, Ireland
> > Tel: 00 353 7086936
> > Fax: 00 353 1 7086952
> >
> > > On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
> > >
> > > Hello,
> > >
> > > csound api works fine in 32 bit float java but crashes 64 bit java.
> > >
> > > Is this a known issue on OS X? Has anyone tested this lately?
> > >
> > > Many Thanks
> > > Peiman
> > >
> > >
> > >
> > >
> > >
> > > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > > ------------------------------------------------------------------------------
> > > 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
> >
> > ------------------------------------------------------------------------------
> > 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
>
>
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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-28 15:53
Frompeiman khosravi
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
That's a good point. Let me do a clean reistall of csound.


On 28 June 2015 at 15:48, Jacques Leplat <jleplat@j3ltd.com> wrote:
The jdk looks correct to me. Is the correct csound.jar being used? Sometimes I update csound and forget to point to the new caound jar

Hope this helps


On 28 Jun 2015, at 16:19, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks. Strange.

I'm just running it in the terminal. It's a single file. Shouldn't this do it?

peimans-air:Desktop peimankhosravi$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
peimans-air:Desktop peimankhosravi$ javac Example1.java
peimans-air:Desktop peimankhosravi$ java Example1
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000019671e875, pid=377, tid=3335
#
# JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [libawt_lwawt.dylib+0x44875]  JNI_OnLoad+0x91
#
# 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/Desktop/hs_err_pid377.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Abort trap: 6
peimans-air:Desktop peimankhosravi$







On 28 June 2015 at 15:13, Jacques Leplat <jleplat@j3ltd.com> wrote:
Have you set your project to run using that JDK?

On 28 Jun 2015, at 16:09, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks Jacques. I just downloaded the latest version from Oracle (1.8.0_45-b14) and the same issue. Is that the version you have?


On 28 June 2015 at 14:35, Jacques Leplat <jleplat@j3ltd.com> wrote:
I had a similar problem inEclipse a few days ago, it happened after I’d installed a fresh version of CSound..

I checked my Eclipse Installed JRE’s, and set my project to use JDK 1.8 (downloaded from Oracle). All works fine now. So maybe try using the latest JDK?

All the best,

Jacques



On 28 Jun 2015, at 15:28, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks. I'm looking it up. will post any results here.


On 28 June 2015 at 14:25, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Sorry, but I can’t help you there, it’s too java-specific.
Maybe you should google liblwawt.dylib and see what it says.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 14:14, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> This is what's installed here. Perhaps I need to update java runtime?
>
> Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:11, peiman khosravi <peimankhosravi@gmail.com> wrote:
> I see. Thanks Victor.
>
> So what do you think could be the problem here?
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:09, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> You are confusing 64bit floating point representation with processor architecture (x86_64 or i386). These are
> two different things. On OSX, the JNI library (and csound library) are fat binaries, built for both architectures.
> So, from that perspective, at least in that system you should be able to run it on either. Windows is i386 only
> I think.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 28 Jun 2015, at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
> >
> > Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> >
> > On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> > 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
> >
> > ========================
> > Dr Victor Lazzarini
> > Dean of Arts, Celtic Studies and Philosophy,
> > Maynooth University,
> > Maynooth, Co Kildare, Ireland
> > Tel: 00 353 7086936
> > Fax: 00 353 1 7086952
> >
> > > On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
> > >
> > > Hello,
> > >
> > > csound api works fine in 32 bit float java but crashes 64 bit java.
> > >
> > > Is this a known issue on OS X? Has anyone tested this lately?
> > >
> > > Many Thanks
> > > Peiman
> > >
> > >
> > >
> > >
> > >
> > > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > > ------------------------------------------------------------------------------
> > > 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
> >
> > ------------------------------------------------------------------------------
> > 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
>
>
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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-28 15:58
Frompeiman khosravi
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
I just replaced the installed jar with the jar file that's inside the blue application/ package and all works.




On 28 June 2015 at 15:48, Jacques Leplat <jleplat@j3ltd.com> wrote:
The jdk looks correct to me. Is the correct csound.jar being used? Sometimes I update csound and forget to point to the new caound jar

Hope this helps


On 28 Jun 2015, at 16:19, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks. Strange.

I'm just running it in the terminal. It's a single file. Shouldn't this do it?

peimans-air:Desktop peimankhosravi$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
peimans-air:Desktop peimankhosravi$ javac Example1.java
peimans-air:Desktop peimankhosravi$ java Example1
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000019671e875, pid=377, tid=3335
#
# JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [libawt_lwawt.dylib+0x44875]  JNI_OnLoad+0x91
#
# 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/Desktop/hs_err_pid377.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Abort trap: 6
peimans-air:Desktop peimankhosravi$







On 28 June 2015 at 15:13, Jacques Leplat <jleplat@j3ltd.com> wrote:
Have you set your project to run using that JDK?

On 28 Jun 2015, at 16:09, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks Jacques. I just downloaded the latest version from Oracle (1.8.0_45-b14) and the same issue. Is that the version you have?


On 28 June 2015 at 14:35, Jacques Leplat <jleplat@j3ltd.com> wrote:
I had a similar problem inEclipse a few days ago, it happened after I’d installed a fresh version of CSound..

I checked my Eclipse Installed JRE’s, and set my project to use JDK 1.8 (downloaded from Oracle). All works fine now. So maybe try using the latest JDK?

All the best,

Jacques



On 28 Jun 2015, at 15:28, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks. I'm looking it up. will post any results here.


On 28 June 2015 at 14:25, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Sorry, but I can’t help you there, it’s too java-specific.
Maybe you should google liblwawt.dylib and see what it says.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 14:14, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> This is what's installed here. Perhaps I need to update java runtime?
>
> Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:11, peiman khosravi <peimankhosravi@gmail.com> wrote:
> I see. Thanks Victor.
>
> So what do you think could be the problem here?
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:09, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> You are confusing 64bit floating point representation with processor architecture (x86_64 or i386). These are
> two different things. On OSX, the JNI library (and csound library) are fat binaries, built for both architectures.
> So, from that perspective, at least in that system you should be able to run it on either. Windows is i386 only
> I think.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 28 Jun 2015, at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
> >
> > Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> >
> > On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> > 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
> >
> > ========================
> > Dr Victor Lazzarini
> > Dean of Arts, Celtic Studies and Philosophy,
> > Maynooth University,
> > Maynooth, Co Kildare, Ireland
> > Tel: 00 353 7086936
> > Fax: 00 353 1 7086952
> >
> > > On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
> > >
> > > Hello,
> > >
> > > csound api works fine in 32 bit float java but crashes 64 bit java.
> > >
> > > Is this a known issue on OS X? Has anyone tested this lately?
> > >
> > > Many Thanks
> > > Peiman
> > >
> > >
> > >
> > >
> > >
> > > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > > ------------------------------------------------------------------------------
> > > 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
> >
> > ------------------------------------------------------------------------------
> > 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
>
>
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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-28 16:04
Frompeiman khosravi
SubjectRe: BUG(?) running csound api with 64bit java
AttachmentsNone  None  
No false notice. Something's not right. Will keep investigating.


On 28 June 2015 at 15:58, peiman khosravi <peimankhosravi@gmail.com> wrote:
I just replaced the installed jar with the jar file that's inside the blue application/ package and all works.




On 28 June 2015 at 15:48, Jacques Leplat <jleplat@j3ltd.com> wrote:
The jdk looks correct to me. Is the correct csound.jar being used? Sometimes I update csound and forget to point to the new caound jar

Hope this helps


On 28 Jun 2015, at 16:19, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks. Strange.

I'm just running it in the terminal. It's a single file. Shouldn't this do it?

peimans-air:Desktop peimankhosravi$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
peimans-air:Desktop peimankhosravi$ javac Example1.java
peimans-air:Desktop peimankhosravi$ java Example1
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000019671e875, pid=377, tid=3335
#
# JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [libawt_lwawt.dylib+0x44875]  JNI_OnLoad+0x91
#
# 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/Desktop/hs_err_pid377.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Abort trap: 6
peimans-air:Desktop peimankhosravi$







On 28 June 2015 at 15:13, Jacques Leplat <jleplat@j3ltd.com> wrote:
Have you set your project to run using that JDK?

On 28 Jun 2015, at 16:09, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks Jacques. I just downloaded the latest version from Oracle (1.8.0_45-b14) and the same issue. Is that the version you have?


On 28 June 2015 at 14:35, Jacques Leplat <jleplat@j3ltd.com> wrote:
I had a similar problem inEclipse a few days ago, it happened after I’d installed a fresh version of CSound..

I checked my Eclipse Installed JRE’s, and set my project to use JDK 1.8 (downloaded from Oracle). All works fine now. So maybe try using the latest JDK?

All the best,

Jacques



On 28 Jun 2015, at 15:28, peiman khosravi <peimankhosravi@gmail.com> wrote:

Thanks. I'm looking it up. will post any results here.


On 28 June 2015 at 14:25, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Sorry, but I can’t help you there, it’s too java-specific.
Maybe you should google liblwawt.dylib and see what it says.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 28 Jun 2015, at 14:14, peiman khosravi <peimankhosravi@gmail.com> wrote:
>
> This is what's installed here. Perhaps I need to update java runtime?
>
> Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:11, peiman khosravi <peimankhosravi@gmail.com> wrote:
> I see. Thanks Victor.
>
> So what do you think could be the problem here?
>
>
>
>
> www.peimankhosravi.co.uk || RSS Feed || Concert News
>
> On 28 June 2015 at 14:09, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> You are confusing 64bit floating point representation with processor architecture (x86_64 or i386). These are
> two different things. On OSX, the JNI library (and csound library) are fat binaries, built for both architectures.
> So, from that perspective, at least in that system you should be able to run it on either. Windows is i386 only
> I think.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
> > On 28 Jun 2015, at 14:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
> >
> > Csound is running at 64 bit but the api only works inside java when I run java itself in 32 bit mode.
> >
> >
> >
> >
> > www.peimankhosravi.co.uk || RSS Feed || Concert News
> >
> > On 28 June 2015 at 13:54, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> > 32 bit float Java? We only distribute 64bit (doubles) these days (desktop platforms), e.g CsoundLib64.framework.
> >
> > ========================
> > Dr Victor Lazzarini
> > Dean of Arts, Celtic Studies and Philosophy,
> > Maynooth University,
> > Maynooth, Co Kildare, Ireland
> > Tel: 00 353 7086936
> > Fax: 00 353 1 7086952
> >
> > > On 28 Jun 2015, at 13:28, peiman khosravi <peimankhosravi@gmail.com> wrote:
> > >
> > > Hello,
> > >
> > > csound api works fine in 32 bit float java but crashes 64 bit java.
> > >
> > > Is this a known issue on OS X? Has anyone tested this lately?
> > >
> > > Many Thanks
> > > Peiman
> > >
> > >
> > >
> > >
> > >
> > > www.peimankhosravi.co.uk || RSS Feed || Concert News
> > > ------------------------------------------------------------------------------
> > > 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
> >
> > ------------------------------------------------------------------------------
> > 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
>
>
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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