Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Segmentation fault

by jasonk (Parson)
on Jun 26, 2007 at 12:56 UTC ( [id://623387]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Segmentation fault
in thread Segmentation fault

The problem is there is no portable way to determine that you are about to run out of stack space...


We're not surrounded, we're in a target-rich environment!

Replies are listed 'Best First'.
Re^4: Segmentation fault
by jettero (Monsignor) on Jun 26, 2007 at 14:09 UTC
    I know almost nothing about it ... but it seems to me you could set a static limit for arch where there's no way to check how much stack space is left? Or is it dynamically allocated at random sizes on those platforms?

    Is it unreasonable to keep track of this sort of thing some place other than the stack? (I seem to recall the word heap for this context or something similar to it.)

    -Paul

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://623387]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-19 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found