[OPENDOVE-9] Open DOVE: DCS Server crash while processing General ACK Created: 30/Jan/14  Updated: 03/May/18  Resolved: 31/Jan/14

Status: Resolved
Project: opendove
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Amitabha Biswas Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 4 hours
Original Estimate: 1 day
Environment:

Operating System: All
Platform: All


External issue ID: 396

 Description   

The DCS Server would seg fault at
Program received signal SIGSEGV, Segmentation fault.
dps_msg_general_ack (domain=<value optimized out>, dps_msg=0x7ffff0f7f360)
at data_handler/src/client_protocol_interface.c:6032
6032 inet_ntop(pmsg_context->dps_client_location.family

This happens during extended run of the DCS Server process.



 Comments   
Comment by Amitabha Biswas [ 30/Jan/14 ]

Analysis:

A static buffer is used to send outgoing messages i.e. a new buffer is not used for every outgoing message. This obviously fails if there are multiple threads trying to send out messages.

--Amitabha

Comment by Ryan Moats [ 31/Jan/14 ]

Fixed with commit https://git.opendaylight.org/gerrit/#/c/5045/

Generated at Wed Feb 07 20:28:30 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.