Sergey Khorev wrote:
> > I have a problem building with the MzScheme interface on a newly updated
> > Ubuntu 12.10 system. The errors are:
> >
> > /home/mool/vim/vim73/src/if_mzsch.c|632 col 3| error: #error
> > MzScheme 4.x must include mzscheme_base.c, for MinGW32 you need to
> > define MZSCHEME_GENERATE_BASE=yes
> > || if_mzsch.c: In function ‘startup_mzscheme’:
>
> Have you run make autoconf? I didn't include rebuilt auto/configure
> because my version of autoconf is older than yours.
Yes, autoconf has run. As I said, I don't see MZSCHEME_GENERATE_BASE
defined in the configure script anywhere.
> > This looks weird:
>
> > -#ifdef SIGSEGV
> > +#if defined(SIGSEGV) && !defined(FEAT_MZSCHEME)
> > + /* MzScheme uses SEGV in its garbage collector */
> > {SIGSEGV, "SEGV", TRUE},
> > #endif
> > How can a garbage collector use SEGV and still handle real errors
> > properly? With this change a SEGV would trigger the garbage collector
> > and then what? Crash-loop?
>
> When GC traverses heap or stack, it uses SIGSEGV as a sign that it
> reached the end of allocated memory. Unfortunately it assumes that the
> host application will not want to handle SIGSEGV itself. If the
> application receives genuine SIGSEGV it will follow the normal
> procedure with "core dumped" etc..
I do not think it's guaranteed one can recover from a SIGSEGV. Or that
you always get a SIGSEGV when accessing memory that doesn't exist,
e.g. when running valgrind. Thus that's a problem in MzScheme.
--
hundred-and-one symptoms of being an internet addict:
44. Your friends no longer send you e-mail...they just log on to your IRC
channel.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php