[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: segfault in bsxfun during "make check"
From: |
PhilipNienhuis |
Subject: |
Re: segfault in bsxfun during "make check" |
Date: |
Thu, 7 Mar 2019 03:21:40 -0600 (CST) |
John W. Eaton wrote
> On 3/6/19 5:36 PM, John W. Eaton wrote:
>> On 3/6/19 4:41 PM, PhilipNienhuis wrote:
>>> During "make check" I get a segfault in bsxfun:
>>>
>>> :
>>> libinterp/corefcn/bitfcns.cc-tst ............................... PASS
>>> 60/60
>>> libinterp/corefcn/bsxfun.cc-tst
>>> ................................fatal:
>>> caught signal Segmentation fault -- stopping myself...
>>> /bin/sh: line 1: 14215 Segmentation fault (core dumped) /bin/sh
>>> ../run-octave --no-init-file --silent --no-history -p
>>> /home/philip/devel/octdev/dev600/test/mex
>>> /home/philip/devel/octdev/dev600/../dev/test/fntests.m
>>> /home/philip/devel/octdev/dev600/../dev/test
>>> Makefile:27988: recipe for target 'check-local' failed
>>> make[3]: *** [check-local] Error 139
>>> :
>>>
>>> address@hidden dev]$ hg summary
>>> parent: 26855:156bd21bf6bd
>>> editor follows XDG_CONFIG_HOME for autocompletion files (bug ##55822)
>>> branch: default
>>> bookmarks: *@
>>> commit: (clean)
>>>
>>> Mageia-6 Linux
>>>
>>> Anyone else seeing this?
>>
>> It doesn't crash for me.
>>
>> I'm guessing it's due to my recent changes to function handles.
>>
>> Can you try running the test suite with gdb?
>>
>> Or, can you try building with --enable-address-sanitizer-flags and see
>> if that gives any clues about memory errors? You may also need to use
>> --disable-java and --disable-docs to make that work.
>
> OK, I built with the address sanitizer and I see the following when
> running "make check". I'll try to take a look at this problem later
> tonight.
> :
> <snip>
> :
> jwe
Thanks very much for investigating.
In spite of the bsxfun segfault on Linux I could make a dist file and
cross-build in mxe-octave.
Once installed in Windows, while running __run_test_suite__ Octave does NOT
crash.
Philip
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html