unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* Error during GC: how can I find out more?
@ 2008-12-05 16:09 Gregory Marton
  2008-12-05 18:28 ` dsmich
  2008-12-07 20:48 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Gregory Marton @ 2008-12-05 16:09 UTC (permalink / raw)
  To: bug-guile; +Cc: Sue Felshin

Hi folks,

We are working with dbi postgres and suspect that we may have made a 
mistake while modifying it that causes guile occasionally to die with
    Guile: error during GC.
from what looks like line 88 of error.c here:
    http://guile-1.8.sourcearchive.com/documentation/1.8.5plus-p1/error_8c-source.html

Is it possible to invoke garbage collection from within Scheme so we can 
more easily write a test case to isolate the problem?

Are there other ways in which we might get more hints as to the nature of 
the error, or the nature of the data structures it was trying to collect at 
the time?

Thanks,
Grem

-- 
------ __@   Gregory A. Marton                 http://csail.mit.edu/~gremio
--- _`\<,_                                                     617-775-3005
-- (*)/ (*)            Make friends with freedom and uncertainty.
~~~~~~~~~~~~~~~~-~~~~~~~~_~~~_~~~~~v~~~~^^^^~~~~~--~~~~~~~~~~~~~~~++~~~~~~~





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

* Re: Error during GC: how can I find out more?
  2008-12-05 16:09 Error during GC: how can I find out more? Gregory Marton
@ 2008-12-05 18:28 ` dsmich
  2008-12-07 20:48 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: dsmich @ 2008-12-05 18:28 UTC (permalink / raw)
  To: bug-guile, Gregory Marton; +Cc: Sue Felshin


---- Gregory Marton <gremio@csail.mit.edu> wrote: 
> Hi folks,
> 
> We are working with dbi postgres and suspect that we may have made a 
> mistake while modifying it that causes guile occasionally to die with
>     Guile: error during GC.

> Is it possible to invoke garbage collection from within Scheme so we can 
> more easily write a test case to isolate the problem?

Sure.  Just call (gc) whereever you want.

-Dale





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

* Re: Error during GC: how can I find out more?
  2008-12-05 16:09 Error during GC: how can I find out more? Gregory Marton
  2008-12-05 18:28 ` dsmich
@ 2008-12-07 20:48 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2008-12-07 20:48 UTC (permalink / raw)
  To: bug-guile

Hello,

Gregory Marton <gremio@csail.mit.edu> writes:

> Are there other ways in which we might get more hints as to the nature
> of the error, or the nature of the data structures it was trying to
> collect at the time?

You could get a backtrace from GDB, that will show you the call site of
`scm_error ()'.

Hope this helps,
Ludo'.





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

end of thread, other threads:[~2008-12-07 20:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-05 16:09 Error during GC: how can I find out more? Gregory Marton
2008-12-05 18:28 ` dsmich
2008-12-07 20:48 ` Ludovic Courtès

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).