octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #52473] "lu" crashes on current stable branch


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #52473] "lu" crashes on current stable branch
Date: Tue, 21 Nov 2017 14:07:11 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0

URL:
  <http://savannah.gnu.org/bugs/?52473>

                 Summary: "lu" crashes on current stable branch
                 Project: GNU Octave
            Submitted by: mmuetzel
            Submitted on: Tue 21 Nov 2017 07:07:09 PM UTC
                Category: Test Suite
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: other
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

I cross compiled the current stable branch (hg id 1ad2297f8ece) and tried to
run the test suite on Windows. This crashes the GUI and leaves the
octave-gui.exe process hanging at 25% processor activity on a quad-core.
The command that is causing this is:

[l, u] = lu ([1, 2; 3, 4]);


Querying only one output doesn't lead to a crash.

I did a clean checkout of the Octave and mxe-octave sources and configured
Octave with

../configure CPPFLAGS=-I/usr/include/hdf5/serial
LDFLAGS=-L/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/hdf5/serial
--with-qt=5


For mxe-octave I deleted the src/stable-octave-2-appid-version.patch because
it no longer applies, and configured with:

./configure --enable-devel-tools --enable-windows-64 --enable-octave=stable
--enable-binary-packages --with-pkg-dir=path-to-my-mxe-octave-pkg-directory
--with-ccache --disable-system-opengl --enable-qt5 --disable-strip-dist-files


When I attach "gdb", I see the following backtrace just before the crash:

(gdb) backtrace
#0  octave::math::lu<Matrix>::getp (address@hidden)
    at
/home/osboxes/Documents/Repositories/Octave/mxe-octave-stable/tmp-stable-octave/octave-4.2.1/liboctave/numeric/lu.cc:155
#1  0x000000006ca468b6 in octave::math::lu<Matrix>::P
(address@hidden)
    at
/home/osboxes/Documents/Repositories/Octave/mxe-octave-stable/tmp-stable-octave/octave-4.2.1/liboctave/numeric/lu.cc:171
#2  0x000000000368609a in Flu (args=..., nargout=2)
    at
/home/osboxes/Documents/Repositories/Octave/mxe-octave-stable/tmp-stable-octave/octave-4.2.1/libinterp/corefcn/lu.cc:384
#3  0x00000000032b9a93 in octave_builtin::do_multi_index_op (this=0x32c0c540,
nargout=2, args=..., lvalue_list=
    0x33d2b990)
    at
/home/osboxes/Documents/Repositories/Octave/mxe-octave-stable/tmp-stable-octave/octave-4.2.1/libinterp/octave-value/ov-builtin.cc:126
#4  0x00000000032b86a6 in octave_builtin::subsref (this=0x32c0c540, type=...,
idx=..., nargout=2,
    lvalue_list=0x33d2b990)
    at
/home/osboxes/Documents/Repositories/Octave/mxe-octave-stable/tmp-stable-octave/octave-4.2.1/libinterp/octave-value/ov-builtin.cc:64
#5  0x000000000336b30d in octave_value::subsref (address@hidden,
type=..., idx=...,
    address@hidden, address@hidden)
    at
/home/osboxes/Documents/Repositories/Octave/mxe-octave-stable/tmp-stable-octave/octave-4.2.1/libinterp/octave-value/ov.cc:1456
#6  0x00000000033dd11d in tree_index_expression::rvalue (this=0x33574a60,
nargout=2, lvalue_list=0x33d2b990)
    at
/home/osboxes/Documents/Repositories/Octave/mxe-octave-stable/tmp-stable-octave/octave-4.2.1/libinterp/parse-tree/pt-idx.cc:428
#7  0x00000000033b55f1 in tree_multi_assignment::rvalue (this=0x33483c10)
    at
/home/osboxes/Documents/Repositories/Octave/mxe-octave-stable/tmp-stable-octave/octave-4.2.1/libinterp/parse-tree/pt-assign.cc:210
#8  0x00000000033b3d24 in tree_multi_assignment::rvalue1 (this=0x33483c10,
nargout=0)
    at
/home/osboxes/Documents/Repositories/Octave/mxe-octave-stable/tmp-stable-octave/octave-4.2.1/libinterp/parse-tre---Type
<return> to continue, or q <return> to quit---
e/pt-assign.cc:182
#9  0x00000000033c52b0 in octave::tree_evaluator::visit_statement
(this=<optimized out>, stmt=...)
    at
/home/osboxes/Documents/Repositories/Octave/mxe-octave-stable/tmp-stable-octave/octave-4.2.1/libinterp/parse-tree/pt-eval.cc:691
#10 0x00000000033c45cc in octave::tree_evaluator::visit_statement_list
(this=0x32d83940, lst=...)
    at
/home/osboxes/Documents/Repositories/Octave/mxe-octave-stable/tmp-stable-octave/octave-4.2.1/libinterp/parse-tree/pt-eval.cc:733
#11 0x00000000036403ae in octave::interpreter::main_loop
(address@hidden)
    at
