Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 91497

Summary: GAIM cannot upload files bigger than 2GB in size
Product: Gentoo Linux Reporter: Ryan Newberry <brnewber>
Component: Current packagesAssignee: Gaim Bugs Crew <gaim-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: 2004.3   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ryan Newberry 2005-05-04 16:47:40 UTC
If I try to upload a file >2GB in size, GAIM will upload a few hundred KB of the file, then stop sending saying the transfer is complete. Those receiving the file get an incomplete useless file. This strikes me as being connected to the max size of a 32-bit signed integer. I'm not sure why this is a problem on a 64-bit system.

Reproducible: Always
Steps to Reproduce:
1. Try to upload a file >2GB size
2.
3.




Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 26 2005, 03:30:37)]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=k8 -pipe -fweb -ftracer -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=k8 -pipe -fweb -ftracer -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox strict"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa berkdb bitmap-fonts cdr crypt cups curl dvd eds fam flac
font-server foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6
java joystick jp2 jpeg libwww lzw lzw-tiff mad mp3 ncurses nls nptl nptlonly ogg
oggvorbis opengl pam perl png ppds python readline spell ssl tcpd tetex tiff
truetype truetype-fonts type1-fonts usb userlocales vorbis xine xml2 xpm xprint
xrandr xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Ryan Newberry 2005-05-04 16:53:38 UTC
I just wanted to add that I'm using ReiserFS 3.6, so the file system shouldn't be the issue.
Comment 2 Don Seiler (RETIRED) gentoo-dev 2005-05-05 06:44:29 UTC
Which protocol are you using?
Comment 3 Ryan Newberry 2005-05-05 07:34:38 UTC
Oscar
Comment 4 Don Seiler (RETIRED) gentoo-dev 2005-05-06 11:15:49 UTC
There is indeed a 2GB file size limit in the OSCAR protocol.  How gaim handles this, however, is indeed a bug.  I do not currently see a bug filed upstream.  Would you please file a bug upstream on gaim failing to detect the max file size for file transfer?