tadd1sp.exe caused an Access Violation at location d9574abd Reading from location d9574abd. Registers: eax=0022fd48 ebx=0000001f ecx=00000000 edx=00000001 esi=00000001 edi=00000008 eip=d9574abd esp=0022fd1c ebp=0022fdc8 iopl=0 nv up ei pl nz na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000202 Call stack: D9574ABD 6AF60F4D libmpfr.dll:6AF60F4D parsed_string_to_mpfr strtofr.c:490 static int parsed_string_to_mpfr( __mpfr_struct * x = &{ mpfr_prec_t _mpfr_prec = 53, mpfr_sign_t _mpfr_sign = 1, mp_exp_t _mpfr_exp = -2147483647, mp_limb_t * _mpfr_d = 0x003d379c }, struct parsed_string * pstr = &{ int negative = 0, int base = 10, unsigned char * mantissa = 0x003d37f8, unsigned char * mant = 0x003d37f8, size_t prec = 1, size_t alloc = 6, mp_exp_t exp_base = 101, mp_exp_t exp_bin = 0 }, mpfr_rnd_t rnd = GMP_RNDN ) ... /* shift {y, num_limb} for count bits to the left */ if (count != 0) > mpn_lshift (y, y, real_ysize, count); /* shift {y, num_limb} for (ysize-num_limb) limbs to the left */ if (real_ysize != ysize) ... 6AF6158B libmpfr.dll:6AF6158B mpfr_strtofr strtofr.c:713 int mpfr_strtofr( __mpfr_struct * x = &{ mpfr_prec_t _mpfr_prec = 53, mpfr_sign_t _mpfr_sign = 1, mp_exp_t _mpfr_exp = -2147483647, mp_limb_t * _mpfr_d = 0x003d379c }, const char * string = &0, char * * end = &0x00000000, int base = 10, mpfr_rnd_t rnd = GMP_RNDN ) ... free_parsed_string (struct parsed_string *pstr) { > (*__gmp_free_func) (pstr->mantissa, pstr->alloc); } ... 6AF5E3B7 libmpfr.dll:6AF5E3B7 mpfr_set_str set_str.c:33 int mpfr_set_str( __mpfr_struct * x = &{ mpfr_prec_t _mpfr_prec = 53, mpfr_sign_t _mpfr_sign = 1, mp_exp_t _mpfr_exp = -2147483647, mp_limb_t * _mpfr_d = 0x003d379c }, const char * str = &'1', int base = 10, mpfr_rnd_t rnd = GMP_RNDN ) ... return -1; mpfr_strtofr (x, str, &p, base, rnd); > return (*p == 0) ? 0 : -1; } ... 004015D3 tadd1sp.exe:004015D3 check_special tadd1sp.c:152 void check_special( ) ... SET_PREC(53); mpfr_set_str1 (b, "1@100"); > mpfr_set_str1 (c, "1@1"); inexact1 = mpfr_add1(a1, b, c, (mp_rnd_t) r); inexact2 = mpfr_add1sp(a2, b, c, (mp_rnd_t) r); ... 0040196A tadd1sp.exe:0040196A main tadd1sp.c:66 int main( ) ... tests_start_mpfr (); > check_special (); for(p = 2 ; p < 200 ; p++) check_random (p); ... 004011E7 tadd1sp.exe:004011E7 00401238 tadd1sp.exe:00401238 7C816FD7 kernel32.dll:7C816FD7 RegisterWaitForInputIdle