! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Crash or en empty folder view if underlying SSH finished
Status:
RESOLVED: DUPLICATE

Comments

Description Alexander Kurakin 2018-10-15 12:27:12 CEST
Good day!

Scenario 1.

1. Open 'sftp://host' in Thunar.
2. Run command: 'ssh -O exit host' OR kill the underlying ssh process with SIGTERM.
3. Refresh Thunar window.
4. Result: an empty folder view and "unknown" icon in address bar.

Scenario 2.

1. Open 'sftp://host' in Thunar.
2. Kill the underlying ssh process with SIGKILL.
3. Refresh Thunar window.
4. Result: Thunar crashes.
Comment 1 alexxcons editbugs 2019-05-19 22:27:37 CEST
Thanks for reporting and sorry for the late reply !

I dont get thunar to crash, using the proposed reproducer, neither using SIGKILL, nor SIGTERM.

I tried with thunar 1.6.15, 1.6.17 and thunar 1.8.6 .. 

For me in both cases the result is: empty folder view and no icon in address bar any more, which IMO should be fine.

Please could you attach a backtrace with debug symbols ?
(Here a short manual on how to produce a meaningful backtrace: https://docs.xfce.org/contribute/bugs/starthttps://docs.xfce.org/contribute/bugs/start)
Comment 2 alexxcons editbugs 2019-05-19 22:45:51 CEST
Hah, wait, I got it to crash ... I just missed the refresh for thunar 1.6.15, sorry.

Seems like the crash got fixed meanwhile. I cannot reproduce on 1.8.6 or 1.6.17 while I now can reliably reproduce on 1.6.15.
I'll close the bug ... please feel free to reopen if you still get crashes using 1.8.6 or 1.6.17 !
Comment 3 Alexander Kurakin 2019-05-22 15:16:27 CEST
Yes, fixed in 1.6.17.

Strange since I couldn't find relevant commit...

P.S. On refresh (<F5>), instead of crash I get a blank directory view (without any error dialog). On "<Ctrl-L> + <Enter>" I get really refreshing of directory (via establishing a new connection). Is first case a bug or a feature?
Comment 4 alexxcons editbugs 2019-05-22 20:05:22 CEST
Hmm, for sure not a feature .. some error dialog would be better. Though "blank directory" is not too bad ;)
Comment 5 Alexander Kurakin 2019-09-30 21:46:53 CEST

*** This bug has been marked as a duplicate of bug 15961 ***
Comment 6 Alexander Kurakin 2019-10-18 21:10:18 CEST
Not a duplicate!

In Thunar 1.8.9:

1. Open a tab; and second tab with sftp host;
2. Go to first tab;
3. Eject host;
4. Go to second tab;
5. Press <F5>.
6. Blank view!
Comment 7 alexxcons editbugs 2019-10-22 21:37:52 CEST
I as well can reproduce that in 1.8.9, but it's already fixed on 4.14 branch and master.
The fix just is not released as 1.8.10 yet .. please be patient :)

AndreLDM wanted to do a release this / next weekend if he has time.

*** This bug has been marked as a duplicate of bug 15961 ***
Comment 8 Alexander Kurakin 2019-11-12 13:55:45 CET
Yes, fixed in 1.8.10.
Comment 9 Alexander Kurakin 2019-12-04 16:10:28 CET
No bug #16246 is actual.

Bug #14761

Reported by:
Alexander Kurakin
Reported on: 2018-10-15
Last modified on: 2019-12-04

People

Assignee:
Xfce Bug Triage
CC List:
4 users

Version

Version:
1.6.15

Attachments

Additional information