aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: What does this kadmelia "failure" mean?  (Read 11025 times)

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
What does this kadmelia "failure" mean?
« on: April 08, 2010, 06:47:06 AM »

Im currently only uploading files 24/7.
All aMule activity was halted due to this:

Akademlia/kademlia/Entry.cpp(469): assert "!m_publishingIPs->empty()" failed in ReCalculateTrustValue().

ASSERT INFO:
kademlia/kademlia/Entry.cpp(584): assert "wxAssertFailure" failed in WriteTagListWithPublishInfo().

BACKTRACE:
[1] Kademlia::CKeyEntry::WriteTagListWithPublishInfo(CFileDataIO*) /home/rrm/tmp/amule/src/kademlia/kademlia/Entry.cpp:585
[2] Kademlia::CIndexed::SendValidKeywordResult(Kademlia::CUInt128 const&, SSearchTerm const*, unsigned int, unsigned short, bool, bool, unsigned short, Kademlia::CKadUDPKey const&) /home/rrm/tmp/amule/src/kademlia/kademlia/Indexed.cpp:770
[3] Kademlia::CKademliaUDPListener::Process2SearchKeyRequest(unsigned char const*, unsigned int, unsigned int, unsigned short, Kademlia::CKadUDPKey const&) /home/rrm/tmp/amule/src/kademlia/net/KademliaUDPListener.cpp:1300
[4] Kademlia::CKademliaUDPListener::ProcessPacket(unsigned char const*, unsigned int, unsigned int, unsigned short, bool, Kademlia::CKadUDPKey const&) /home/rrm/tmp/amule/src/kademlia/net/KademliaUDPListener.cpp:321
[5] Kademlia::CKademlia::ProcessPacket(unsigned char const*, unsigned int, unsigned int, unsigned short, bool, Kademlia::CKadUDPKey const&) /home/rrm/tmp/amule/src/kademlia/kademlia/Kademlia.cpp:302
[6] CClientUDPSocket::OnPacketReceived(unsigned int, unsigned short, unsigned char*, unsigned int) /home/rrm/tmp/amule/src/ClientUDPSocket.cpp:137
[7] CMuleUDPSocket::OnReceive(int) /home/rrm/tmp/amule/src/MuleUDPSocket.cpp:183
[8] CClientUDPSocket::OnReceive(int) /home/rrm/tmp/amule/src/ClientUDPSocket.cpp:72
[9] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) cons)
[10] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[11] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[12] wxEvtHandler::ProcessEvent(wxEvent&)
[13] wxEvtHandler::ProcessPendingEvents()
[14] wxAppConsole::ProcessPendingEvents()
[15] wxAppBase::ProcessIdle()
[16] g_main_context_dispatch()
[17] g_main_loop_run()
[18] gtk_main()
[19] wxEventLoop::Run()
[20] wxAppBase::MainLoop()


Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: What does this kadmelia "failure" mean?
« Reply #1 on: April 08, 2010, 12:16:14 PM »

Dear RRM,

I don't have the sightlest idea about Kad, it seems some people are attacking it so that could be the cause.

Anyways, run amule under gdb and try to reproduce this an get a more detailed backtrace, I guess that will help developers.

Cheers,
BTK
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: What does this kadmelia "failure" mean?
« Reply #2 on: April 08, 2010, 06:45:09 PM »

Thank you Bill.
aMule doesnt crash, it just halts all activity,
until i press "continue" (but when im not home, that can take all day)

When i got home, there were a whole bunch of these warnings; 14 i think.
GDB just says:
Code: [Select]
2010-04-08 06:55:03: SafeFile.cpp(475): Invalid Kad tag; type=0xd8 name=
 2010-04-08 07:05:20: SafeFile.cpp(475): Invalid Kad tag; type=0x25 name=
 2010-04-08 07:23:05: SafeFile.cpp(475): Invalid Kad tag; type=0xaa name=
 2010-04-08 07:27:05: SafeFile.cpp(475): Invalid Kad tag; type=0xed name=
 2010-04-08 08:31:01: SafeFile.cpp(475): Invalid Kad tag; type=0x26 name=
 2010-04-08 08:33:23: SafeFile.cpp(475): Invalid Kad tag; type=0x0b name=
 2010-04-08 08:43:07: SafeFile.cpp(475): Invalid Kad tag; type=0xad name=
 2010-04-08 09:17:04: SafeFile.cpp(475): Invalid Kad tag; type=0x95 name=
 2010-04-08 09:45:11: SafeFile.cpp(475): Invalid Kad tag; type=0xa4 name=
 2010-04-08 10:38:45: SafeFile.cpp(475): Invalid Kad tag; type=0x9e name=
 2010-04-08 12:38:42: SafeFile.cpp(475): Invalid Kad tag; type=0xa3 name=
 2010-04-08 13:20:28: SafeFile.cpp(475): Invalid Kad tag; type=0x12 name=
 2010-04-08 13:53:40: SafeFile.cpp(475): Invalid Kad tag; type=0x30 name=
 2010-04-08 14:40:47: SafeFile.cpp(475): Invalid Kad tag; type=0x29 name=

