[Beowulf] mpich program segfaults

Andrew Wang andrewxwang at yahoo.com.tw
Thu Mar 4 20:05:28 EST 2004


the default stack size on OSX is 512 KB, try to
increase it to 64MB, I encountered this problem
before.

Andrew.

 --- Glen Kaukola <glen at cert.ucr.edu> 的訊息:>
Suvendra Nath Dutta wrote:
> 
> >Glen,
> >	I am sorry, I meant buffer-overrun instead of
> memory overrun. It
> >is of course impossible to say, but you are
> describing a classic
> >description of buffer overrun. Program
> seg-faulting, some where there
> >shouldn't be a problem. This is usually because
> you've over run the array
> >limits and are writing on the program space.
> >  
> >
> 
> Ok, but simply calling a subroutine shouldn't cause
> a buffer overrun 
> should it?  Especially when none of the arguments
> being passed to the 
> subroutine are dynamically allocated.  I'm beginning
> to suspect it's a 
> problem with the compiler actually.  Maybe the stack
> that holds 
> subroutine arguments isn't big enough.  And when my
> problematic 
> subroutine call is 4 levels deep or so like it is,
> then there isn't 
> enough room on the stack for it's arguments.
> 
> Glen
> 
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or
> unsubscribe) visit
http://www.beowulf.org/mailman/listinfo/beowulf 

-----------------------------------------------------------------
每天都 Yahoo!奇摩
海的顏色、風的氣息、愛你的溫度,盡在信紙底圖
http://tw.promo.yahoo.com/mail_premium/stationery.html
_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list