guile-devel
[Top][All Lists]
Advanced

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

Re: exit & dynamic wind


From: Andy Wingo
Subject: Re: exit & dynamic wind
Date: Wed, 30 Mar 2011 12:45:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hello!

On Fri 25 Mar 2011 17:45, Andy Wingo <address@hidden> writes:

> On Fri 25 Mar 2011 02:52, Neil Jerram <address@hidden> writes:
>
>> Andy Wingo <address@hidden> writes:
>>
>>> I have pushed something that causes the stack to be unwound before
>>> exiting.
>>
>> |   GEN    guile-procedures.texi
>> | guile: uncaught throw to wrong-type-arg: (#f Wrong type (expecting ~A): ~S 
>> (exact integer (#t #<catch-closure 9916c10> #<catch-closure 9916be0>)) ((#t 
>> #<catch-closure 9916c10> #<catch-closure 9916be0>)))

This, it turns out, was something more pernicious, fixed in
572eef50c2d902d34427945dd504ba03af666e48.

>> Reverting ecba00af6501e082b86c8f2f7730081c733509d7 fixes this again.
>
> I reverted that patch, it was poorly considered.  (Before, that code
> would print a backtrace in some cases, which was a good thing.)

I have reapplied it with modifications: now, the exception and backtrace
are printed before unwinding.  The exit() happens after unwinding.

Happy hacking!

Andy
-- 
http://wingolog.org/



reply via email to

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