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

 
 

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

Submitted by:  Yuri <yurivict>
Submitted on:  Tue 11 Jan 2022 07:12:48 AM UTC  
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  6.4.0 Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.7