gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] Segmentaton fault


From: Eric Merritt
Subject: Re: [Gcl-devel] Segmentaton fault
Date: Thu, 22 Apr 2004 15:25:52 -0700 (PDT)

--- Camm Maguire <address@hidden> wrote:
> Greetings!  What is happening here is that the C
> stack is overflowing,
> raising a sigsegv, triggering the
> segmentation_catcher handler which
> has rudimentary code reporting C stack overflow
> conditions, but being
> unable to call it as there is no more C stack space.
>  I just tried
> mprotecting the last page of C stack PROT_READ or
> some such --
> mprotect won't work on the stack.  If you know of a
> way to raise the
> sigsegv in advance of being absolutely out of C
> stack space, which
> would allow the error handler to run, I'd be happy
> to consider
> implementing it.


 I am sorry that I don't. I know enough C to get
myself into trouble, but I don't have much experience
with the internals of C and signal handling. Sorry.


        
                
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25ยข
http://photos.yahoo.com/ph/print_splash




reply via email to

[Prev in Thread] Current Thread [Next in Thread]