aMule Forum
English => en_Bugs => Topic started by: foreman on April 15, 2009, 08:55:25 AM
-
Hello,
i compiled amule 2.2.4 in my debian etch with crypto, geoip, upnp and wxWidget from scratch.
aMule crash with this error:
aMule OnExit: Terminating core.
Saving PartFile 13 of 13
All PartFiles Saved.
aMule shutdown completed.
aMule Version: aMuled 2.2.4 using v2.8.10
what(): OS_Rng: read /dev/urandom operation failed with error 0
Terminated after throwing an instance of 'CryptoPP::OS_RNG_Err'
backtrace:
[2] ?? in amuled [0x805da6d]
[3] wxEntry(int&, wchar_t**) in /usr/local/lib/libwx_baseu-2.8.so.0[0xb7cec7dd]
[4] wxEntry(int&, char**) in /usr/local/lib/libwx_baseu-2.8.so.0[0xb7cec847]
[5] ?? in amuled [0x80549b5]
[6] __libc_start_main in /lib/tls/i686/cmov/libc.so.6[0xb7a38ea8]
[7] wxSockAddress::Clear() in amuled[0x8054321]
I find in this forum and over internet, that i should set the limits.
I done this:
/etc/security/limitis.conf:
p2p soft nofile 4096
p2p hard nofile 4096
(amuled run as user p2p)
But the error still persist, can anyone help me?
-
aMule is still crashing, one time in a hour!
Nobody have this problem?
-
Looks like broken cryptopp to me. Try compiling cryptopp yourself, or use a precompiled aMule package.
-
I combiled cryptopp myself.
I can't use a precompiled package, because it doesn't exist for debian etch.
Regards.
-
When you execute ./cryptest.exe v in the build folder of crypto++, does your compiled version pass all tests?
-
This is my test:
All tests passed!
Test ended at Sun Apr 19 16:29:36 2009
Seed used was: 1240151366
Regards.
-
You have a successful crypto++ compilation. Is this the same you used for compiling aMule? (crypto++ is afaik statically linked, that's why this is important.)
Regarding your error: If I'm not mistaken, the error code 0 means that no data could be read. (i.e. the error is unrelated to file limits.) But this makes no sense to me, as /dev/urandom can't be empty and hence one should always be able to read something.
Sorry for not being able to help.
-
It might be that the entropy pool is depleted. But just don't ask me why and how to solve ...
-
In this case, i suppose that the only solution is to upgrade to lenny.
I saw that the user Vollstrecker made package for debian, i have used his package with etch without any problem.
Regards.