[Top][All Lists]

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

Re: stumped by scm_car/scm_cdr

From: Marius Vollmer
Subject: Re: stumped by scm_car/scm_cdr
Date: Wed, 29 Sep 2004 17:37:46 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Han-Wen Nienhuys <address@hidden> writes:

> I tried setting a breakpoint on this function, but if I do, the run
> completes as expected normally.

One more idea: it might be that you (harmlessly) used SCM_CAR or
SCM_CDR on a non-pair but scm_car/scm_cdr are now complaining about
this by throwing an error.  That error might happen in a context where
throwing does not work, or might lead to endless recursion, or some
other anomaly.  Try replacing the call to scm_wrong_type_arg_msg in
scm_car and scm_cdr with a simple abort.

(This does not explain why the bug disappears when debugging it, so it
is an unlikely scenario...  Typical case of a Heisenbug...)

reply via email to

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