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:52:02 +1000

Sorry for the top-post, but now I'm pretty sure I know what the problem is.

I wasn't sure how to create the .x files, so I simply created them all as blank files! Obviously this isn't right, so if anyone can send me the .x files, or simple instructions on how to create them *without* any GNU tools, that would be great.

----- Original Message -----
From: "Dylan Nicholson" <address@hidden>
To: "Neil Jerram" <address@hidden>
Cc: <address@hidden>
Sent: Tuesday, October 11, 2005 8:38 AM
Subject: Re: libguile on Windows


----- 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]