
20 Jul
2010
20 Jul
'10
7:23 p.m.
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