I've also experienced(1.4.17) crash with:
unbound: [23685:3] fatal error: services/mesh.c:742: mesh_state_attachment: assertion n != NULL failed
(but I think this is already fixed on svn).
This seems to be the same flaw as bug#452 on our bugtracker, (even
though it triggers a different assertion here). I have fixed it,
available in svn trunk. (the updates to services/mesh.c should be
sufficient in case you do not wish to incorporate the other changes in
svn trunk in your production).
Thank you for the report, it helped me track down the problem, it was
caused by code introduced in 1.4.17 (as a bugfix for something else,
of course).
Will there be a 1.4.18, or is there a patch that just addresses this
issue? I'm asking because 1.4.17 is in rawhide, and I was about to
push it into F17/RHEL.
> Hello,
>
>> I just had unbound 1.4.17 die (on RedHat 6 Update 3 x86_64 linux)
>> with:
>>
>> unbound: [1387:1] fatal error: services/mesh.c:601:
>> mesh_state_delete: assertion mesh->num_detached_states > 0
>> failed
>
> Sorry, the version I was using was/is 1.4.17 with this patch:
> http://www.uku.fi/~jhuuskon/unbound-1.4.17-r2683mesh.diff (pulled
> from svn: r2683 bug #452: fix crash on assert in
> mesh_state_attachment.)
This seems to be the same flaw as bug#452 on our bugtracker, (even
though it triggers a different assertion here). I have fixed it,
available in svn trunk. (the updates to services/mesh.c should be
sufficient in case you do not wish to incorporate the other changes in
svn trunk in your production).
Thank you for the report, it helped me track down the problem, it was
caused by code introduced in 1.4.17 (as a bugfix for something else,
of course).
Thank you for the fix. I pulled r2718 change from svn
and I'll report if there's any more problems.
-Jarno
PS. Paul: I think you can get patch from svn:
svn diff -r2682:2683 services/mesh.c
svn diff -r2683:2718 services/mesh.c