guile-user
[Top][All Lists]
Advanced

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

Re: libguile on Windows


From: Dylan Nicholson
Subject: Re: libguile on Windows
Date: Tue, 11 Oct 2005 08:38:26 +1000

----- Original Message ----- From: "Neil Jerram" <address@hidden>

Can you hack the code somehow so that the debug and backtrace options
are set:

 SCM_DEVAL_P = 1;
 SCM_BACKTRACE_P = 1;
 SCM_RESET_DEBUG_MODE;

(This would have to be after the init functions for debug.c.)

I just get

Backtrace:
In unknown file:
  ?: 0*

Then an access violation trying to access a null pointer in unmemocopy (eval.c, line 1291). unmemocopy calls itself recursively using SCM_CAR( ), and at some point SCM_CAR returns 0, which unmemocopy can't handle.

This happens no matter where I put the code (e.g. before callling scm_boot_guile or just before scm_load_startup_files())

Ok, I added an extra test to unmemocopy (to test that the argument is null), and now I get

Backtrace:
In unknown file:
  ?: 0* (define begin-deprecated (procedure->memoizing-macro (lambda # #)))

<unnamed port>: In expression (define begin-deprecated (procedure->memoizing-macro #)):
<unnamed port>: Unbound variable: define


Hope that means more to you than it does to me! I don't understand why I needed to
change unmemocopy though.







reply via email to

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