! 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 !
thunar crashes silently when copying files larger than 4GB to file systems wh...
Status:
RESOLVED: WONTFIX
Product:
Thunar-vfs
Component:
General

Comments

Description Austin McKinley 2007-08-28 21:21:29 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
Build Identifier: 

for example, an external drive formatted as vfat. copying dvd vobs onto the drive causes thunar to crash silently, leaving a file on the drive that's exactly 4GB in size. copying the file from the console has the correct behavior:

niu movies # cp *vob /media/My\ Book/vobs/
File size limit exceeded


Reproducible: Always

Steps to Reproduce:
1. use thunar to copy big files to old filesystems



running gentoo linux, thunar-0.8.0-r3
Comment 1 Nick Schermer editbugs 2008-11-25 20:20:41 CET
Created attachment 2001 
Use lseek to check if we can write to the end of the file

This patch works, but I'm not sure it's the right approach to this problem. Lseek does no take any time, does not grow the file and I couldn't find another way to get the max-file size on the target filesystem.
Comment 2 Nick Schermer editbugs 2008-11-25 20:26:11 CET
O btw, I tried this on a vfat filesystem without the patch and then it gives the EFBIG errno when it reaches the 4GB limit. So it does not crash or lock, it just that we can give this warning before actually start to copy, since it's a waste of time to get this warning after ~5 minutes.
Comment 3 Nick Schermer editbugs 2014-12-03 09:18:52 CET
Close bug reports of archived products.

Bug #3509

Reported by:
Austin McKinley
Reported on: 2007-08-28
Last modified on: 2014-12-03

People

Assignee:
Jannis Pohlmann
CC List:
3 users

Version

Version:
unspecified

Attachments

Additional information