[Unbound-users] 1.4.1 crashing
bra at fsn.hu
Thu Jan 14 15:51:03 UTC 2010
Yes, we also have crashes (but with libev and on FreeBSD7 -8 crashes as
Please try to obtain a crashdump, so we can see whether they are the same.
Wouter wrote that I should run unbound in valgrind, but here it's not an
This is my output:
gdb jail/dns/bin/unbound unbound.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
Core was generated by `unbound'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000000063ff88 in free ()
[New Thread 8009030b0 (LWP 100172)]
#0 0x000000000063ff88 in free ()
#1 0x0000000000476756 in lruhash_insert (table=0x800926280,
hash=Variable "hash" is not available.
#2 0x0000000000456cea in rrset_cache_update (r=0x800934c00,
alloc=0x800bf0078, timenow=1263147325) at services/cache/rrset.c:210
#3 0x00000000004556aa in dns_cache_store_msg (env=0x800bf13f0,
qinfo=0x7fffffffe610, hash=4162435340, rep=0x813bbb650,
leeway=Variable "leeway" is not available.
#4 0x0000000000455887 in dns_cache_store (env=0x800bf13f0,
msgqinf=0x81215ab10, msgrep=Variable "msgrep" is not available.
) at services/cache/dns.c:760
#5 0x000000000043b39f in processQueryResponse (qstate=0x812159080,
iq=0x8121592b0, id=2) at iterator/iterator.c:1554
#6 0x000000000043bc08 in iter_handle (qstate=0x812159080, iq=0x8121592b0,
ie=0x8009207c0, id=2) at iterator/iterator.c:2186
#7 0x000000000043ce14 in iter_operate (qstate=0x812159080,
event=module_event_reply, id=2, outbound=0x81215aaf0)
#8 0x000000000045b991 in mesh_run (mesh=0x800ab9820, mstate=0x812159030,
ev=module_event_reply, e=0x81215aaf0) at services/mesh.c:958
#9 0x00000000004332a6 in worker_handle_service_reply (c=0x8011bc0c0,
arg=0x81215aaf0, error=0, reply_info=0x7fffffffeaa0) at
#10 0x000000000045f6a2 in serviced_callbacks (sq=0x808a11f00, error=0,
c=0x8011bc0c0, rep=0x7fffffffeaa0) at services/outside_network.c:1381
---Type <return> to continue, or q <return> to quit---
#11 0x000000000045fb8b in serviced_udp_callback (c=0x8011bc0c0,
arg=0x808a11f00, error=0, rep=0x7fffffffeaa0)
#12 0x0000000000460383 in outnet_udp_cb (c=0x8011bc0c0, arg=0x800bf60c0,
error=Variable "error" is not available.
) at services/outside_network.c:374
#13 0x0000000000473dc9 in comm_point_udp_callback (fd=57, event=Variable
"event" is not available.
#14 0x0000000000400456 in ev_invoke_pending ()
#15 0x00000000004050e3 in ev_loop ()
#16 0x0000000000405e79 in event_base_loop ()
#17 0x00000000004734ec in comm_base_dispatch (b=Variable "b" is not
) at util/netevent.c:218
#18 0x000000000042d033 in daemon_fork (daemon=0x800909040)
#19 0x00000000004318a4 in main (argc=Variable "argc" is not available.
) at daemon/unbound.c:569
Artis Caune wrote:
> we are switching to 1.4.1 version with this patch (FreeBSD8):
> and unbound is crashing:
> pid 1597 (unbound), uid 59: exited on signal 10
> pid 18943 (unbound), uid 59: exited on signal 11
> I have tried to run with:
> - 1 and 2 threads
> - with/without ipv6 patch, no luck.
> now I'm running it without libevent (libevent-1.4.13).
> >From statistics I can see, that it crashes when certiain amount of
> memory is eaten, maybe when it's starting cache cleaning ?
> Anyone have seen this?
More information about the Unbound-users