Bug#284978: general: libgmp segfaults on generating 48402688-bit random number

2004-12-11 Thread Laurent Fousse
reassign 284978 gmp * Tom Womack [Sat, Dec 11, 2004 at 11:39:37AM -]: > I've just checked that this wasn't a stupid problem to do with missing > mpz_init() commands; if you insert > > mpz_init(A); mpz_init(B); mpz_init(C); > > before the first mpz_urandomb() call, it still segfaults in the

Processed: Re: Bug#284978: general: libgmp segfaults on generating 48402688-bit random number

2004-12-11 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]: > reassign 284978 gmp Bug#284978: general: libgmp segfaults on generating 48402688-bit random number Bug reassigned from package `general' to `gmp'. > * Tom Womack [Sat, Dec 11, 2004 at 11:39:37AM -]: Unknown command or malfor

Bug#284978: general: libgmp segfaults on generating 48402688-bit random number

2004-12-11 Thread Tom Womack
Thomas Womack <[EMAIL PROTECTED]> writes: Do you have libgmp2-dev or libgmp3-dev installed? I have libgmp2, libgmp3 4.0.1-3 and libgmp3-dev 4.0.1-3, so you're using later versions of all the relevant packages (indeed, since you're on amd64, on entirely different hardware) and the bug is still th

Bug#284978: general: libgmp segfaults on generating 48402688-bit random number

2004-12-10 Thread Laurent Fousse
Hi, * Thomas Womack [Thu, Dec 09, 2004 at 10:18:29PM +]: > The program [...] > segfaults in the mpz_urandomb() function > with a back-trace > #0 0x4003d051 in __gmpn_copyi () from /usr/lib/libgmp.so.3 > #1 0x40023012 in __gmp_randinit_lc_2exp () from /usr/lib/libgmp.so.3 > #2 0x4002310d in

Bug#284978: general: libgmp segfaults on generating 48402688-bit random number

2004-12-09 Thread Goswin von Brederlow
Thomas Womack <[EMAIL PROTECTED]> writes: > Package: general > Version: 20041209 > Severity: normal > > The program > > #include > #include > #include > #include "gmp.h" Do you have libgmp2-dev or libgmp3-dev installed? > int main(int argc, char** argv) > { > mpz_t A,B,C; > gmp_randstate_

Bug#284978: general: libgmp segfaults on generating 48402688-bit random number

2004-12-09 Thread Thomas Womack
Package: general Version: 20041209 Severity: normal The program #include #include #include #include "gmp.h" int main(int argc, char** argv) { mpz_t A,B,C; gmp_randstate_t state; gmp_randinit_default(state); gmp_randseed_ui(state, 3); mpz_urandomb(A, state, 48402688); mpz_urandom