[Top][All Lists]

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

How Do I Debug a Boot Error?

From: Noah Lavine
Subject: How Do I Debug a Boot Error?
Date: Fri, 17 Dec 2010 14:33:50 -0500

Hello all,

I've managed to get Guile to give me this error when it starts up:

;;; compiling /Users/noah/Desktop/guile/guile/module/language/objcode/spec.scm
guile: uncaught throw to wrong-type-arg: (#f Wrong type (expecting
~A): ~S (exact integer (#t #<catch-closure 1037f88a0> #<catch-closure
1037f8880> #<catch-closure 1037f8860>)) ((#t #<catch-closure
1037f88a0> #<catch-closure 1037f8880> #<catch-closure 1037f8860>)))

How should I debug such a thing? I would like a backtrace at least,
but I'm not sure how to get to one because Guile never gets to the
prompt. I've tried starting it with GUILE_AUTO_COMPILE=0 and then
doing "(use-modules (language objcode spec))", which should cause the
same file to be autocompiled, but that works fine. So it seems like
something odd is happening in the boot sequence.

I could of course start adding printf's to the C boot code, but I was
hoping there was some easier way.


reply via email to

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