bugGNU Octave - Bugs: bug #58739, Spurious crash due to exception in...

 
 

bug #58739: Spurious crash due to exception in Qt5Core.dll

Submitter:  None
Submitted:  Thu 09 Jul 2020 02:37:26 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Duplicate Assigned to:  None
Originator Name:  Jens Potschadtke Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 5.2.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 09 Jul 2020 04:28:12 PM UTC, comment #4: 

I can confirm that I can provoke the crash with that steps in Octave 5.2.
The same steps no longer crash a newer build (hg id 05a48a241da6). So this looks very similar to bug #57961.

Closing as a duplicate.

Markus Mützel <mmuetzel>
Group administrator
Thu 09 Jul 2020 03:48:44 PM UTC, comment #3: 

OK, now that I have read the bug number #57961:

It seems to be a duplicate of it since it is related to deleting columns of a variable displayed in the variable editor.

Anonymous
Thu 09 Jul 2020 03:43:37 PM UTC, comment #2: 

I now was able to produce a sample code which reliably leads to the crash!


a=ones(20);
a=a(:,10:20);


Place the code in the editor and set a breakpoint at the second line and start the code with F5.
When the code breaks, open a in the variable editor.
Then press F10 to single-step ->crash

What probably happens is that the first few columns of a get deleted and the GUI somehow still wants to paint them in the variable editor.

Anonymous
Thu 09 Jul 2020 03:06:40 PM UTC, comment #1: 

Quite a few bugs have been fixed for the variable editor:
https://savannah.gnu.org/bugs/index.php?go_report=Apply&group=octave&func=browse&set=custom&msort=0&report_id=101&advsrch=1&status_id%5B%5D=0&resolution_id%5B%5D=0&submitted_by%5B%5D=0&assigned_to%5B%5D=0&category_id%5B%5D=0&bug_group_id%5B%5D=0&severity%5B%5D=0&priority%5B%5D=0&summary=variable+editor&details=&sumORdet=1&history_search=0&history_field=0&history_event=modified&history_date_dayfd=9&history_date_monthfd=7&history_date_yearfd=2020&chunksz=50&spamscore=5&boxoptionwanted=1#options

Some of those that have been fixed in the last two years have probably not made it into a release yet.
Does any of those look familiar (maybe bug #57961)?

Otherwise, some steps to reproduce would be good. But I understand that this might be difficult.

Markus Mützel <mmuetzel>
Group administrator
Thu 09 Jul 2020 02:37:26 PM UTC, original submission:  

From time to time I get a crash of the Octave GUI program under Windows 10.

The windows system shows a popup window with the following text:

Ausnahmefehler bei 0x0000000000E00C4B (Qt5Core.dll) in octave-gui.exe: 0xC0000602:  Ein sofortiger Ausnahmefehler ist aufgetreten. Die Ausnahmehandler werden nicht aufgerufen, und der Prozess wird sofort beendet

With procexplorer I was able to get a stackdump of the probable offending thread. It reads:

KERNELBASE.dll!RaiseFailFastException+0xaf
Qt5Core.dll!Zls6QDebugRK23QOperatingSystemVersion+0x46b
Qt5Core.dll!ZNK14QMessageLogger5fatalEPKcz+0x7d
Qt5Core.dll!Z9qt_assertPKcS0_i+0x4a
Qt5Core.dll!ZN18QAbstractItemModel18beginRemoveColumnsERK11QModelIndexii+0xe0
liboctgui-5.dll!ZN6octave21variable_editor_model19change_display_sizeEiiii+0xf9
liboctgui-5.dll!ZN6octave21variable_editor_model11update_dataERK12octave_value+0x1c6
liboctgui-5.dll!ZN6octave21variable_editor_model18qt_static_metacallEP7QObjectN11QMetaObject4CallEiPPv+0xee
Qt5Core.dll!ZN14QMetaCallEvent13placeMetaCallEP7QObject+0x6d
Qt5Core.dll!ZN7QObject5eventEP6QEvent+0x1ad
Qt5Widgets.dll!ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x86
Qt5Widgets.dll!ZN12QApplication6notifyEP7QObjectP6QEvent+0x4ec
liboctgui-5.dll!ZN6octave19octave_qapplication6notifyEP7QObjectP6QEvent+0xe
Qt5Core.dll!ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x74
Qt5Core.dll!ZN16QCoreApplication9sendEventEP7QObjectP6QEvent+0x18
Qt5Core.dll!ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x26e
Qt5Core.dll!ZN21QEventDispatcherWin3216sendPostedEventsEv+0x1b
qwindows.dll!qt_plugin_instance+0x2d3e
Qt5Core.dll!ZN21QEventDispatcherWin3213processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x67
qwindows.dll!qt_plugin_instance+0x2d25
Qt5Core.dll!ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x2d
Qt5Core.dll!ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x162
Qt5Core.dll!ZN16QCoreApplication4execEv+0x86
Qt5Gui.dll!ZN15QGuiApplication4execEv+0x19
Qt5Widgets.dll!ZN12QApplication4execEv+0xa
liboctgui-5.dll!ZN6octave15gui_application7executeEv+0x30
octave-gui.exe!main+0x187
octave-gui.exe+0x13b4
octave-gui.exe+0x150b
KERNEL32.DLL!BaseThreadInitThunk+0x14
ntdll.dll!RtlUserThreadStart+0x21


I deduce from that stacktrace, that the variable editor seems to be the culprit.

What have I done to trigger this?

I was debugging an Octave script. The variable editor tab was open with two variables displayed (Each approximately 7500x3 elements)
The I pressed the F10 key to advance the script by one line. This led directly to the crash.

I was observing some similar crashes in the last few weeks, but I was not able to directly reproduce the crashes.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-07-09 mmuetzel StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #57961

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code