Could it be that 'they' are targeting mega-uploaders?
« Last Edit: April 08, 2010, 06:49:38 PM by RRM »
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: What does this kadmelia "failure" mean?
« Reply #3 on: April 09, 2010, 12:18:35 AM »

This usually means a corrupted index. The assertion means that aMule has found a file with no publishers in the index, which should normally be an impossible situation.
Logged
concordia cum veritate

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: What does this kadmelia "failure" mean?
« Reply #4 on: April 09, 2010, 01:31:10 AM »

RRM, are you still using a debug build ?
I think in a release build it would just skate over the problem.
And if it happened just once, lets file it in the "shit happens" category.  ;)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: What does this kadmelia "failure" mean?
« Reply #5 on: April 09, 2010, 06:28:18 AM »

Thank you Gonosz.

RRM, are you still using a debug build ?

Yes.
Should i build a new version disabling debug enabling optimize?

Quote
And if it happened just once, lets file it in the "shit happens" category.  ;)

It was the third time. First time i ignored it.
Second time it was just one warning.
The third time there were 14.
Nothing happened this past night.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: What does this kadmelia "failure" mean?
« Reply #6 on: April 09, 2010, 01:31:24 PM »

Should i build a new version disabling debug enabling optimize?
You should always enable optimize at the load you are running.
And yes, I suggest you disable debug for now.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: What does this kadmelia "failure" mean?
« Reply #7 on: April 09, 2010, 07:23:45 PM »

hmmm, i must have done something wrong.
Maybe here?
Code: [Select]
./configure --prefix=/usr/local/stow/amule-opt/ --enable-geoip --enable-optimize --disable-debug --mandir=/share/bin

aMule starts running (aMule SVN using wxGTK2 v2.8.10 (Snapshot: rev. 10084)).
Normally connects automatically, but not now.
After i press "connect" (eD2k and KAD not connected), aMule says "connecting"
but after 20 minutes still nothing happens.
« Last Edit: April 09, 2010, 07:29:38 PM by RRM »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: What does this kadmelia "failure" mean?
« Reply #8 on: April 09, 2010, 07:44:18 PM »

Application based firewall blocking app with different checksum?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: What does this kadmelia "failure" mean?
« Reply #9 on: April 09, 2010, 07:51:21 PM »

Thank you Stu.
Why wasnt this an issue with previous aMule versions?

I didnt even know that there was such a firewall in Ubuntu.
How can i check this firewall?
Through ufw?
« Last Edit: April 09, 2010, 08:40:51 PM by RRM »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: What does this kadmelia "failure" mean?
« Reply #10 on: April 09, 2010, 09:47:03 PM »

It was just a wild speculation.
Wait a moment...
Normally connects automatically, but not now.
Since 10074 aMule loads the IP filter in the the background and then connects. Could it be that you hit the connect button while the filter still loaded and actually disconnected it?
Just restart it. Switch to the log view. It should say "IP filter is ready" after a while and then "Connecting".
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: What does this kadmelia "failure" mean?
« Reply #11 on: April 10, 2010, 12:08:25 AM »

Arrg, there was a bug in the IP filter. If  "IP filter update on startup" was selected and URL was empty or bad, aMule never connected to the network.  :o
Fixed in 10086. Update or check your ip filter settings.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: What does this kadmelia "failure" mean?
« Reply #12 on: April 10, 2010, 06:36:30 AM »

Hmm, when i call "git pull", it says "already up-to-date".
So, maybe i should wait a few hours, right?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: What does this kadmelia "failure" mean?
« Reply #13 on: April 10, 2010, 01:29:42 PM »

Git is updated only when GonoszTopi finds time to do it.
Meanwhile just disable automatic filter update, or enter a valid URL.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: What does this kadmelia "failure" mean?
« Reply #14 on: April 10, 2010, 06:31:42 PM »

I get it.
Aaaah, that works perfectly.
Thank you Stu.
Logged
Pages: [1] 2