[Prev][Next][Index][Thread]

Stack in OSKIT



Hi,
I just wondered why, when I make the stack of a process to be an independent
segment, the whole thing crashes with no warning messages or the like? When
I make the stack a part of DS (like allocating more memory for the DS
segment than needed and placing the stack just behind the data) everything
works ok! The two small processes I made just to test this made a simple
"for" loop, just incrementing a variable, not even "printf"-ing or the
like... I have no objections to placing the stack in the DS segment, but how
one detects stack overflows like this?

P.S. Please, respond to me directly, because I have no means of reading the
oskit-mailing list for the time being.

=================================
To subscribe or unsubscribe, send mail with "subscribe" or "unsubscribe"
to oskit-users-request@flux.cs.utah.edu.  The oskit-announce list is low
volume - if you want to subscribe, mail oskit-announce-request@flux.cs.utah.edu