Re: Re: Constant IDE crashes
Roger Corman <[email protected]> Thu, 03 Apr 2003 18:31:56 -0800
| Newsgroups | gmane.lisp.corman |
|---|---|
| Message-ID | <[email protected]> |
This is a pretty generic error that happens whenever some heap corruption occurs. It means that during garbage collection, some system exception was generated (probably a messed up pointer or something) which caused an attempt to allocate an exception object, which caused the garbage collector to get invoked (again). The collector knows that this means there was some sort of problem, and gives this (cryptic) message. The thing to look for is whether any foreign manipulations are referencing invalid pointers, or otherwise causing a heap foulup. It is as easy to do when using the FFI in Corman Lisp as it would be if you were programming in C (unfortunately). Roger ------------------------------------------ At 07:17 PM 4/3/2003 +0000, you wrote: >--- In [email protected], Roger Corman <roger@c...> wrote: >> Regarding your question about whether freeing memory is required: >> >> The garbage collector will automatically free any memory allocated >via ct:malloc so you do not usually need to call ct:free. In fact, >it is usually safer not to (in case pointer is inadvertantly shared). >> > >The IDE just gave me an interesting error... > >"A system error has occurred. You have entered the garbage collector >recursively. All Lisp threads will be exited and you will need to >restart Corman Lisp to continue executing Lisp code." > > > > > >To unsubscribe from this group, send an email to: >[email protected] > > > >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/xaxhjB/hdqFAA/VygGAA/SyjtlB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/