/home/osboxes/Documents/Repositories/Octave/mxe-octave-stable/tmp-stable-octave/octave-4.2.1/libinterp/corefcn/interpreter.cc:891
#12 0x00000000036411b8 in octave::interpreter::execute (this=0x32d83380)
    at
/home/osboxes/Documents/Repositories/Octave/mxe-octave-stable/tmp-stable-octave/octave-4.2.1/libinterp/corefcn/interpreter.cc:759
#13 0x000000006290b7d3 in octave_interpreter::execute
(address@hidden)
    at
/home/osboxes/Documents/Repositories/Octave/mxe-octave-stable/tmp-stable-octave/octave-4.2.1/libgui/src/octave-interpreter.cc:50
#14 0x000000006294b3c8 in octave_interpreter::qt_static_metacall
(_o=0x31c9f580, _c=<optimized out>, _id=2,
    _a=0x32d8e170) at libgui/src/moc-octave-interpreter.cc:90
#15 0x0000000023f6eb7c in QObject::event(QEvent*) () from
D:\Repositories\Octave\test\octave-4.2.1\bin\Qt5Core.dll
#16 0x000000002d40820c in QApplicationPrivate::notify_helper(QObject*,
QEvent*) ()
   from D:\Repositories\Octave\test\octave-4.2.1\bin\Qt5Widgets.dll
#17 0x000000002d40f1d0 in QApplication::notify(QObject*, QEvent*) ()
   from D:\Repositories\Octave\test\octave-4.2.1\bin\Qt5Widgets.dll
#18 0x0000000023f4d5ad in QCoreApplication::notifyInternal2(QObject*, QEvent*)
()
   from D:\Repositories\Octave\test\octave-4.2.1\bin\Qt5Core.dll
#19 0x0000000023f52191 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) ()
   from D:\Repositories\Octave\test\octave-4.2.1\bin\Qt5Core.dll
#20 0x0000000023f9431b in QEventDispatcherWin32Private::sendTimerEvent(int)
()
   from D:\Repositories\Octave\test\octave-4.2.1\bin\Qt5Core.dll
---Type <return> to continue, or q <return> to quit---
#21 0x00007ffd3bc7b85d in USER32!CallWindowProcW () from
C:\WINDOWS\System32\user32.dll
#22 0x00007ffd3bc7b1ef in USER32!DispatchMessageW () from
C:\WINDOWS\System32\user32.dll
#23 0x0000000023f93b2b in
QEventDispatcherWin32::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
   from D:\Repositories\Octave\test\octave-4.2.1\bin\Qt5Core.dll
#24 0x0000000023f4c8da in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from D:\Repositories\Octave\test\octave-4.2.1\bin\Qt5Core.dll
#25 0x0000000023dea17a in QThread::exec() () from
D:\Repositories\Octave\test\octave-4.2.1\bin\Qt5Core.dll
#26 0x0000000023ded079 in QThread::setTerminationEnabled(bool) ()
   from D:\Repositories\Octave\test\octave-4.2.1\bin\Qt5Core.dll
#27 0x00007ffd3ac1a8e6 in msvcrt!_beginthreadex () from
C:\WINDOWS\System32\msvcrt.dll
#28 0x00007ffd3ac1a9bc in msvcrt!_endthreadex () from
C:\WINDOWS\System32\msvcrt.dll
#29 0x00007ffd393b1fe4 in KERNEL32!BaseThreadInitThunk () from
C:\WINDOWS\System32\kernel32.dll
#30 0x00007ffd3bf3ef91 in ntdll!RtlUserThreadStart () from
C:\WINDOWS\SYSTEM32\ntdll.dll
#31 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) continue
Continuing.
[Thread 8104.0x1fa4 exited with code 0]
[Thread 8104.0x1714 exited with code 3]
[Thread 8104.0x148c exited with code 3]
[Thread 8104.0x12f8 exited with code 3]
[Thread 8104.0x3238 exited with code 3]
[Thread 8104.0x338 exited with code 3]
[Thread 8104.0x2588 exited with code 3]
[Thread 8104.0x694 exited with code 3]
[Thread 8104.0x1710 exited with code 3]
[Thread 8104.0x3a34 exited with code 3]
[Thread 8104.0x189c exited with code 3]

Thread 11 received signal SIGSEGV, Segmentation fault.
std::local_Rb_tree_increment (address@hidden)
    at
/home/osboxes/Documents/Repositories/Octave/mxe-octave-stable/tmp-build-gcc/gcc-7.2.0/libstdc++-v3/src/c++98/tree.cc:71
71     
/home/osboxes/Documents/Repositories/Octave/mxe-octave-stable/tmp-build-gcc/gcc-7.2.0/libstdc++-v3/src/c++98/tree.cc:
No such file or directory.







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52473>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]