[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Odd crashes with Java
From: |
Philip Nienhuis |
Subject: |
Re: Odd crashes with Java |
Date: |
Sun, 16 Dec 2012 13:26:03 -0800 (PST) |
Philip Nienhuis wrote
>
> Rik-4 wrote
>> On 12/16/2012 04:56 AM,
>> octave-maintainers-request@
>> wrote:
>>> Message: 9
>>> Date: Sun, 16 Dec 2012 04:55:58 -0800 (PST)
>>> From: Philip Nienhuis <
>> address@hidden
>> >
>>> To:
>> octave-maintainers@
>>> Subject: Re: make check: segmentation fault in triplequad.m (in CLI)
>>> Message-ID: <
>> address@hidden
>>>
>>> Content-Type: text/plain; charset=us-ascii
>>>
>>> Philip Nienhuis wrote
>>>> > 15794:cf3bb2f353a5 tip
>>>> > Linux Mageia 2
>>>> >
>>>> > address@hidden 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
>>>> > address@hidden 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
>> 12/16/12
>>
>> I think we do have some sort of instability that was introduced with
>> Java.
>> I discern this particularly because the crashes move around when the code
>> is re-compiled.
> Not only that - it also depends on whether code is run in the CLI or in
> the GUI.
>> Besides bug #37924, there is #37891 about a crash in
>> contourc, and #37877 about crashes when using __java_init__ and
>> __java_exit__.
>>
>> Does 'make check' pass repeatedly if you configure with '--disable-java'
>> ?
> I haven't tried that yet.
> Building now. Hopefully tonight I can give an answer.
OK, build completed, no segfaults, make check gives 2 FAILs: file-io.cc and
ov-java.cc.
Do I have to add s/th to ov.java.cc tests to have them skipped by "make
check" in case of --disable-java configure option?
And do I have to put all tests for .cc files into one test block? (I put two
separate test blocks in ov-java.cc)
Philip
--
View this message in context:
http://octave.1599824.n4.nabble.com/Re-Odd-crashes-with-Java-tp4647976p4647982.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.