[chord] Segmentation Fault
Mosiuoa Tsietsi
g06t6632 at campus.ru.ac.za
Thu Aug 10 07:02:48 EDT 2006
Hi,
Sorry for the delay. I started everything from scratch, did a make
clean in the sfs and chord build directories, reconfigured from the
sources and did a new make for sfs and chord. I checked what version I
had gor gmp, it's gmp v 4.1.3. I rand the lsd daemon again and voila,
everything is fine. WAs even able to start soe additional nodes on the
same machine. Still not sure what weas going wrong though, but IM glad
its fixed.
Thanks again for the help. I will continue to explore CHORD and look
formward to developing applications on top of it.
Cheers!
Emil Sit wrote:
>On Sun, 06 August 2006 at 13:48 (+0200), Mosiuoa Tsietsi wrote:
>
>
>>Program received signal SIGSEGV, Segmentation fault.
>>[Switching to Thread -1208392000 (LWP 11826)]
>>0x002cf7b3 in realloc () from /usr/lib/libdmalloc.so
>>(gdb) bt
>>#0 0x002cf7b3 in realloc () from /usr/lib/libdmalloc.so
>>#1 0x00ebfbb1 in __gmp_default_reallocate (oldptr=0x92622f0, old_size=4,
>> new_size=28) at memory.c:94
>>#2 0x00ed0adc in __gmpz_realloc (m=0xbffb6a50, new_alloc=7) at realloc.c:33
>>#3 0x00ece36f in __gmpz_mul_2exp (w=0xbffb6a50, u=0xbffb6a50,
>>cnt=Variable "cnt" is not available.
>>)
>> at mul_2exp.c:44
>>#4 0x080cde13 in bigint::operator<<= (this=0xbffb6a50, ui=160)
>> at /usr/local/cvsroot/sfs1/crypt/bigint.h:199
>>
>>
>
>I'm not really sure what is going on here. The error suggests
>perhaps that the variable in question has been freed but it was
>just allocated and initialized the line before.
>
>What version of gmp comes with your system?
>
>Does this error also happen when you run without dmalloc?
>
>
>
More information about the chord
mailing list