[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: JIT test crash
From: |
Max Brister |
Subject: |
Re: JIT test crash |
Date: |
Wed, 1 Aug 2012 11:43:59 -0500 |
On Wed, Aug 1, 2012 at 11:40 AM, marco atzeri <address@hidden> wrote:
> On 8/1/2012 6:20 PM, Michael Goffioul wrote:
>>
>> I'm seeing a segfault on my MSVC-compiled version of octave (gui branch,
>> rev 6889217b9d78) when running the test suite in pt-jit.cc:
>>
>> octave.exe:2> test('../src/pt-jit.cc', 'verbose')
>> >>>>>
>> C:\Software\MinGW\msys\1.0\home\goffioul\src\octave-hg-gui\src/pt-jit.cc
>> ***** test
>> inc = 1e-5;
>> result = 0;
>> for ii = 0:inc:1
>> result = result + inc * (1/3 * ii * ii);
>> endfor
>> assert (abs (result - 1/9) < 1e-5);
>> ***** test
>> inc = 1e-5;
>> result = 0;
>> for ii = 0:inc:1
>> # the ^ operator's result is complex
>> result = result + inc * (1/3 * ii ^ 2);
>> endfor
>> assert (abs (result - 1/9) < 1e-5);
>> panic: Segmentation violation -- stopping myself...
>>
>> Max, any idea what could cause this?
>>
>> Michael.
>>
>
> on cygwin
> PASSES 10 out of 10 tests
> with default branch c53c28c7c811
>
> In theory the gui branch should have no influence on the jit
> but there are at least 3 additional changeset regarding jit in the
> default branch that you are missing
These changes should have any impact on this crash. I think this might
be an msvc vs gcc issue (or a 64 vs 32 bit issue).
Max
- JIT test crash, Michael Goffioul, 2012/08/01
- Re: JIT test crash, Max Brister, 2012/08/01
- Re: JIT test crash, marco atzeri, 2012/08/01
- Re: JIT test crash,
Max Brister <=
- Re: JIT test crash, Michael Goffioul, 2012/08/01
- Re: JIT test crash, Max Brister, 2012/08/02
- Re: JIT test crash, Michael Goffioul, 2012/08/02
- Re: JIT test crash, Michael Goffioul, 2012/08/02
- Re: JIT test crash, Max Brister, 2012/08/02
- Re: JIT test crash, Michael Goffioul, 2012/08/02
- Re: JIT test crash, Max Brister, 2012/08/02
- Re: JIT test crash, Michael Goffioul, 2012/08/02
- Re: JIT test crash, Michael Goffioul, 2012/08/03
- Re: JIT test crash, Max Brister, 2012/08/03