bugGNU Octave - Bugs: bug #60722, GUI "Browse Directory"...

 
 

bug #60722: GUI "Browse Directory" hangs with native file dialogs on KDE

Submitted by:  Peter Wibberley <peter>
Submitted on:  Wed 02 Jun 2021 01:17:33 PM UTC  
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Need Info Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  6.2.0 Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

( Jump to the original submission)

Fri 04 Jun 2021 03:54:20 PM UTC, comment #6: 

Another Octave developer (Philip) used to run Neon and has had multiple issues with the GUI, KDE, etc.  I think they eventually gave up and switched distributions because of strange behavior that could never properly be diagnosed.

That may be an overly pessimistic summary, but it might be that this is a battle you don't want to take on.

Rik <rik5>
Project Administrator
Thu 03 Jun 2021 08:30:57 AM UTC, comment #5: 

Thanks.

I don't know how to read these straces. I'll mark this bug as depending on bug #54607 because the symptoms are so similar.

If someone is able to deduce that they have the same root cause, please close as duplicate.

Markus Mützel <mmuetzel>
Project Member
Wed 02 Jun 2021 11:32:34 PM UTC, comment #4: 

Markus,

I'm not sure whether I am experiencing bug #54607.  I ran strace and got the following output. PID 79547 is the octave-gui process.

(Apologies, but I couldn't figure out how to put the strace output in a text box, nor how to make "bug #54607", above, a hyperlink.)

Thanks and regards

------------------------------
strace -tf -etrace=%signal -p 79547
strace: Process 79547 attached with 14 threads
[pid 79566] 00:11:30 rt_sigtimedwait([HUP INT QUIT PIPE ALRM TERM CHLD XCPU XFSZ VTALRM],  <unfinished ...>
[pid 79549] 00:11:35 +++ exited with 0 +++
[pid 79550] 00:11:35 +++ exited with 0 +++
[pid 79548] 00:11:35 +++ exited with 0 +++
strace: Process 79652 attached
[pid 79652] 00:11:35 rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f15f116f880}, NULL, 8) = 0
strace: Process 79653 attached
[pid 79652] 00:11:35 +++ exited with 1 +++
[pid 79566] 00:11:35 <... rt_sigtimedwait resumed>{si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=30, si_uid=1000, si_status=1, si_utime=0, si_stime=0}, NULL, 8) = 17 (SIGCHLD)
[pid 79566] 00:11:35 rt_sigtimedwait([HUP INT QUIT PIPE ALRM TERM CHLD XCPU XFSZ VTALRM],  <unfinished ...>
[pid 79653] 00:11:35 rt_sigaction(SIGRTMIN, {sa_handler=0x7ff18b99fbf0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7ff18b9aca70}, NULL, 8) = 0
[pid 79653] 00:11:35 rt_sigaction(SIGRT_1, {sa_handler=0x7ff18b99fc90, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7ff18b9aca70}, NULL, 8) = 0
[pid 79653] 00:11:35 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
[pid 79653] 00:11:35 rt_sigaction(SIGPIPE, {sa_handler=0x7ff18c8fff40, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7ff18bdfb880}, NULL, 8) = 0
[pid 79653] 00:11:35 rt_sigaction(SIGINT, {sa_handler=0x7ff18c901490, sa_mask=[INT], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7ff18bdfb880}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
[pid 79653] 00:11:35 rt_sigaction(SIGQUIT, {sa_handler=0x7ff18c901490, sa_mask=[QUIT], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7ff18bdfb880}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
[pid 79653] 00:11:35 rt_sigaction(SIGTERM, {sa_handler=0x7ff18c901490, sa_mask=[TERM], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7ff18bdfb880}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
[pid 79547] 00:11:35 rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f15f116f880}, NULL, 8) = 0
[pid 79653] 00:11:35 rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7ff18bdfb880}, NULL, 8) = 0
[pid 79565] 00:11:35 rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f15f116f880}, {sa_handler=0x7f15ec1a0c70, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f15f116f880}, 8) = 0
[pid 79565] 00:11:35 rt_sigprocmask(SIG_BLOCK, [CHLD], [HUP INT QUIT PIPE ALRM TERM CHLD XCPU XFSZ VTALRM], 8) = 0
[pid 79565] 00:11:35 rt_sigaction(SIGINT, {sa_handler=0x7f15ec1a0c70, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f15f116f880}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f15f116f880}, 8) = 0
[pid 79565] 00:11:35 rt_sigprocmask(SIG_SETMASK, [HUP INT QUIT PIPE ALRM TERM CHLD XCPU XFSZ VTALRM], NULL, 8) = 0
strace: Process 79654 attached
strace: Process 79655 attached
strace: Process 79656 attached
strace: Process 79657 attached
strace: Process 79658 attached
[pid 79658] 00:11:36 rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f15f116f880}, NULL, 8) = 0
strace: Process 79659 attached
[pid 79658] 00:11:36 +++ exited with 1 +++
[pid 79566] 00:11:36 <... rt_sigtimedwait resumed>{si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=36, si_uid=1000, si_status=1, si_utime=0, si_stime=0}, NULL, 8) = 17 (SIGCHLD)
[pid 79566] 00:11:36 rt_sigtimedwait([HUP INT QUIT PIPE ALRM TERM CHLD XCPU XFSZ VTALRM],  <unfinished ...>
[pid 79659] 00:11:36 rt_sigaction(SIGRTMIN, {sa_handler=0x7f76bc665bf0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f76bc672a70}, NULL, 8) = 0
[pid 79659] 00:11:36 rt_sigaction(SIGRT_1, {sa_handler=0x7f76bc665c90, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f76bc672a70}, NULL, 8) = 0
[pid 79659] 00:11:36 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
[pid 79659] 00:11:36 rt_sigaction(SIGPIPE, {sa_handler=0x7f76bd5c5f40, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f76bcac1880}, NULL, 8) = 0
[pid 79659] 00:11:36 rt_sigaction(SIGINT, {sa_handler=0x7f76bd5c7490, sa_mask=[INT], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f76bcac1880}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
[pid 79659] 00:11:36 rt_sigaction(SIGQUIT, {sa_handler=0x7f76bd5c7490, sa_mask=[QUIT], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f76bcac1880}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
[pid 79659] 00:11:36 rt_sigaction(SIGTERM, {sa_handler=0x7f76bd5c7490, sa_mask=[TERM], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f76bcac1880}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
[pid 79659] 00:11:36 rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f76bcac1880}, NULL, 8) = 0
[pid 79565] 00:11:36 rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f15f116f880}, {sa_handler=0x7f15ec1a0c70, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f15f116f880}, 8) = 0
[pid 79565] 00:11:36 rt_sigprocmask(SIG_BLOCK, [CHLD], [HUP INT QUIT PIPE ALRM TERM CHLD XCPU XFSZ VTALRM], 8) = 0
[pid 79565] 00:11:36 rt_sigaction(SIGINT, {sa_handler=0x7f15ec1a0c70, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f15f116f880}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f15f116f880}, 8) = 0
[pid 79565] 00:11:36 rt_sigprocmask(SIG_SETMASK, [HUP INT QUIT PIPE ALRM TERM CHLD XCPU XFSZ VTALRM], NULL, 8) = 0
[pid 79657] 00:12:06 +++ exited with 0 +++
[pid 79656] 00:12:06 +++ exited with 0 +++
[pid 79654] 00:12:06 +++ exited with 0 +++
[pid 79655] 00:12:06 +++ exited with 0 +++

