MLDonkey Forum Index
Homepage •  Bugs •  Tasks •  Patches •  SF.net Project Page •  ChangeLog •  German forum •  Links •  Wiki •  Downloads
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
mulus core dump on solaris

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    MLDonkey Forum Index -> Mulus - Archive
View previous topic :: View next topic  
Author Message
rickyepoderi
neophyte


Joined: 14 Jan 2006
Posts: 2
Location: SPAIN

PostPosted: Sat Jan 14, 2006 7:48 pm    Post subject: mulus core dump on solaris Reply with quote

Hi,

I'm mldonkey user but i'm going to try mulus version (i'm not
very happy with actual mulus 2.6.x and 2.7.x versions). My favourite
one was 2.5.16w from knocker but i think now it's time for a change.

The problem is my OS is Solaris (10 right now) and mulus 0.18.1 has a
problem in tiger_hash function of tiger.c source file that makes
mulus core dump. This bug is solved in actual mldonkey (2.7.x)
versions (these days i've been probing several versions). I solve the
problem in mulus doing a little code change i've read when i had
2.5.12 version.

I'm just reporting the bug, i don't know how difficult is backport
the solution from 2.7.x versions Smile

Good job guys.
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Sat Jan 14, 2006 9:04 pm    Post subject: Reply with quote

Check this patch: https://savannah.nongnu.org/patch/?func=detailitem&item_id=4657
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
Knocker
professional


Joined: 05 Nov 2002
Posts: 612
Location: Germany

PostPosted: Sun Jan 15, 2006 9:11 am    Post subject: Re: mulus core dump on solaris Reply with quote

rickyepoderi wrote:

I'm mldonkey user but i'm going to try mulus version (i'm not
very happy with actual mulus 2.6.x and 2.7.x versions).

Did you mean "actual mulus 0.17x 0.18x" or "actual mldonkey 2.6x 2.7x"?

Quote:

I solve the
problem in mulus doing a little code change i've read when i had
2.5.12 version.

So you fixed it already? Can you send me a patch? Or post it here?

@spiralvoice:
Thanks for looking up which patch could solve the problem. This saves me a lot of time Smile
Back to top
View user's profile Send private message
rickyepoderi
neophyte


Joined: 14 Jan 2006
Posts: 2
Location: SPAIN

PostPosted: Sun Jan 15, 2006 12:18 pm    Post subject: Reply with quote

Sorry knocker the versions i don't like very much are mldonkey
new ones. I don't know why but mldonkey 2.6.x and new 2.7.x are
very aggressive on my little ultra-10.

knocker, Spiralvoice take a look at this thread, it seems is the problem:
http://mldonkey.berlios.de/modules.php?name=Forums&file=viewtopic&p=12516
In new mldonkey versions i haven't seen this problem.

Yes i've changed the code in tiger.c but it's not my change Cool,
i read the solution on internet when i used mldonkey 2.5.12. The solution
is using a temporary array (i don't know very much about it but i think
is a workaround solution not a real one).

The function tiger_hash i have is as follows:

Code:

void tiger_hash(char prefix, char *s, int len, unsigned char *digest)
{
  char *buffer = (char*) tiger_buffer;
  word64 ndigest[3];

  buffer[0] = prefix;
  memcpy(buffer +1, s, len);

  memcpy(ndigest, digest, 3 * sizeof(word64));
  static_tiger(tiger_buffer, (len +1), (word64*) (ndigest));
  memcpy(digest, ndigest, 3 * sizeof(word64));

  swap_digest(digest);

/*
  char *buffer = (char*) tiger_buffer;
 
  buffer[0] = prefix;
  memcpy(buffer +1, s, len);
  static_tiger(tiger_buffer, (len +1), (word64*) (digest));
 
  swap_digest(digest);
*/
/*
{int i; char* r = (char*)digest;
      printf("Tiger Hash: ");
      for(i=0; i<24; i++){
         printf("%c%c", hexa((r[i] & 0xf0) >> 4), hexa(r[i] & 0xf));
      }
      printf("\n");
}
*/
}
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Tue Jul 04, 2006 12:27 am    Post subject: Reply with quote

Use Ocaml 3.09.1 on Sparc platforms, there was a bug in earlier versions resulting into SIGBUS errors.
http://caml.inria.fr/mantis/view.php?id=3944
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    MLDonkey Forum Index -> Mulus - Archive All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Sourceforge.net Logo