coroutining is now a part of attvars.
some more fixes. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1070 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
13
C/sysbits.c
13
C/sysbits.c
@@ -878,16 +878,17 @@ static void
|
||||
HandleSIGSEGV(int sig, siginfo_t *sip, ucontext_t *uap)
|
||||
{
|
||||
|
||||
#if !USE_SYSTEM_MALLOC
|
||||
if (sip->si_code != SI_NOINFO &&
|
||||
sip->si_code == SEGV_MAPERR &&
|
||||
(void *)(sip->si_addr) > (void *)(Yap_HeapBase) &&
|
||||
(void *)(sip->si_addr) < (void *)(Yap_TrailTop+64 * 1024L) &&
|
||||
! USE_SYSTEM_MALLOC) {
|
||||
(void *)(sip->si_addr) < (void *)(Yap_TrailTop+64 * 1024L)) {
|
||||
Yap_growtrail(64 * 1024L);
|
||||
}
|
||||
else {
|
||||
Yap_Error(FATAL_ERROR, TermNil,
|
||||
"likely bug in YAP, segmentation violation at %p", sip->si_addr);
|
||||
} else
|
||||
#endif
|
||||
{
|
||||
Yap_Error(FATAL_ERROR, TermNil,
|
||||
"likely bug in YAP, segmentation violation at %p", sip->si_addr);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user