Can you please recompile your program with -DEBUG, (e.g. "x10c++ -DEBUG placetest.x10"), enable coredumps on your system, and send the coredump to us? This will help us to determine which part of the code has the error.
There might be some incompatibility between X10 and the version of g++, libc, or some other library on your system. Exactly which Debian release are you running, and which g++ compiler are you using? - Ben From: Mohammad Ahmadzadeh <moh...@gmail.com> To: x10-users@lists.sourceforge.net, Date: 02/21/2013 05:10 PM Subject: [X10-users] X10 Segmentation fault on a 64bit Debian OS Hi I'm completely new to the X10 language and I tried the following code and I get a segmentation fault when using more than one Place. I get the same error when running X10's Monte Carlo sample with more than one Place. I am using X10 version 2.3 on a 64bit Debian Linux on a Core i7 2Ghz processor. The weird thing is that the code works fine on an Ubuntu 10.04 32 bit on a Core 2 Duo Vaio Laptop. import x10.util.Timer; public class placetest{ public static def main(args: Array[String](1)){ finish for(var i:Int=1;i<=4;i++){ val ii = i; val pk = Place.place(ii); val k = 1; async at(pk) count(k); } Console.OUT.println("Finished"); } public static def count(i:Int){ Console.OUT.println("Test" + i); } } BTW, this only happens when I send a val parameter to the count function. Any help is greatly appreciated. It's driving me nuts. -- Regards Mo.A. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users
<<inline: graycol.gif>>
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users