Hi Juan,
that is really strange. I fired up an Ubuntu VM (vmware) based on your
previous post for testing:
andrew@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.4 LTS
Release: 10.04
Codename: lucid
andrew@ubuntu:~$ uname -a
Linux ubuntu 2.6.32-42-generic #95-Ubuntu SMP Wed Jul 25 15:56:09 UTC 2012
x86_64 GNU/Linux
andrew@ubuntu:~$ gcc --version
gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
andrew@ubuntu:~$ octave --version
GNU Octave, version 3.2.3
Everything works as expected: http://pastebin.com/E9DMVeVt
What I noticed is that it takes a few seconds to open the interface in VM,
which happens virtually instantaneously on my host (Arch Linux, Kernel
3.4.8), need to investigate if that is distribution or VM related.
Could you provide more details about your environment for further
debugging? Also, is there any related output to dmesg when octave hangs?
On Wed, Aug 15, 2012 at 3:04 PM, Juan Pablo Carbajal <carba...@ifi.uzh.ch>wrote:
> On Mon, Aug 13, 2012 at 11:45 AM, Andrius Sutas <andrius.su...@gmail.com>
> wrote:
> > s = serial(sif, 115200, 0); srl_flush(s) ; srl_write(s, "Hello!"); sleep
> (
> > 0.2 ); tic(); [data, count] = srl_read(s, 10); toc(); char(data), count,
> > srl_close(s);
>
> Hi Andrius,
>
> I tested the new version of the package you send (and the one in svn)
> and all examples except the first one hang my Octave completely. It
> seems the timeout is not working here. To cancel execution I have to
> do twice Ctrl-C (this closes Octave).
>
> What can it be?
>
>
> --
> M. Sc. Juan Pablo Carbajal
> -----
> PhD Student
> University of Zürich
> http://ailab.ifi.uzh.ch/carbajal/
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev