aMule Forum

English => Compilation problems => Topic started by: klode82 on May 31, 2017, 07:44:44 AM

Title: SVN 10983 on Pine64 Aarch64 Ununtu Xenial
Post by: klode82 on May 31, 2017, 07:44:44 AM
Good morning at all,
I'm workking again with amule SVN. thanks to GonoszTopi, I've compiled successfully my version of aMule for this platform, a PineA64+ 2Gb, with Aarch64 Linux Architecture Distro (Ubuntu Xenial)

So, I've some trouble with this version, because it seems to be slow, and I don't referring on download speed, but in the use of the same application. I'm testing web server as the remote GUI. Even from the same machine as from another machine. The result is the same. It shows screen after many time, when I try to close amuled, it gets many time (about 10 minutes)...

So, maybe there is some tips&tricks to boost something the app.


This is my configure:

Code: [Select]
$ ./configure --with-gdlib-config=/usr/lib/aarch64-linux-gnu --with-wxdir=/home/leocric/src/amule/wx/build --with-boost=/home/leocric/src/boost_1_58_0 --with-crypto-prefix=/home/leocric/src/amule_new/cryptopp --enable-alcc --enable-webserver --enable-amule-daemon --enable-optimize --enable-debug --enable-amule-gui --disable-monolithic --disable-upnp

I have added the source of boost otherwise I got some errors about boost (it cannot found any version instead).

thanks for your supply.
Title: Re: SVN 10983 on Pine64 Aarch64 Ununtu Xenial
Post by: klode82 on May 31, 2017, 10:44:58 AM
Another issue... When I have Download files, the Upload gone to 1,1kb/s, if I stop all downloads, the Uploads gone to 400kb/s (really!)
 ???
Title: Re: SVN 10983 on Pine64 Aarch64 Ununtu Xenial
Post by: klode82 on May 31, 2017, 10:46:34 AM
Oh, I have captured this issue:

Code: [Select]
ssertion failed: ../../src/kademlia/net/KademliaUDPListener.cpp:Process2HelloRequest:527: Assertion 'contactVersion >= 2' failed.
acktrace follows:
3] wxOnAssert(char const*, int, char const*, char const*, char const*) in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b2c8034]
4] CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>, 64u, CryptoPP::HashTransformation>::DataBuf() in amuled[0x4e1680]
5] CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>, 64u, CryptoPP::HashTransformation>::DataBuf() in amuled[0x4e5448]
6] std::vector<unsigned short, std::allocator<unsigned short> >::_M_insert_aux(__gnu_cxx::__normal_iterator<unsigned short*, std::vector<unsigned short, std::allocator<unsigned short> > >, unsigned short const&) in amuled[0x4d3458]
7] CryptoPP::InvertibleRSAFunction::InvertibleRSAFunction() in amuled[0x45f740]
8] std::vector<unsigned short, std::allocator<unsigned short> >::_M_insert_aux(__gnu_cxx::__normal_iterator<unsigned short*, std::vector<unsigned short, std::allocator<unsigned short> > >, unsigned short const&) in amuled[0x4996cc]
9] CryptoPP::InvertibleRSAFunction::InvertibleRSAFunction() in amuled[0x45e974]
10] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b2c63fc]
11] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b42c2e0]
12] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b42c440]
13] wxEvtHandler::TryHereOnly(wxEvent&) in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b42c8c8]
14] wxEvtHandler::ProcessEventLocally(wxEvent&) in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b42c974]
15] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b42c9e0]
16] wxEvtHandler::ProcessPendingEvents() in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b42d5dc]
17] wxAppConsoleBase::ProcessPendingEvents() in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b2c886c]
18] wxEventLoopManual::ProcessEvents() in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b30431c]
19] wxEventLoopManual::DoRun() in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b304458]
20] wxEventLoopBase::Run() in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b3040f0]
21] wxAppConsoleBase::MainLoop() in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b2ccbc8]
22] ?? in amuled[0x42c5dc]
23] wxEntry(int&, wchar_t**) in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b34a4f4]
24] ?? in amuled[0x424b28]
25] __libc_start_main in /lib/aarch64-linux-gnu/libc.so.6[0x7f9aeb58a0]
ssertion failed: ../../src/kademlia/net/KademliaUDPListener.cpp:SendMyDetails:158: Assertion 'Assert failure' failed.
acktrace follows:
3] wxOnAssert(char const*, int, char const*, char const*, char const*) in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b2c8034]
4] CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>, 64u, CryptoPP::HashTransformation>::DataBuf() in amuled[0x4dfef4]
5] CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>, 64u, CryptoPP::HashTransformation>::DataBuf() in amuled[0x4e157c]
6] CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>, 64u, CryptoPP::HashTransformation>::DataBuf() in amuled[0x4e5448]
7] std::vector<unsigned short, std::allocator<unsigned short> >::_M_insert_aux(__gnu_cxx::__normal_iterator<unsigned short*, std::vector<unsigned short, std::allocator<unsigned short> > >, unsigned short const&) in amuled[0x4d3458]
8] CryptoPP::InvertibleRSAFunction::InvertibleRSAFunction() in amuled[0x45f740]
9] std::vector<unsigned short, std::allocator<unsigned short> >::_M_insert_aux(__gnu_cxx::__normal_iterator<unsigned short*, std::vector<unsigned short, std::allocator<unsigned short> > >, unsigned short const&) in amuled[0x4996cc]
10] CryptoPP::InvertibleRSAFunction::InvertibleRSAFunction() in amuled[0x45e974]
11] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b2c63fc]
12] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b42c2e0]
13] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b42c440]
14] wxEvtHandler::TryHereOnly(wxEvent&) in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b42c8c8]
15] wxEvtHandler::ProcessEventLocally(wxEvent&) in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b42c974]
16] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b42c9e0]
17] wxEvtHandler::ProcessPendingEvents() in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b42d5dc]
18] wxAppConsoleBase::ProcessPendingEvents() in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b2c886c]
19] wxEventLoopManual::ProcessEvents() in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b30431c]
20] wxEventLoopManual::DoRun() in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b304458]
21] wxEventLoopBase::Run() in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b3040f0]
22] wxAppConsoleBase::MainLoop() in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b2ccbc8]
23] ?? in amuled[0x42c5dc]
24] wxEntry(int&, wchar_t**) in /usr/lib/aarch64-linux-gnu/libwx_baseu-3.0.so.0[0x7f9b34a4f4]
25] ?? in amuled[0x424b28]
26] __libc_start_main in /lib/aarch64-linux-gnu/libc.so.6[0x7f9aeb58a0]

Title: Re: SVN 10983 on Pine64 Aarch64 Ununtu Xenial
Post by: GonoszTopi on June 02, 2017, 11:41:41 AM
Oops, that message tells us you're running a version more than a year old. Please update to the latest sources and try again.
Title: Re: SVN 10983 on Pine64 Aarch64 Ununtu Xenial
Post by: klode82 on June 02, 2017, 02:57:47 PM
Hi GiniszTopi!  :D

Ahm... sorry... What?  :o
I'm using aMule SVN 10983, I think it is just the latest version, I mean.

what package is old more than 1 year?...
Title: Re: SVN 10983 on Pine64 Aarch64 Ununtu Xenial
Post by: GonoszTopi on June 02, 2017, 07:53:10 PM
Code: [Select]
Assertion failed: ../../src/kademlia/net/KademliaUDPListener.cpp:Process2HelloRequest:527: Assertion 'contactVersion >= 2' failed.

This issue was fixed in rev. 10908 (9 Mar 2016), and no later versions can produce this error message. Please make sure the version you run is the same version you think to run...
Title: Re: SVN 10983 on Pine64 Aarch64 Ununtu Xenial
Post by: klode82 on June 04, 2017, 07:02:46 AM
Mr. GonoszTopi, you are the BEST!

I've checked some package still installed on my distro. amule-common, amule-utils and another one package (now I don't remember the name!) was installed, from the Ubuntu repository. I've then removed all packages.

Now, I've installed amule from the new SVN 10989 and it works fine.

There are still some issue, but nothing related compiling.
Title: Re: SVN 10983 on Pine64 Aarch64 Ununtu Xenial
Post by: GonoszTopi on June 05, 2017, 06:23:00 PM
Glad to help :)