Discussion:
[urbit] What does a nest-fail crash mean?
Jeremy Wall
2016-03-27 22:13:11 UTC
Permalink
I'm tracking down some crashes in my tutorial showcode helper function.
This code worked just fine before the hoon 151 release. But now for some
but not all invocations in the tutorials it crashes with a nest-fail. It
looks like it's got something to do with the compiler caching but I have no
idea what exactly the error means. Have I uncovered a bug or is something
elders going on?

You can see the code in question on hidduc-posmeg under the
web/pages/hidducs-notes path.
--
You received this message because you are subscribed to the Google Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urbit-dev+***@googlegroups.com.
To post to this group, send email to urbit-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Curtis Yarvin
2016-03-28 02:03:47 UTC
Permalink
nest-fail is a type incompatibility error - relatively common in 151
conversion. You probably forgot to turn %foo into $foo somewhere.

I can diagnose these things pretty fast if I have a compiler
stacktrace and a source file with line-column...
I'm tracking down some crashes in my tutorial showcode helper function. This
code worked just fine before the hoon 151 release. But now for some but not
all invocations in the tutorials it crashes with a nest-fail. It looks like
it's got something to do with the compiler caching but I have no idea what
exactly the error means. Have I uncovered a bug or is something elders going
on?
You can see the code in question on hidduc-posmeg under the
web/pages/hidducs-notes path.
--
You received this message because you are subscribed to the Google Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urbit-dev+***@googlegroups.com.
To post to this group, send email to urbit-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jeremy Wall
2016-03-28 23:26:04 UTC
Permalink
The source file can be seen either on my planet or here:
https://bitbucket.org/zaphar/hoon-intro/src/7bcbd63c817695778b3f0fd73fb809ff3a0fa4b4/tutorial/2.hoon

The line indicated is a usage of the showcode gate from:
https://bitbucket.org/zaphar/hoon-intro/src/7bcbd63c817695778b3f0fd73fb809ff3a0fa4b4/lib.hoon

Stacktrace example can be seen here:

eyre: execute [%ha p=/~hidduc-posmeg/home/0]

ford: out of options

ford: bake %urb
/~hidduc-posmeg/home/~2016.3.28..23.22.07..8ec7/web/pages/hidducs-notes/tutorial/2
._~~0bv00003u0ithe60un2er1ccm3gbhg7lojmrj55h9labbeclmg0ishin8rj5dlimos3dd4mn8pbp5lq6urhf00pb51qeepbdednn0bb3eli68qb85li6uujqdti2qp3ff9t6up1d5li6uuj4dtm2qsr5cpr6urjuau00pbctimqsrfe0mm6tb4chkmh7g0uhkm4sjl7g1pridts0pj5_~~__

ford: hook %hymn /~hidduc-posmeg/home/16/web/pages/hidducs-notes/tutorial/2

nest-fail

/~hidduc-posmeg/home/0/web/pages/hidducs-notes/tutorial/2:<[36 25].[40 28]>

/~hidduc-posmeg/home/0/web/pages/hidducs-notes/tutorial/2:<[36 11].[40 28]>

/~hidduc-posmeg/home/0/web/pages/hidducs-notes/tutorial/2:<[13 1].[161 3]>

/~hidduc-posmeg/home/0/web/pages/hidducs-notes/tutorial/2:<[12 1].[161 3]>

/~hidduc-posmeg/home/~2016.3.15..00.13.30..3dbe/arvo/ford
<[1.179 24].[1.179 52]>

ford: bake %red-quri
/~hidduc-posmeg/home/~2016.3.28..23.22.07..8ec7/web/pages/hidducs-notes/tutorial/2
._~~0bv00003u0ithe60un2er1ccm3gbhg7lojmrj55h9labbeclmg0ishin8rj5dlimos3dd4mn8pbp5lq6urhf00pb51qeepbdednn0bb3eli68qb85li6uujqdti2qp3ff9t6up1d5li6uuj4dtm2qsr5cpr6urjuau00pbctimqsrfe0mm6tb4chkmh7g0uhkm4sjl7g1pridts0pj5_~~__

ford: fade /~hidduc-posmeg/home/16/ren/red-quri

file not found

