[Unbound-users] fatal error: services/mesh.c:601: mesh_state_delete: assertion mesh->num_detached_states > 0 failed

Jarno Huuskonen jarno.huuskonen at uef.fi
Mon Jul 23 07:10:22 UTC 2012


Hi,

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Jarno,
> 
> On 07/19/2012 12:42 PM, Jarno Huuskonen wrote:
> > Hello,
> > 
> > On Thu, Jul 19, Jarno Huuskonen wrote:
> >> 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




More information about the Unbound-users mailing list