unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* How Do I Debug a Boot Error?
@ 2010-12-17 19:33 Noah Lavine
  2010-12-20 22:04 ` Ludovic Courtès
  2010-12-20 22:52 ` Andy Wingo
  0 siblings, 2 replies; 4+ messages in thread
From: Noah Lavine @ 2010-12-17 19:33 UTC (permalink / raw)
  To: guile-devel

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.

Thanks
Noah



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-20 23:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-17 19:33 How Do I Debug a Boot Error? Noah Lavine
2010-12-20 22:04 ` Ludovic Courtès
2010-12-20 22:52 ` Andy Wingo
2010-12-20 23:37   ` Noah Lavine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).