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

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

[Octave-bug-tracker] [bug #54369] [MXE-Octave] crash on "__octave_link_g


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #54369] [MXE-Octave] crash on "__octave_link_gui_preference__"
Date: Tue, 24 Jul 2018 18:24:45 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0

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

                 Summary: [MXE-Octave] crash on
"__octave_link_gui_preference__"
                 Project: GNU Octave
            Submitted by: mmuetzel
            Submitted on: Tue 24 Jul 2018 10:24:43 PM UTC
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: ttl
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

With a Windows cross-build of a recent tip (hg id 4de7535ece11), I get a
segmentation fault on the following command:

orig_show_dbg = __octave_link_gui_preference__ ("editor/show_dbg_file", "0");


Attaching to gdb gives the following traceback:

[Thread 10384.0x2c0c exited with code 0]

Thread 9 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 10384.0x1a18]
0x000000006675f1a2 in QBasicMutex::unlockInternal() ()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\Qt5Core.dll
(gdb) bt
#0  0x000000006675f1a2 in QBasicMutex::unlockInternal() ()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\Qt5Core.dll
#1  0x0000000064f16df6 in
liboctgui-3!_ZN6octave14octave_qt_link17do_gui_preferenceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_
()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\liboctgui-3.dll
#2  0x0000000067853865 in
liboctinterp-5!_Z31F__octave_link_gui_preference__RK17octave_value_listi ()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\liboctinterp-5.dll
#3  0x00000000674269ff in
liboctinterp-5!_ZN14octave_builtin4callERN6octave14tree_evaluatorEiRK17octave_value_list
()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\liboctinterp-5.dll
#4  0x000000006753447a in
liboctinterp-5!_ZN6octave14tree_evaluator22visit_index_expressionERNS_21tree_index_expressionE
()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\liboctinterp-5.dll
#5  0x0000000067a76d76 in
liboctinterp-5!_ZN6octave14tree_evaluator8evaluateEPNS_15tree_expressionEi ()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\liboctinterp-5.dll
#6  0x0000000067535875 in
liboctinterp-5!_ZN6octave14tree_evaluator23visit_simple_assignmentERNS_22tree_simple_assignmentE
()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\liboctinterp-5.dll
#7  0x0000000067a76d76 in
liboctinterp-5!_ZN6octave14tree_evaluator8evaluateEPNS_15tree_expressionEi ()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\liboctinterp-5.dll
#8  0x000000006753161d in
liboctinterp-5!_ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE
()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\liboctinterp-5.dll
---Type <return> to continue, or q <return> to quit---
#9  0x00000000675278fb in
liboctinterp-5!_ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE
    ()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\liboctinterp-5.dll
#10 0x000000006752ad4a in liboctinterp-5!_ZN6octave14tree_evaluator4replEb ()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\liboctinterp-5.dll
#11 0x0000000067796ada in liboctinterp-5!_ZN6octave11interpreter7executeEv ()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\liboctinterp-5.dll
#12 0x0000000064f090f6 in liboctgui-3!_ZN6octave18octave_interpreter7executeEv
()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\liboctgui-3.dll
#13 0x0000000064f5e1a5 in
liboctgui-3!_ZN6octave18octave_interpreter18qt_static_metacallEP7QObjectN11QMetaObject4CallEiPPv
()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\liboctgui-3.dll
#14 0x0000000066945d6a in QObject::event(QEvent*) ()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\Qt5Core.dll
#15 0x0000000002077c5c in QApplicationPrivate::notify_helper(QObject*,
QEvent*) ()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\Qt5Widgets.dll
#16 0x000000000207ede0 in QApplication::notify(QObject*, QEvent*) ()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\Qt5Widgets.dll
#17 0x0000000066919e38 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\Qt5Core.dll
#18 0x0000000066920089 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) ()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\Qt5Core.dll
---Type <return> to continue, or q <return> to quit---
#19 0x00000000669720e8 in QEventDispatcherWin32Private::sendTimerEvent(int)
()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\Qt5Core.dll
#20 0x00007ffd13d36cc1 in USER32!CallWindowProcW () from
C:\WINDOWS\System32\user32.dll
#21 0x00007ffd13d36693 in USER32!DispatchMessageW () from
C:\WINDOWS\System32\user32.dll
#22 0x000000006697183b in
QEventDispatcherWin32::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\Qt5Core.dll
#23 0x00000000669186ff in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\Qt5Core.dll
#24 0x0000000066763c19 in QThread::run() ()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\Qt5Core.dll
#25 0x000000006676ea17 in QtPrivate::ResultStoreBase::addResults(int, void
const*, int, int) ()
   from
D:\Repositories\Octave\test\octave-2018-07-24-21-12-w64_hdf5create\octave-2018-07-24-21-12-w64\bin\Qt5Core.dll
#26 0x00007ffd15ea3034 in KERNEL32!BaseThreadInitThunk () from
C:\WINDOWS\System32\kernel32.dll
#27 0x00007ffd16091431 in ntdll!RtlUserThreadStart () from
C:\WINDOWS\SYSTEM32\ntdll.dll
#28 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)


Assigning to Torsten since he recently added this function.
Can I do anything to help debugging? Should I recompile with symbols to get a
more verbose backtrace? (Might take a while)




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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