test jit.tst hang in default brach

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

test jit.tst hang in default brach

tmacchant
Ubuntu 14.04 LTS amd64
revision 22035:634fbedbfb5b 


LLVM
  LLVM CPPFLAGS:               -isystem /usr/lib/llvm-3.4/include
  LLVM LDFLAGS:                -L/usr/lib/llvm-3.4/lib
  LLVM libraries:              -lLLVM-3.4.2

./run-octave -g -no-gui

>> cd (test directory)
>> test jit.tst

terminate called after throwing an instance of 'out_of_range'

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffce3da700 (LWP 18611)]
0x00007ffff4dd1c37 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff4dd1c37 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff4dd5028 in __GI_abort () at abort.c:89
#2  0x00007ffff53d6535 in __gnu_cxx::__verbose_terminate_handler() ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff53d46d6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff53d4703 in std::terminate() ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff53d4922 in __cxa_throw ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff63faacb in err_index_out_of_range (nd=1, dim=1, 
    idx=<optimized out>, ext=3)
    at ../octave/liboctave/util/lo-array-errwarn.cc:284
#7  0x00007ffff7467c09 in octave_jit_gindex_range (nd=<optimized out>, 
    dim=<optimized out>, iext=<optimized out>, ext=<optimized out>)
    at ../octave/libinterp/corefcn/jit-typeinfo.cc:233
#8  0x00007fffcd8481cf in ?? ()
#9  0x00007fffc04fe770 in ?? ()
#10 0x00007fffc0678cd0 in ?? ()
#11 0x00007fffc06b6800 in ?? ()
#12 0x000003e900000004 in ?? ()
#13 0x00007fffc059cab8 in ?? ()
#14 0x00007fffc06560fc in ?? ()


Is this known issue?

or specific to my environments?

Tatsuro


Reply | Threaded
Open this post in threaded view
|

Re: test jit.tst hang in default brach

Mike Miller-4
On Wed, Jul 06, 2016 at 18:13:47 +0900, Tatsuro MATSUOKA wrote:

> Ubuntu 14.04 LTS amd64
> revision 22035:634fbedbfb5b 
>
>
> LLVM
>   LLVM CPPFLAGS:               -isystem /usr/lib/llvm-3.4/include
>   LLVM LDFLAGS:                -L/usr/lib/llvm-3.4/lib
>   LLVM libraries:              -lLLVM-3.4.2
>
> ./run-octave -g -no-gui
>
> >> cd (test directory)
> >> test jit.tst
>
> terminate called after throwing an instance of 'out_of_range'
[…]
> Is this known issue?
>
> or specific to my environments?

I don't think anyone uses or tests with --enable-jit, and it is
bit-rotting and incompatible with current versions of LLVM. I'm not
surprised that such an error has crept in, but I don't have a compatible
version of LLVM to try to repreduce with.

--
mike

Reply | Threaded
Open this post in threaded view
|

Re: test jit.tst hang in default brach

chechu

Good evening,  we are using and testing octave with jit. We stick on llvm3.3 on debian and ubuntu. Gcc 4.9 and enable 64 are also standard settings.
Testjit.tst fails sometimes at make check but keeps on throw the others.
Regards,  Jose.

Le 6 juil. 2016 19:44, "Mike Miller" <[hidden email]> a écrit :
On Wed, Jul 06, 2016 at 18:13:47 +0900, Tatsuro MATSUOKA wrote:
> Ubuntu 14.04 LTS amd64
> revision 22035:634fbedbfb5b 
>
>
> LLVM
>   LLVM CPPFLAGS:               -isystem /usr/lib/llvm-3.4/include
>   LLVM LDFLAGS:                -L/usr/lib/llvm-3.4/lib
>   LLVM libraries:              -lLLVM-3.4.2
>
> ./run-octave -g -no-gui
>
> >> cd (test directory)
> >> test jit.tst
>
> terminate called after throwing an instance of 'out_of_range'
[…]
> Is this known issue?
>
> or specific to my environments?

I don't think anyone uses or tests with --enable-jit, and it is
bit-rotting and incompatible with current versions of LLVM. I'm not
surprised that such an error has crept in, but I don't have a compatible
version of LLVM to try to repreduce with.

--
mike

Reply | Threaded
Open this post in threaded view
|

Re: test jit.tst hang in default brach

Stefan Mahr
In reply to this post by Mike Miller-4
Am 06.07.2016 um 19:43 schrieb Mike Miller:

> On Wed, Jul 06, 2016 at 18:13:47 +0900, Tatsuro MATSUOKA wrote:
>> Ubuntu 14.04 LTS amd64
>> revision 22035:634fbedbfb5b
>>
>>
>> LLVM
>>   LLVM CPPFLAGS:               -isystem /usr/lib/llvm-3.4/include
>>   LLVM LDFLAGS:                -L/usr/lib/llvm-3.4/lib
>>   LLVM libraries:              -lLLVM-3.4.2
>>
>> ./run-octave -g -no-gui
>>
>>>> cd (test directory)
>>>> test jit.tst
>>
>> terminate called after throwing an instance of 'out_of_range'
> […]
>> Is this known issue?
>>
>> or specific to my environments?
>
> I don't think anyone uses or tests with --enable-jit, and it is
> bit-rotting and incompatible with current versions of LLVM. I'm not
> surprised that such an error has crept in, but I don't have a compatible
> version of LLVM to try to repreduce with.
>

IIRC, JIT stopped working correctly since error_state was replaced by
C++ exceptions.

Reply | Threaded
Open this post in threaded view
|

Re: test jit.tst hang in default brach

LachlanA
Stefan Mahr wrote
IIRC, JIT stopped working correctly since error_state was replaced by
C++ exceptions.
It was from about that time, but I think the (a?) problem may actually be with octave_index_exception, which was something I introduced at the same time :(

Will 4.2.0 ship with "--enable-jit" as an option?  I'd be inclined not to ship with it advertised but broken.  Perhaps it could be an undocumented option to configure, or commented out in such a way that someone determined to use it could make a small change to re-enable it, bugs notwithstanding.

Cheers,
Lachlan