FS#58034 - [octave]-4.2.2-1 crash when file dialogue box is opened

Attached to Project: Community Packages
Opened by Ian Sage (ian11213) - Thursday, 29 March 2018, 23:04 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 01 April 2018, 08:29 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Octave starts normally from launcher or console command and gui opens fine.
On selecting the editor tab -> open file icon the "open file" dialogue box is momentarily visible, then the program exits reporting:
octave exited with signal 11

The file can be opened successfully using in the command console using:
edit script.m
and all runs OK. A modified script file can be saved with ctl-s or using the "Save file and run" icon. Attempting to use:
(Menu)->File->Save file as
gives a crash as the dialogue box opens. Using (Menu)->File->Save
is OK. Calling eg uigetdir from a script to open a selection box is also OK; the select box opens fine and the file selection completes as expected.

Downgrading the package to 4.2.1-9 does not solve the issue, neither does downgrading fltk from 1.3.4-2-2 to 1.3.4-2

Steps to reproduce:
In my hands, attempt to open/save file from editor via dialogue.
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 01 April 2018, 08:29 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#57984 
Comment by Antonio Rojas (arojas) - Friday, 30 March 2018, 06:22 GMT
Which DE are you in? Also, please post a backtrace
Comment by Ian Sage (ian11213) - Friday, 30 March 2018, 16:52 GMT
>Which DE are you in?
xfce

>Also, please post a backtrace
Happy to do this, but sorry, I don't know how. Can you please point me to instructions how to do this in octave?
Comment by Askhat Bakarov (sirocco) - Saturday, 31 March 2018, 01:26 GMT
And in my case xfce.

I rebuilt octave according to the article in wiki.

https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces

But I got an almost empty log.
Comment by Antonio Rojas (arojas) - Saturday, 31 March 2018, 04:43 GMT
Please post it anyway, it may be enough to decide whether this is what I think I it is
Comment by Askhat Bakarov (sirocco) - Saturday, 31 March 2018, 07:55 GMT
Starting program: /usr/bin/octave
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Inferior 1 (process 29758) exited normally]
Comment by Ian Sage (ian11213) - Saturday, 31 March 2018, 10:19 GMT
I see almost the same (barring a different process ID, and extra "octave" in the 1st line) if I run octave from gdb, without any rebuild - ie., run the regular packaged version. But I am a complete novice in gdb. See my output below and apologies if this is no help.

Starting program: /usr/bin/octave octave
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Inferior 1 (process 1631) exited normally]
Comment by Antonio Rojas (arojas) - Saturday, 31 March 2018, 21:09 GMT
oh, it seems that octave forks the octave-gui pocess and exits. Please use 'gdb --pid' as root to attach gdb to the octave-gui process.
Comment by Askhat Bakarov (sirocco) - Sunday, 01 April 2018, 04:52 GMT
After the command 'gdb --pid xxxx' octave-gui completely freezes.

I waited for 15 minutes.

https://paste.pound-python.org/show/gxy5iZTF0jU5Drc74vtT/
Comment by Askhat Bakarov (sirocco) - Sunday, 01 April 2018, 05:10 GMT
After the package gtk3 was updated, the problem disappeared.

(3.22.29+4+gb485cf91b5-1 -> 3.22.29+60+ge42d8598ca-1)

Loading...