Peter Wibberley <peter>
Wed 02 Jun 2021 06:55:54 PM UTC, comment #3: 

This might be related or a duplicate of bug #54607.

Do you have samba installed? Do you need it? Does uninstalling it help?

Markus Mützel <mmuetzel>
Project Member
Wed 02 Jun 2021 04:55:53 PM UTC, comment #2: 

Markus,

Thank you for your comment.  I should probably have mentioned that I'm using KDE Neon 5.21 User Edition (using Ubuntu 20.04). 

Nevertheless, I unselected 'Use native file dialogs', as per your suggestion, and it now works.  Ideally, it ought work also with the option selected, but at least now I have a workaround.  Thank you.

Regards

Peter Wibberley <peter>
Wed 02 Jun 2021 04:17:53 PM UTC, comment #1: 

It's working for me on Ubuntu 21.04.

I'm not sure if this is relevant. But does it make a difference whether you select (or un-select) "Use native dialogs" on the "General" tab of the preferences?

Markus Mützel <mmuetzel>
Project Member
Wed 02 Jun 2021 01:17:33 PM UTC, original submission:  

I can change the working directory using the 'Current Directory' dialogue box. 

I can also change the working directory by selecting 'Window'.'File Browser'.

However, if I select the 'Browse Directories' button, I get the 'Browse Directories' dialogue box and it hangs.  I can then only close Octave by killing the process. 

Thank you for otherwise excellent software. 

Peter Wibberley <peter>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by peter (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.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-03 mmuetzel SummaryGUI Browse Directory hangs => GUI "Browse Directory" hangs with native file dialogs on KDE
        Dependencies- => Depends on bugs #54607
    2021-06-02 mmuetzel StatusNone => Need Info

    Back to the top


    Powered by Savane 3.6