Opened 10 years ago

Closed 10 years ago

#29 closed defect (worksforme)

msgq crash

Reported by: jreed Owned by: mgraff
Priority: medium Milestone:
Component: Unclassified Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity:
Sub-Project: Feature Depending on Ticket:
Estimated Difficulty: Add Hours to Ticket:
Total Hours: Internal?:

Description

I forgot I had msgq and b10-cfgmgr and b10-cmdctl running.
I started bind10 and it showed:

t1:bind10$ ./run_bind10.sh                                                     
Reading config
[XX] bind-cfgd got specification:
{'module_name': 'Boss', 'config_data': [{'item_name': 'some_string', 'item_type': 'string', 'item_default': 'Hi, shane!', 'item_optional': False}], 'commands': [{'command_name': 'print_message', 'command_args': [{'item_name': 'message', 'item_type': 'string', 'item_default': '', 'item_optional': False}], 'command_description': 'Print the given message to stdout'}, {'command_name': 'shutdown', 'command_args': [], 'command_description': 'Shut down BIND 10'}]}
[XX] bind-cfgd got command:
['get_config', {'module_name': 'Boss'}]

and immediately went back to shell prompt. bind10 is not running.

msgq and b10-cfgmgr both closed. b10-cmdctl is still running.

The msgq crashed with:

[bind-cfgd] Received shutdown command
Traceback (most recent call last):
  File "./libexec/bind/msgq", line 386, in <module>
    msgq.run()
  File "./libexec/bind/msgq", line 304, in run
    self.run_poller()
  File "./libexec/bind/msgq", line 322, in run_poller
    self.process_socket(fd)
  File "./libexec/bind/msgq", line 150, in process_socket
    self.process_packet(fd, sock)
  File "./libexec/bind/msgq", line 198, in process_packet
    routing, data = self.read_packet(fd, sock)
  File "./libexec/bind/msgq", line 177, in read_packet
    lengths = self.getbytes(fd, sock, 6)
  File "./libexec/bind/msgq", line 168, in getbytes
    data = sock.recv(length - len(received))
socket.error: [Errno 54] Connection reset by peer

Subtickets

Change History (3)

comment:1 Changed 10 years ago by shane

  • Owner set to mgraff
  • Status changed from new to assigned

comment:2 Changed 10 years ago by mgraff

Has this happened again? Can you reproduce it?

comment:3 Changed 10 years ago by jreed

  • Resolution set to worksforme
  • Status changed from assigned to closed

I can't duplicate it. I don't know if I saw it again. I will close this ticket for now.

Note: See TracTickets for help on using tickets.