On Mon, Jul 12, 2010 at 10:35:25AM +0530, ravi shetye wrote: > Thanks Olaf, there has been some progress because of your last reply > however now i have another issue. > > on machine1 i ran > hosts = ["machine1","machine2"] > sockets = connect(hosts) > > sockets = > > 0 0 0 > 6 5 1234 > > however on machine2 on which i had run the command octave > /usr/local/share/octave/packages/parallel-2.0.1/server.m , > crashes with the following error message and trace > > > *** buffer overflow detected ***: octave terminated > ======= Backtrace: ========= > /lib/libc.so.6(__fortify_fail+0x37)[0x7fd281f3d1a7] > /lib/libc.so.6(+0xfe060)[0x7fd281f3c060] > /lib/libc.so.6(+0xfd4c9)[0x7fd281f3b4c9] > /lib/libc.so.6(_IO_default_xsputn+0xcc)[0x7fd281eb3d1c] > /lib/libc.so.6(_IO_vfprintf+0xf3e)[0x7fd281e842de] > /lib/libc.so.6(__vsprintf_chk+0x99)[0x7fd281f3b569] > /lib/libc.so.6(__sprintf_chk+0x7f)[0x7fd281f3b4af] > /usr/local/libexec/octave/packages/parallel-2.0.1/x86_64-unknown-linux-gnu-api-v37/pserver.oct(_Z8FpserverRK17octave_value_listi+0xdbb)[0x7fd27e99494b] > /usr/local/lib/octave-3.2.4/liboctinterp.so(_ZN14octave_builtin17do_multi_index_opEiRK17octave_value_list+0x276)[0x7fd284e7f486] > /usr/local/lib/octave-3.2.4/liboctinterp.so(_ZN12octave_value17do_multi_index_opEiRK17octave_value_list+0xd)[0x7fd284e2b27d] > /usr/local/lib/octave-3.2.4/liboctinterp.so(_ZN15tree_identifier6rvalueEi+0x636)[0x7fd284f512f6] > /usr/local/lib/octave-3.2.4/liboctinterp.so(_ZN15tree_identifier7rvalue1Ei+0x5f)[0x7fd284f5048f] > /usr/local/lib/octave-3.2.4/liboctinterp.so(_ZN14tree_evaluator15visit_statementER14tree_statement+0x16e)[0x7fd284f47bce] > /usr/local/lib/octave-3.2.4/liboctinterp.so(_ZN14tree_evaluator20visit_statement_listER19tree_statement_list+0x58)[0x7fd284f44b68] > /usr/local/lib/octave-3.2.4/liboctinterp.so(_ZN18octave_user_script17do_multi_index_opEiRK17octave_value_list+0x15c)[0x7fd284e8455c] > /usr/local/lib/octave-3.2.4/liboctinterp.so(_Z11source_fileRKSsS0_bbS0_+0x1b0)[0x7fd284d1ce30] > /usr/local/lib/octave-3.2.4/liboctinterp.so(+0x4d18aa)[0x7fd284d078aa] > /usr/local/lib/octave-3.2.4/liboctinterp.so(octave_main+0xe2f)[0x7fd284d093df] > /lib/libc.so.6(__libc_start_main+0xfd)[0x7fd281e5cc4d] > octave[0x400749]
I can't reproduce this (also Octave-3.2.4): (started Octave with server.m on local machine) afterwards, started an Octave session: octave:1> hosts = ["localhost"; "localhost"]; octave:2> sockets = connect (hosts) sockets = 0 0 0 5 3 1234 octave:3> reval ("send (sum ([1:50]), sockets(1, :))", sockets(2, :)) octave:4> recv (sockets (2, :)) ans = 1275 octave:5> And there were no crashes. Olaf ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev