Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HRCPP-126 Segfault with cluster and connectionPool with minIdle > 0 #127

Closed
wants to merge 1 commit into from
Closed

Conversation

ghost
Copy link

@ghost ghost commented Mar 7, 2014

https://issues.jboss.org/browse/HRCPP-126

Moved the responsability of issuing the startup ping from the TransportObjectFactory to the TcpTransportFactory.

This avoids issues related to TcpTransportFactory.servers being updated as a result of a new topology being received in the ping response while iterating over the entries in TcpTransportFactory.servers.

The initial cause of the segfault was: the servers.clear() call in updateServers calls the destructor of the InetSocketAddress passed as parameter to makeObject() but the object is used again before makeObject() returns.

@tristantarrant
Copy link
Member

Pulled, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants