Ive tried both the win32 gui and the linux executable and they both fail to open a 4GB+ file. This makes it impossible to submit DVDR-images for example.
Linux:
Cannot find file %s. Skipping.
Win32: Division by zero error.
Logged In: YES user_id=22211
Simply doing lstat -> lstat64 and fopen -> fopen64 makes it atleast open the file, but it hangs later on:
0x400a47af in memcpy () from /lib/tls/libc.so.6 (gdb) bt #0 0x400a47af in memcpy () from /lib/tls/libc.so.6 #1 0x00025000 in ?? () #2 0xbffd8a14 in ?? () #3 0x08050f13 in FTUUUpdate (context=0xbffb29b0, input=0x805e250 "", inputLen=4096) at ftuuhash.c:237 #4 0x0804c46d in calculate_hashes (submission=0x805e080, source=0x805e0e8, bitprint=0xbfffeb60 "", crc32hex=0xbfffe720 "", md5sum=0xbfffe6e0 "", ed2kmd4sum=0xbfffe6a0 "", kzhashsum=0xbfffe620 "", mcontext=0x0, methods=0x0, attrList=0xbffd8a14) at main.c:823 #5 0x0804c282 in get_bitprint_data (submission=0x805e080, fileName=0xbfffec60 "/mnt/30/filmer3/movies/ctp-shrek2fs-dvdr.img", bitprint=0xbfffeb60 "", crc32hex=0xbfffe720 "", md5sum=0xbfffe6e0 "", ed2kmd4=0xbfffe6a0 "", kzhashhex=0xbfffe620 "", firstHex=0xbfffeb30 "l\005\b\236x\005\b\003", mp3Info=0x0, methods=0x0, attrList=0xbfffe5ec) at main.c:739 #6 0x0804b976 in analyze_file (submission=0x805e080, fileName=0xbfffec60 "/mnt/30/filmer3/movies/ctp-shrek2fs-dvdr.img", matchingExtsOnly=0) at main.c:353 #7 0x0804aff2 in main (argc=2, argv=0xbffff544) at bitcollider.c:352 (gdb)
At 50%, ie: 2GB.
Commenting out ed2k and ftuuhash makes things fly. the tigertree seems correct (same as DC++ produces) but bitzi.com doesnt accept the filesize.
Logged In: YES user_id=144912
A request-for-bids to address this has been posted to RentACoder:
http://www.rentacoder.com/RentACoder/misc/BidRequests/ShowBidRequest.asp?lngBidRequestId=292325
Log in to post a comment.
Logged In: YES
user_id=22211
Simply doing lstat -> lstat64 and fopen -> fopen64 makes it
atleast open the file, but it hangs later on:
0x400a47af in memcpy () from /lib/tls/libc.so.6
(gdb) bt
#0 0x400a47af in memcpy () from /lib/tls/libc.so.6
#1 0x00025000 in ?? ()
#2 0xbffd8a14 in ?? ()
#3 0x08050f13 in FTUUUpdate (context=0xbffb29b0,
input=0x805e250 "", inputLen=4096) at ftuuhash.c:237
#4 0x0804c46d in calculate_hashes (submission=0x805e080,
source=0x805e0e8, bitprint=0xbfffeb60 "",
crc32hex=0xbfffe720 "",
md5sum=0xbfffe6e0 "", ed2kmd4sum=0xbfffe6a0 "",
kzhashsum=0xbfffe620 "", mcontext=0x0, methods=0x0,
attrList=0xbffd8a14) at main.c:823
#5 0x0804c282 in get_bitprint_data (submission=0x805e080,
fileName=0xbfffec60
"/mnt/30/filmer3/movies/ctp-shrek2fs-dvdr.img",
bitprint=0xbfffeb60 "", crc32hex=0xbfffe720 "",
md5sum=0xbfffe6e0 "", ed2kmd4=0xbfffe6a0 "",
kzhashhex=0xbfffe620 "",
firstHex=0xbfffeb30 "l\005\b\236x\005\b\003",
mp3Info=0x0, methods=0x0, attrList=0xbfffe5ec) at main.c:739
#6 0x0804b976 in analyze_file (submission=0x805e080,
fileName=0xbfffec60
"/mnt/30/filmer3/movies/ctp-shrek2fs-dvdr.img",
matchingExtsOnly=0)
at main.c:353
#7 0x0804aff2 in main (argc=2, argv=0xbffff544) at
bitcollider.c:352
(gdb)
At 50%, ie: 2GB.
Logged In: YES
user_id=22211
Commenting out ed2k and ftuuhash makes things fly. the
tigertree seems correct (same as DC++ produces) but
bitzi.com doesnt accept the filesize.
Logged In: YES
user_id=144912
A request-for-bids to address this has been posted to
RentACoder:
http://www.rentacoder.com/RentACoder/misc/BidRequests/ShowBidRequest.asp?lngBidRequestId=292325