* Fault in guile 2.9
@ 2018-11-09 23:25 Stefan Israelsson Tampe
2018-11-09 23:27 ` Stefan Israelsson Tampe
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Israelsson Tampe @ 2018-11-09 23:25 UTC (permalink / raw)
To: guile-devel
[-- Attachment #1: Type: text/plain, Size: 411 bytes --]
Hi,
I got this error,
what's this error message? unhandled constant #<procedure src (lam u)>
So a <const> with got a src meta informatoin in it's field somehow, a bug
in guile's compiler
for sure. This is for a real stress test, a compile of a huge file that
used to take 10minutes to compile. So I ill not be able to track this down
and make a bugreport But now you know, there
exist a bug!
Regards
Stefan
[-- Attachment #2: Type: text/html, Size: 612 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Fault in guile 2.9
2018-11-09 23:25 Fault in guile 2.9 Stefan Israelsson Tampe
@ 2018-11-09 23:27 ` Stefan Israelsson Tampe
2018-11-10 14:17 ` Stefan Israelsson Tampe
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Israelsson Tampe @ 2018-11-09 23:27 UTC (permalink / raw)
To: guile-devel
[-- Attachment #1: Type: text/plain, Size: 2165 bytes --]
Stack trace:
Backtrace:
In ice-9/boot-9.scm:
838:4 19 (with-throw-handler _ _ _)
In system/base/compile.scm:
59:11 18 (_)
155:11 17 (_ #<closed: file 565113183230>)
224:14 16 (read-and-compile _ #:from _ #:to _ #:env _ #:opts _)
255:6 15 (compile _ #:from _ #:to _ #:env _ #:opts _)
183:32 14 (compile-fold _ _ _ (#:to-file? #t #:warnings (# # # …)))
In language/cps/compile-bytecode.scm:
683:12 13 (compile-bytecode _ #<directory (language prolog modul…> …)
675:12 12 (lower-cps _ (#:to-file? #t #:warnings (format # # #)))
In language/cps/optimize.scm:
84:0 11 (optimize-higher-order-cps _ _)
In language/cps/dce.scm:
402:33 10 (eliminate-dead-code _)
110:18 9 (compute-live-code #<intmap 0-462173>)
In language/cps/intmap.scm:
519:5 8 (visit-branch #(#(#(#(#<cps (kfun () 0 329…> …) …) …) …) …)
519:5 7 (visit-branch #(#(#(#<cps (kargs (arg) (23580…> …) …) …) …)
519:5 6 (visit-branch #(#(#<cps (kargs (arg) (23580) (co…> …) …) …)
519:5 5 (visit-branch #(#<cps (kargs (arg) (23825) (continu…> …) …)
In language/cps/type-checks.scm:
41:15 4 (elide-type-checks #<intmap 0-462173> 33263 #<intmap 0-…>)
In language/cps/types.scm:
1758:5 3 (worklist-fold* #<procedure visit-cont (label typev)> _ _)
1899:26 2 (visit-cont 33278 #<intmap 33263+0-15>)
381:4 1 (constant-type _)
In ice-9/boot-9.scm:
749:25 0 (dispatch-exception 0 misc-error (#f "unhandled cons…" …))
ice-9/boot-9.scm:749:25: In procedure dispatch-exception:
unhandled constant #<procedure src (lam u)>
On Sat, Nov 10, 2018 at 12:25 AM Stefan Israelsson Tampe <
stefan.itampe@gmail.com> wrote:
> Hi,
>
> I got this error,
>
> what's this error message? unhandled constant #<procedure src (lam u)>
>
> So a <const> with got a src meta informatoin in it's field somehow, a bug
> in guile's compiler
> for sure. This is for a real stress test, a compile of a huge file that
> used to take 10minutes to compile. So I ill not be able to track this down
> and make a bugreport But now you know, there
> exist a bug!
>
> Regards
> Stefan
>
[-- Attachment #2: Type: text/html, Size: 2975 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Fault in guile 2.9
2018-11-09 23:27 ` Stefan Israelsson Tampe
@ 2018-11-10 14:17 ` Stefan Israelsson Tampe
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Israelsson Tampe @ 2018-11-10 14:17 UTC (permalink / raw)
To: guile-devel
[-- Attachment #1: Type: text/plain, Size: 2564 bytes --]
Hi,
Turns out that this is the error you get when you put a procedure as a
faulty syntax value.
We should catch this earlier I think, with a helpful error message and a
stacktrace.
Regards
Stefan
On Sat, Nov 10, 2018 at 12:27 AM Stefan Israelsson Tampe <
stefan.itampe@gmail.com> wrote:
> Stack trace:
>
> Backtrace:
> In ice-9/boot-9.scm:
> 838:4 19 (with-throw-handler _ _ _)
> In system/base/compile.scm:
> 59:11 18 (_)
> 155:11 17 (_ #<closed: file 565113183230>)
> 224:14 16 (read-and-compile _ #:from _ #:to _ #:env _ #:opts _)
> 255:6 15 (compile _ #:from _ #:to _ #:env _ #:opts _)
> 183:32 14 (compile-fold _ _ _ (#:to-file? #t #:warnings (# # # …)))
> In language/cps/compile-bytecode.scm:
> 683:12 13 (compile-bytecode _ #<directory (language prolog modul…> …)
> 675:12 12 (lower-cps _ (#:to-file? #t #:warnings (format # # #)))
> In language/cps/optimize.scm:
> 84:0 11 (optimize-higher-order-cps _ _)
> In language/cps/dce.scm:
> 402:33 10 (eliminate-dead-code _)
> 110:18 9 (compute-live-code #<intmap 0-462173>)
> In language/cps/intmap.scm:
> 519:5 8 (visit-branch #(#(#(#(#<cps (kfun () 0 329…> …) …) …) …) …)
> 519:5 7 (visit-branch #(#(#(#<cps (kargs (arg) (23580…> …) …) …) …)
> 519:5 6 (visit-branch #(#(#<cps (kargs (arg) (23580) (co…> …) …) …)
> 519:5 5 (visit-branch #(#<cps (kargs (arg) (23825) (continu…> …) …)
> In language/cps/type-checks.scm:
> 41:15 4 (elide-type-checks #<intmap 0-462173> 33263 #<intmap 0-…>)
> In language/cps/types.scm:
> 1758:5 3 (worklist-fold* #<procedure visit-cont (label typev)> _ _)
> 1899:26 2 (visit-cont 33278 #<intmap 33263+0-15>)
> 381:4 1 (constant-type _)
> In ice-9/boot-9.scm:
> 749:25 0 (dispatch-exception 0 misc-error (#f "unhandled cons…" …))
>
> ice-9/boot-9.scm:749:25: In procedure dispatch-exception:
> unhandled constant #<procedure src (lam u)>
>
>
>
> On Sat, Nov 10, 2018 at 12:25 AM Stefan Israelsson Tampe <
> stefan.itampe@gmail.com> wrote:
>
>> Hi,
>>
>> I got this error,
>>
>> what's this error message? unhandled constant #<procedure src (lam u)>
>>
>> So a <const> with got a src meta informatoin in it's field somehow, a bug
>> in guile's compiler
>> for sure. This is for a real stress test, a compile of a huge file that
>> used to take 10minutes to compile. So I ill not be able to track this down
>> and make a bugreport But now you know, there
>> exist a bug!
>>
>> Regards
>> Stefan
>>
>
[-- Attachment #2: Type: text/html, Size: 3594 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-10 14:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-09 23:25 Fault in guile 2.9 Stefan Israelsson Tampe
2018-11-09 23:27 ` Stefan Israelsson Tampe
2018-11-10 14:17 ` Stefan Israelsson Tampe
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).