Originally posted by Kry
Either the clients or your filesystem or the cryptopp lib.
Try recompiling amule not using the embedded crypto.
First of all, thanks, it's really nice to see the devels and admins answering my thread
Back to the point: I'll give you my opinion on your thoughts:
1- I don't think that the clients are causing the problem, because I'm downloading different things and it's very unlikely that I get this many corrupted parts for every file. That, plus 1.2.8 was working fine till some day in the past week.
2- I blamed my filesystem too at first (the temp directory was on a FAT32 partition), so I changed the temp directory to another HD, which is reiserfs formatted. I deleted all the partial downloads and started them again, along with some new downloads, but the problem is still there. dmesg an syslog are clean, they are not reporting any kind of filesystem failure.
3- The crypto lib: How do I recompile aMule without it? I'm on gentoo, and that kind of thing is made via USE flags, these are the ones for amule: -debug -gd -gtk2 +nls -remote -stats -unicode. I don't see crypto stuff around. Is it something I should change in the makefile? Why do you think that this lib is to blame?
I think that the problem lies in some shared library, because I recompiled and even changed version of the app, changed the fs, checked the RAM, etc., and nothing worked.
Well, I really look forward to solving this problem
. Thanks so far.
Luciano
EDIT: I recompiled aMule with less aggresive CFLAGS:
#CFLAGS="-O3 -mcpu=pentium3 -march=pentium3 -mmmx -msse -pipe"
But I'm still getting corrupted parts ?(
EDIT2: I don't know if it helps, but here is the output to ldd amule | egrep crypt (just because of the libcrypto thing that you mentioned)
bash-2.05b# ldd /usr/bin/amule | egrep crypt
libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7910000)
libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0xb781e000)
EDIT3: Hey, the whole output is not so long, here it is, in case it helps:
bash-2.05b# ldd /usr/bin/amule
libpthread.so.0 => /lib/libpthread.so.0 (0x43e6b000)
libwx_gtk-2.4.so => /usr/lib/libwx_gtk-2.4.so (0xb7b3b000)
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x43266000)
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x439c7000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x4428b000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x43f03000)
libdl.so.2 => /lib/libdl.so.2 (0x43d4c000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0xb7b32000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7b22000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7a54000)
libz.so.1 => /lib/libz.so.1 (0xb7a3e000)
libcurl.so.2 => /usr/lib/libcurl.so.2 (0x4432f000)
libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0xb7a0d000)
libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7910000)
libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5 (0x43fb4000)
libm.so.6 => /lib/libm.so.6 (0x43d51000)
libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc_s.so.1 (0x4406f000)
libc.so.6 => /lib/libc.so.6 (0x43c1d000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x43c07000)
libgthread-1.2.so.0 => /usr/lib/libgthread-1.2.so.0 (0x43f73000)
libpng.so.3 => /usr/lib/libpng.so.3 (0x442d8000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x43f87000)
libtiff.so.3 => /usr/lib/libtiff.so.3 (0x440e9000)
libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0xb78df000)
libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0xb781e000)