! 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 !
Segmentation fault when accessing a certain folder in detailed list view
Status:
RESOLVED: MOVED

Comments

Description thomasbruckmaier 2015-12-11 14:20:45 CET
Created attachment 6558 
backtrace from thunar starting up with detailed list view enabled (and instantly segfaulting)

Whenever I want to access my home folder, and have the "detailed list view" enabled, thunar crashes with a segmentation fault. All (?) other folders work fine, and also I can see my home folder in "simple list view" and "icon view".

I have this problem since a few weeks, in these weeks I also changed the system time zone a few times via the xfce settings manager (I am suspecting thunar does not like the time of a certain file in that folder)

I am on Xubuntu 14.04 and use XFCE 4.12 from the ppa at https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12

Attached is the backtrace from thunar starting up with detailed list view enabled (and instantly segfaulting), plus a detailed "ls" from the homefolder
Comment 1 thomasbruckmaier 2015-12-11 14:22:22 CET
Created attachment 6559 
ls in the problematic folder
Comment 2 thomasbruckmaier 2016-06-28 21:49:02 CEST
I digged a bit deeper into that issue, since it prevented me to use thunar at all. Via strace I found the two problematic files in my folder, both openvpn test certificates/keys. I will attach them (no worries, they are in no use anywhere).
Both files have a invalid(?) Access time set, `stat ta.key` shows:

$ stat ta.key 
  File: ‘ta.key’
  Size: 636       	Blocks: 8          IO Block: 4096   regular file
Device: 1bh/27d	Inode: 2813079     Links: 1
Access: (0775/-rwxrwxr-x)  Uid: ( 1000/     bob)   Gid: ( 1000/     bob)
Access: 3735167774830903552
Modify: 2015-10-29 19:12:04.000000000 +0100
Change: 2016-06-28 21:39:53.026144899 +0200
 Birth: -

All other files I checked have an access time in the same format as Modify or Change. I don't know about the specifications of the times here, but apparently the files are invalid? No idea which program caused this issue though.

Well, my problem is solved, but maybe thunar should be more failsafe with invalid files like this. KDE's krusader for instance has no issue with displaying a folder with these files inside.
Comment 3 thomasbruckmaier 2016-06-28 21:50:14 CEST
Created attachment 6717 
file with invalid access time (no idea if the upload here changes the file though)
Comment 4 Git Bot editbugs 2020-05-26 23:25:09 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/125.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #12356

Reported by:
thomasbruckmaier
Reported on: 2015-12-11
Last modified on: 2020-05-26

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Version:
1.6.10

Attachments

Additional information