|
Boost Users : |
Subject: Re: [Boost-users] Segmentation fault in lagged fibonacci random number generator
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-07-20 15:23:13
AMDG
Moritz Beber wrote:
> I have a very strange segmentation fault in lagged fibonacci and
> unfortunately, I was not able to reduce the problem to a simple
> example yet. I know that stinks of the problem coming from my code but
> please bear with me for a moment.
>
> I have two classes that both use the same other class for some random
> number generation. The two classes differ only in one unrelated
> function. If I run my program with one class everything works just
> fine, if I run it with the other after a few iterations the error
> occurs. I have no idea why, since they both use the exact same class
> from which the error occurs.
Are you overflowing the stack? Pseudo-random number generators
can be rather large.
In Christ,
Steven Watanabe
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net