[chord] Segmentation Fault

Emil Sit sit at MIT.EDU
Tue Aug 8 09:42:41 EDT 2006


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?

-- 
Emil Sit / MIT CSAIL PDOS / http://pdos.csail.mit.edu/chord/  



More information about the chord mailing list