From: Yukihiro Matsumoto Date: 2006-12-09T01:21:41+09:00 Subject: Re: Segmentation fault - bignorm() Hi, In message "Re: Segmentation fault - bignorm()" on Sat, 9 Dec 2006 00:41:51 +0900, ico@pruts.nl (Ico Doornekamp) writes: | Program received signal SIGSEGV, Segmentation fault. | [Switching to Thread -1479578976 (LWP 27229)] | 0xa7ea6ce3 in bignorm (x=2815056860) at bignum.c:106 | 106 while (len-- && !ds[len]) ; |#0 0xa7ea6ce3 in bignorm (x=2815056860) at bignum.c:106 | len = 1100466652 | ds = (unsigned int *) 0x0 This is a direct reason for segmentation fault. Both len and ds have invalid values. But I need why they have corrupted. Could you ask your user to show us the value of x shown by p *(struct RBignum*)x in addition to values for two arguments for rb_big_mul() by same order? matz.