« Return to Thread: dir on Octave 3.2.0 on Vista

Re: dir on Octave 3.2.0 on Vista

by kavermeer :: Rate this Message:

Reply to Author | View in Thread

On Wed, 17 Jun 2009 22:27:11 +0200 Benjamin Lindner <lindnerben@...> wrote

> Koen Vermeer wrote:
> > I tried to do a 'dir' command on Octave 3.2.0 on Vista, but it crashed
> > (see below). The same thing seems to work on XP. I localized the problem
> > to the strftime call in dir.m, but didn't have the time to dig into it
> > any further. Still being new to Octave, I decided to ask here first
> > before filing a bug report. Is this a known thing, or some stupid
> > mistake on my side?
> Can you provide more details as to what is the problem you localized?
> Perhaps a simple call to strftime that shows the crash?

I guess it's related to this: Whenever I do strftime("%T",localtime(#number#)),
Octave crashes. This now also happens on my XP box. Please see the output of the
Octave session below.

Koen


GNU Octave, version 3.2.0
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "i686-pc-mingw32".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <bug@...> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

For information about changes from previous versions, type `news'.

warning: mark_as_command is obsolete and will be removed from a future version
of Octave
octave-3.2.0.exe:1:C:\Octave\3.2.0_gcc-4.3.0\bin
> strftime("%T",localtime(12345))
error: memory exhausted or requested size too large for range of Octave's index
type -- trying to return to prompt
octave-3.2.0.exe:1:C:\Octave\3.2.0_gcc-4.3.0\bin
>



------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

 « Return to Thread: dir on Octave 3.2.0 on Vista