[bind10-dev] b10-resolver segfaults on git server

Jeremy C. Reed jreed at isc.org
Tue Sep 13 12:18:56 UTC 2011


jinmei pointed out in jabber dmesg showed some segfaults.

/var/log/messages.4.gz had them:

Aug 18 23:57:45 bind10 kernel: [11558816.356070] b10-resolver[25228]: 
segfault at 20 ip b763173d sp bfd585a0 error 4 in liblog.so.0.0.0 
(deleted)[b7628000+19000]

Aug 18 23:58:45 bind10 kernel: [11558885.264419] b10-resolver[21134]: 
segfault at 13214f5c ip 0990af83 sp bf9167ec error 6

I think these errors are:

#define EINTR           4               /* Interrupted system call */

#define ENXIO           6               /* Device not configured */

I look at my old jabber message corresponding to that time:

(18:59:58) jreed: As an exercise, I installed bind10 while running and 
then used bindctl to shutdown each component, which old bind10 promptly 
restarted. It appeared to work fine. Then Boss shutdown when done and 
restarted.

(19:01:33) jreed: Just to see how some old and new components would work 
together at same time.

(I am 5 hours difference for time)

The first segfault above happened at:

2011-08-18 23:57:45.396 DEBUG [b10-cmdctl.cmdctl] CMDCTL_COMMAND_SENT 
command 'shutdown' to module 'Resolver' was sent

2011-08-18 23:57:45.406 DEBUG [b10-resolver.cc] CC_START_READ starting 
asynchronous read

2011-08-18 23:57:45.424 INFO  [b10-resolver.resolver] RESOLVER_SHUTDOWN 
resolver shutdown complete

[bind10] Process b10-resolver (PID 25228) terminated, exit status = 11

The second segfault happened when I sent shutdown to module Boss.

2011-08-18 23:58:45.317 DEBUG [b10-resolver.cc] CC_GROUP_RECEIVE trying 
to receive a message

2011-08-18 23:58:45.317 DEBUG [b10-resolver.cc] CC_GROUP_RECEIVED 
message arrived ('{ "from": "4e132f44_1 at bind10.isc.org", "group": 
"Resolver", "instance": "Resolver", "seq": 7, "to": "*", "type": "send" 
}', '{ "command": [ "shutdown" ] }')

2011-08-18 23:58:45.318 DEBUG [b10-resolver.cc] CC_REPLY replying to 
message from '{ "from": "4e132f44_1 at bind10.isc.org", "group": 
"Resolver", "instance": "Resolver", "seq": 7, "to": "*", "type": "send" 
}' with '{ "result": [ 0 ] }'

2011-08-18 23:58:45.318 DEBUG [b10-resolver.cc] CC_START_READ starting 
asynchronous read

2011-08-18 23:58:45.319 DEBUG [b10-resolver.cache] CACHE_MESSAGES_DEINIT 
deinitialized message cache

2011-08-18 23:58:45.322 INFO [b10-resolver.resolver] RESOLVER_SHUTDOWN 
resolver shutdown complete



More information about the bind10-dev mailing list