octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #34210] profile.m test abort


From: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #34210] profile.m test abort
Date: Wed, 08 Feb 2012 22:18:38 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7

Follow-up Comment #18, bug #34210 (project octave):

I add Michael's report on the maintainers list for the MSVC build report as
records.


On Tue, Feb 7, 2012 at 6:00 PM, John W. Eaton <[hidden email]> wrote:

> The first release candidate of Octave 3.6.1 is now available from 
> alpha.gnu.org in the directory /gnu/octave: 
> 
>  94c3daa319fecf246975f68532e1bd6a  octave-3.6.1-rc0.tar.gz 
> 
>  -rw-r--r-- 1 3003 3002 17981600 Feb 07 17:23 octave-3.6.1-rc0.tar.gz 
> 
> Even if you have been building Octave regularly from the Mercurial 
> archive, it would help if you could build from this release candidate 
> and report any problems.  We could especially use reports for Windows 
> and OS X systems.
... [show rest of quote]

Compiles fine under MSVC (VS2010) with the patch I'm maintaining. 
However I'm unable to run the full test suite, because of this 
problem: 

  scriptsgeneralprofile.m ..............................Assertion 
failed: last_time >= 0.0 && last_time <= t, file 
../../src/profiler.cc, line 400 
panic: Aborted -- stopping myself... 
make: *** [check] Error 3 

Michael. 



Could the below adding  "volatile" keyword for CYGWIN and MinGW be related to
that of the MSVC case ? 

(Just above line 400) 
************ 
double 
profile_data_accumulator::query_time (void) const 
{ 
  octave_time now; 
  // FIXME -- this should be removed at some point...  See bug 34210. 
#if defined (__CYGWIN__) || defined (__MINGW32__) 
  volatile 
#endif 
    double dnow = now.double_value (); 
  return dnow; 
} 
************* 

The phenomenon is similar to the bug 34210 

http://savannah.gnu.org/bugs/?34210

Regards 

Tatsuro 



Thanks Tatsuro, that solved the problem. Now I can run the full test 
suite, which gives the "expected" failures under MSVC. 





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34210>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]