make check: segmentation fault in triplequad.m (in CLI)

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

make check: segmentation fault in triplequad.m (in CLI)

Philip Nienhuis
15794:cf3bb2f353a5 tip
Linux Mageia 2

[philip@jvc741 oct370]$ make check

:
  libinterp/interpfcn/dirfns.cc .......................... PASS    1/1  
  libinterp/interpfcn/file-io.cc ......................... PASS    0/1    FAIL 1
  libinterp/interpfcn/graphics.cc ........................ PASS   14/14  
:
(the usual FAIL for file-io.cc, locale issue. There was a new FAIL for logspace, I've fixed that)
:
  scripts/general/trapz.m ................................ PASS   11/11
  scripts/general/triplequad.m ...........................make[1]: *** [check] Segmentation fault
make[1]: Leaving directory `/home/philip/devel/oct370/test'
make: *** [check] Error 2
[philip@jvc741 oct370]$

Interestingly, in the CLI (./run-octave --no-gui):

octave:6> test triplequad
Segmentation fault

...while in the GUI:

octave:1> test triplequad
PASSES 1 out of 1 tests
octave:2>

Octave (GUI) also seems unstable (I got several hangs).

Could this also be related to bug #37924 ?

Philip
Reply | Threaded
Open this post in threaded view
|

Re: make check: segmentation fault in triplequad.m (in CLI)

marco atzeri-2
On 12/15/2012 10:58 PM, Philip Nienhuis wrote:

> 15794:cf3bb2f353a5 tip
> Linux Mageia 2
>
> [philip@jvc741 oct370]$ make check
>
> :
>    libinterp/interpfcn/dirfns.cc .......................... PASS    1/1
>    libinterp/interpfcn/file-io.cc ......................... PASS    0/1
> FAIL 1
>    libinterp/interpfcn/graphics.cc ........................ PASS   14/14
> :
> (the usual FAIL for file-io.cc, locale issue. There was a new FAIL for
> logspace, I've fixed that)
> :
>    scripts/general/trapz.m ................................ PASS   11/11
>    scripts/general/triplequad.m ...........................make[1]: ***
> [check] Segmentation fault
> make[1]: Leaving directory `/home/philip/devel/oct370/test'
> make: *** [check] Error 2
> [philip@jvc741 oct370]$
>
> Interestingly, in the CLI (./run-octave --no-gui):
>
> octave:6> test triplequad
> Segmentation fault

not on my cygwin build

octave:2>  test triplequad
PASSES 1 out of 1 tests

>
> ...while in the GUI:
>
> octave:1> test triplequad
> PASSES 1 out of 1 tests
> octave:2>
>
> Octave (GUI) also seems unstable (I got several hangs).
>
> Could this also be related to bug #37924 ?
>
> Philip

Marco


Reply | Threaded
Open this post in threaded view
|

Re: make check: segmentation fault in triplequad.m (in CLI)

Philip Nienhuis
In reply to this post by Philip Nienhuis
Philip Nienhuis wrote
15794:cf3bb2f353a5 tip
Linux Mageia 2

[philip@jvc741 oct370]$ make check

:
  libinterp/interpfcn/dirfns.cc .......................... PASS    1/1  
  libinterp/interpfcn/file-io.cc ......................... PASS    0/1    FAIL 1
  libinterp/interpfcn/graphics.cc ........................ PASS   14/14  
:
(the usual FAIL for file-io.cc, locale issue. There was a new FAIL for logspace, I've fixed that)
:
  scripts/general/trapz.m ................................ PASS   11/11
  scripts/general/triplequad.m ...........................make[1]: *** [check] Segmentation fault
make[1]: Leaving directory `/home/philip/devel/oct370/test'
make: *** [check] Error 2
[philip@jvc741 oct370]$

Interestingly, in the CLI (./run-octave --no-gui):

octave:6> test triplequad
Segmentation fault

...while in the GUI:

octave:1> test triplequad
PASSES 1 out of 1 tests
octave:2>

Octave (GUI) also seems unstable (I got several hangs).

Could this also be related to bug #37924 ?

Philip
Answering to myself:

Apparently so. After having added some tests to ov_java.cc and rebuilding, make check now chooses to crash at:

:
 scripts/general/curl.m ................................. PASS    1/1
  scripts/general/dblquad.m ..............................make[1]: *** [check] Segmentation fault
make[1]: Leaving directory `/home/philip/devel/oct370/test'
make: *** [check] Error 2

Philip