----- Original Message ----- From: "Neil Jerram" <[EMAIL PROTECTED]>

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.





_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to