/~hidduc-posmeg/home/16/ren/red-quri/hoon
Post by Curtis Yarvin
nest-fail is a type incompatibility error - relatively common in 151
conversion. You probably forgot to turn %foo into $foo somewhere.
I can diagnose these things pretty fast if I have a compiler
stacktrace and a source file with line-column...
Post by Jeremy Wall
I'm tracking down some crashes in my tutorial showcode helper function.
This
Post by Jeremy Wall
code worked just fine before the hoon 151 release. But now for some but
not
Post by Jeremy Wall
all invocations in the tutorials it crashes with a nest-fail. It looks
like
Post by Jeremy Wall
it's got something to do with the compiler caching but I have no idea
what
Post by Jeremy Wall
exactly the error means. Have I uncovered a bug or is something elders
going
Post by Jeremy Wall
on?
You can see the code in question on hidduc-posmeg under the
web/pages/hidducs-notes path.
--
You received this message because you are subscribed to the Google Groups
"urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Jeremy Wall
http://jeremy.marzhillstudios.com
***@marzhillstudios.com
--
You received this message because you are subscribed to the Google Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urbit-dev+***@googlegroups.com.
To post to this group, send email to urbit-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Curtis Yarvin
2016-03-28 23:54:37 UTC
Permalink
Ha ha, I had to actually debug this.

