aMule Forum
English => en_Bugs => Topic started by: razibuzouzou on March 27, 2004, 02:30:51 PM
-
Hi there!
I just compiled and installed aMule 2.0rc1.
Unfortunately, it crashed when I tried to run it.
Initialising aMule
Loading preferences from /home/XXXXXX/.aMule/preferences.ini
Config:
x1: 0 y1: 34 x2: 1268 y2: 931
split read, found : 359
srv_split read, found : 463
*** UDP socket at 4043 (chat)
*** TCP socket at 4040
*** UDP socket at 5050
No cryptkey.dat found, creating
amule: integer.cpp:2012: void CryptoPP::RecursiveMultiplyTop(word*, word*, const word*, const word*, const word*, unsigned int, const P*) [with P = CryptoPP::LowLevel]: Assertion `carry >= 0 && carry <= 2' failed.
Aborted
I found a workaround by doing: dd if=/dev/random of=cryptkey.dat count=512
Tell me if this is dangerous...
-
My aMule created the file itself, but it is only 365 byte (5 lines * 72 + 6\n) and consists only of printable charcters, like a gpg-key or something similar. I dunno if yours will work reliable too, I am not that much into cryptography.
-
Seems a bug in the crypto packages. Try compiling from the ones on our download page.
-
It seems to work fine.... :)
I compiled libcrypto from the sources available on the amule download page...
-
I still have the problem razibuzouzou pointed out starting the thread. I use Gentoo, so initially I emerged crypto++ and manually created the symlinks. aMule failed to start, with the same output as posted above. Then I compiled and installed the libraries from the source posted on the homepage, but nothing changed - same error, no way to start aMule. I finally tried to manually generate the key the way razi did, and aMule started, showing this line in the log:
2004-03-30 19:15:09: IDS_CRYPT_INITFAILED
Is it safe to ignore this error? aMule 2 is crashing a lot here, maybe it's totally unrelated, but still...
BTW, compiling the libraries, I always get this warning:
g++ -g -pipe -c zdeflate.cpp
secblock.h: In member function `T& CryptoPP::SecBlock::operator[](I)
[with I = unsigned char, T = unsigned int, A =
CryptoPP::FixedSizeAllocatorWithCleanup CryptoPP::NullAllocator >]':
zdeflate.cpp:513: instantiated from here
secblock.h:238: warning: comparison is always true due to limited range of data
type
Again, safe to ignore it?
Thanks.
-
Ok, nevermind. With the latest ebuilds and patches from the Gentoo Bugzilla for both crypto++ and aMule, everything works fine.