Re: [m5-dev] fata: Over max stack size for one thread

2009-01-27 Thread Steve Reinhardt
I don't have the code in front of me, but I'm guessing there's a constant you can increase if you really need more stack space. Note that it's a stack issue and not a heap issue, so the problem is probably either an infinite recursion or a large local array and not anything to do with malloc.

Re: [m5-dev] fata: Over max stack size for one thread

2009-01-27 Thread Ali Saidi
Malloced storage is placed on the heap, not the stack. There is a constant near the fatal that you can change, but normally this error means that there is infinite recursion or it could mean you're trying to allocate a large array (multiple megabytes) on the stack. Ali On Jan 27, 2009,

Re: [m5-dev] fata: Over max stack size for one thread

2009-01-27 Thread nathan binkert
Daniel's pthreads library only works with gem5, are you using the gem5 or m5 tree? (I thought you said m5 in your message to me before). Nate I think it might have to do with Daniel's pthreads library written for SE mode. That's my guess. Polina On Tue, Jan 27, 2009 at 3:14 PM, Ali