The problem is that {}, the irregular mold syntax, is also the string
interpolation syntax. Put a backslash in front of the {.
Post by Jeremy Wall
https://bitbucket.org/zaphar/hoon-intro/src/7bcbd63c817695778b3f0fd73fb809ff3a0fa4b4/tutorial/2.hoon
https://bitbucket.org/zaphar/hoon-intro/src/7bcbd63c817695778b3f0fd73fb809ff3a0fa4b4/lib.hoon
eyre: execute [%ha p=/~hidduc-posmeg/home/0]
ford: out of options
ford: bake %urb
/~hidduc-posmeg/home/~2016.3.28..23.22.07..8ec7/web/pages/hidducs-notes/tutorial/2
._~~0bv00003u0ithe60un2er1ccm3gbhg7lojmrj55h9labbeclmg0ishin8rj5dlimos3dd4mn8pbp5lq6urhf00pb51qeepbdednn0bb3eli68qb85li6uujqdti2qp3ff9t6up1d5li6uuj4dtm2qsr5cpr6urjuau00pbctimqsrfe0mm6tb4chkmh7g0uhkm4sjl7g1pridts0pj5_~~__
ford: hook %hymn /~hidduc-posmeg/home/16/web/pages/hidducs-notes/tutorial/2
nest-fail
/~hidduc-posmeg/home/0/web/pages/hidducs-notes/tutorial/2:<[36 25].[40 28]>
/~hidduc-posmeg/home/0/web/pages/hidducs-notes/tutorial/2:<[36 11].[40 28]>
/~hidduc-posmeg/home/0/web/pages/hidducs-notes/tutorial/2:<[13 1].[161 3]>
/~hidduc-posmeg/home/0/web/pages/hidducs-notes/tutorial/2:<[12 1].[161 3]>
/~hidduc-posmeg/home/~2016.3.15..00.13.30..3dbe/arvo/ford
<[1.179 24].[1.179 52]>
ford: bake %red-quri
/~hidduc-posmeg/home/~2016.3.28..23.22.07..8ec7/web/pages/hidducs-notes/tutorial/2
._~~0bv00003u0ithe60un2er1ccm3gbhg7lojmrj55h9labbeclmg0ishin8rj5dlimos3dd4mn8pbp5lq6urhf00pb51qeepbdednn0bb3eli68qb85li6uujqdti2qp3ff9t6up1d5li6uuj4dtm2qsr5cpr6urjuau00pbctimqsrfe0mm6tb4chkmh7g0uhkm4sjl7g1pridts0pj5_~~__
ford: fade /~hidduc-posmeg/home/16/ren/red-quri
file not found
/~hidduc-posmeg/home/16/ren/red-quri/hoon
Post by Curtis Yarvin
nest-fail is a type incompatibility error - relatively common in 151
conversion. You probably forgot to turn %foo into $foo somewhere.
I can diagnose these things pretty fast if I have a compiler
stacktrace and a source file with line-column...
I'm tracking down some crashes in my tutorial showcode helper function. This
code worked just fine before the hoon 151 release. But now for some but not
all invocations in the tutorials it crashes with a nest-fail. It looks like
it's got something to do with the compiler caching but I have no idea what
exactly the error means. Have I uncovered a bug or is something elders going
on?
You can see the code in question on hidduc-posmeg under the
web/pages/hidducs-notes path.
--
You received this message because you are subscribed to the Google Groups
"urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Jeremy Wall
http://jeremy.marzhillstudios.com
--
You received this message because you are subscribed to the Google Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urbit-dev+***@googlegroups.com.
To post to this group, send email to urbit-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jeremy Wall
2016-03-29 00:09:24 UTC
Permalink
lol!
Post by Curtis Yarvin
Ha ha, I had to actually debug this.
The problem is that {}, the irregular mold syntax, is also the string
interpolation syntax. Put a backslash in front of the {.
https://bitbucket.org/zaphar/hoon-intro/src/7bcbd63c817695778b3f0fd73fb809ff3a0fa4b4/tutorial/2.hoon
https://bitbucket.org/zaphar/hoon-intro/src/7bcbd63c817695778b3f0fd73fb809ff3a0fa4b4/lib.hoon
Post by Jeremy Wall
eyre: execute [%ha p=/~hidduc-posmeg/home/0]
ford: out of options
ford: bake %urb
/~hidduc-posmeg/home/~2016.3.28..23.22.07..8ec7/web/pages/hidducs-notes/tutorial/2
._~~0bv00003u0ithe60un2er1ccm3gbhg7lojmrj55h9labbeclmg0ishin8rj5dlimos3dd4mn8pbp5lq6urhf00pb51qeepbdednn0bb3eli68qb85li6uujqdti2qp3ff9t6up1d5li6uuj4dtm2qsr5cpr6urjuau00pbctimqsrfe0mm6tb4chkmh7g0uhkm4sjl7g1pridts0pj5_~~__
Post by Jeremy Wall
ford: hook %hymn
/~hidduc-posmeg/home/16/web/pages/hidducs-notes/tutorial/2
Post by Jeremy Wall
nest-fail
/~hidduc-posmeg/home/0/web/pages/hidducs-notes/tutorial/2:<[36 25].[40
28]>
Post by Jeremy Wall
/~hidduc-posmeg/home/0/web/pages/hidducs-notes/tutorial/2:<[36 11].[40
28]>
Post by Jeremy Wall
/~hidduc-posmeg/home/0/web/pages/hidducs-notes/tutorial/2:<[13 1].[161
3]>
Post by Jeremy Wall
/~hidduc-posmeg/home/0/web/pages/hidducs-notes/tutorial/2:<[12 1].[161
3]>
Post by Jeremy Wall
/~hidduc-posmeg/home/~2016.3.15..00.13.30..3dbe/arvo/ford
<[1.179 24].[1.179 52]>
ford: bake %red-quri
/~hidduc-posmeg/home/~2016.3.28..23.22.07..8ec7/web/pages/hidducs-notes/tutorial/2
._~~0bv00003u0ithe60un2er1ccm3gbhg7lojmrj55h9labbeclmg0ishin8rj5dlimos3dd4mn8pbp5lq6urhf00pb51qeepbdednn0bb3eli68qb85li6uujqdti2qp3ff9t6up1d5li6uuj4dtm2qsr5cpr6urjuau00pbctimqsrfe0mm6tb4chkmh7g0uhkm4sjl7g1pridts0pj5_~~__
Post by Jeremy Wall
ford: fade /~hidduc-posmeg/home/16/ren/red-quri
file not found
/~hidduc-posmeg/home/16/ren/red-quri/hoon
Post by Curtis Yarvin
nest-fail is a type incompatibility error - relatively common in 151
conversion. You probably forgot to turn %foo into $foo somewhere.
I can diagnose these things pretty fast if I have a compiler
stacktrace and a source file with line-column...
On Sun, Mar 27, 2016 at 3:13 PM, Jeremy Wall <
Post by Jeremy Wall
I'm tracking down some crashes in my tutorial showcode helper
function.
Post by Jeremy Wall
Post by Curtis Yarvin
Post by Jeremy Wall
This
code worked just fine before the hoon 151 release. But now for some
but
Post by Jeremy Wall
Post by Curtis Yarvin
Post by Jeremy Wall
not
all invocations in the tutorials it crashes with a nest-fail. It looks like
it's got something to do with the compiler caching but I have no idea what
exactly the error means. Have I uncovered a bug or is something elders going
on?
You can see the code in question on hidduc-posmeg under the
web/pages/hidducs-notes path.
--
You received this message because you are subscribed to the Google Groups
"urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Jeremy Wall
http://jeremy.marzhillstudios.com
--
Jeremy Wall
http://jeremy.marzhillstudios.com
***@marzhillstudios.com
--
You received this message because you are subscribed to the Google Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urbit-dev+***@googlegroups.com.
To post to this group, send email to urbit-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...