On Wed, 19 Oct 2005, Andreas Koenecke wrote:

> While downloading a Knoppix-DVD-image with "KTorrent-1.1rc1" the program
> terminates suddenly at a filesize of 2 GB.
> The last lines of 'strace -f ktorrent' are:
> 
> --------------------------------------------
>   [...]
>   
> open("/home/akoenecke/.kde/share/apps/ktorrent/tor0/cache/KNOPPIX_V4.0.2DVD-2005-09-23-DE.iso",\
>   O_RDWR) = 18
> 
>   fstat64(18, {st_mode=S_IFREG|0644, st_size=2147483647, ...}) = 0
> 
>   mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,0) = 
> 0x40035000
> 
>   fstat64(18, {st_mode=S_IFREG|0644, st_size=2147483647, ...}) = 0
> 
>   _llseek(18, 2147479552, [2147479552], SEEK_SET) = 0
> 
>   read(18, 
> "\340\351O\220\\K\354E\257\252\376=\240\0271\30d\260f\364"...,4095) = 4095
> 
>   write(18, "\10", 1)               = -1 EFBIG (File too large)
> 
>   --- SIGXFSZ (File size limit exceeded) @ 0 (0) ---
> 
> ----------------------------------------------
> 
> Is it a bug or a misconfiguration and what can I do? 
> (Filesystem is reiserfs.)

Looks like a bug in Ktorrent. It should have opened the file with 
O_LARGEFILE. Please file a bugreport on this!


Regards
        Christoph

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to