bugGNU Octave - Bugs: bug #61791, Embedded Octave command crashes in...

 
 

bug #61791: Embedded Octave command crashes in QApplication destructor despite open windows

Submitter:  Yuri <yurivict>
Submitted:  Tue 11 Jan 2022 07:12:48 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 6.4.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 12 Jan 2022 04:48:23 PM UTC, comment #5: 

Note that Dynare is not yet compatible with Octave 7. I’ve begun working on compatibility issues, but I’m not done yet. So the example will most likely crash for other reasons.

Sébastien Villemot <svillemot>
Tue 11 Jan 2022 04:29:48 PM UTC, comment #4: 


comment #3:

> Could you try downloading the 7.0.90 Release Candidate at alpha.gnu.org/gnu/octave and then building (configure, make, make install) and then try again your failing example?
>
> There was work done in the last year that eliminated some crashes in destructors when Octave was exiting.


I'll try, but here the problem is that Octave shouldn't be exiting in this case.

Yuri <yurivict>
Tue 11 Jan 2022 04:06:22 PM UTC, comment #3: 

Could you try downloading the 7.0.90 Release Candidate at alpha.gnu.org/gnu/octave and then building (configure, make, make install) and then try again your failing example?

There was work done in the last year that eliminated some crashes in destructors when Octave was exiting.


Rik <rik5>
Group administrator
Tue 11 Jan 2022 08:23:54 AM UTC, comment #2: 


comment #1:

> as an additional data point, does this work?
>


> octave --eval 'dynare example3.mod' --persist


This command doesn't crash, and drops into Octave prompt.

But people in the Dynare bug report that on Ubuntu the original command also runs fine.

(I'm on FreeBSD with Qt as graphical backend.)

Yuri <yurivict>
Tue 11 Jan 2022 08:04:00 AM UTC, comment #1: 

as an additional data point, does this work?


octave --eval 'dynare example3.mod' --persist


A.R. Burgers <arb>
Tue 11 Jan 2022 07:12:48 AM UTC, original submission:  

I am running Dynare as embedded command:

> octave --eval 'dynare example3.mod'


It opens two windows and then crashes in QApplication::~QApplication().

Is the above command valid? Is something missed in Dynare that causes application exit with open windows? Is this a bug in Octave that it allow application to exit when windows are open?

More details: https://git.dynare.org/Dynare/dynare/-/issues/1834

Yuri <yurivict>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by svillemot (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by arb (Posted a comment)
  • -email is unavailable- added by yurivict (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-04-09 jwe CategoryNone Interpreter
        Item GroupNone Segfault, Bus Error, etc.

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code