[#9722] Kernel#system broken inside Dir.chdir(&block) if system command doesn't have shell characters — <noreply@...>

Bugs item #7278, was opened at 2006-12-14 13:59

8 messages 2006/12/14

[#9749] System V IPC in standard library? — Steven Jenkins <steven.jenkins@...>

Back in August, I needed a semaphore to serialize access to an external

14 messages 2006/12/19

[#9753] CVS freeze — SASADA Koichi <ko1@...>

Hi,

20 messages 2006/12/20
[#9755] Re: [ruby-dev:30039] CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

[#9757] Re: [ruby-dev:30040] Re: CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

Re: Segmentation fault - bignorm()

From: Yukihiro Matsumoto <matz@...>
Date: 2006-12-08 16:21:41 UTC
List: ruby-core #9686
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.

In This Thread