| View previous topic :: View next topic |
| Author |
Message |
rickyepoderi neophyte
Joined: 14 Jan 2006 Posts: 2 Location: SPAIN
|
Posted: Sat Jan 14, 2006 7:48 pm Post subject: mulus core dump on solaris |
|
|
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
Good job guys. |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
|
| Back to top |
|
 |
Knocker professional

Joined: 05 Nov 2002 Posts: 612 Location: Germany
|
Posted: Sun Jan 15, 2006 9:11 am Post subject: Re: mulus core dump on solaris |
|
|
| 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  |
|
| Back to top |
|
 |
rickyepoderi neophyte
Joined: 14 Jan 2006 Posts: 2 Location: SPAIN
|
Posted: Sun Jan 15, 2006 12:18 pm Post subject: |
|
|
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 ,
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 |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
|
| Back to top |
|
 |
|
|
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
|
Powered by phpBB © phpBB Group
|
|
|
|