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

Failing to create DataReader leads to Segmentation Fault #3056

Closed
1 task done
fujitatomoya opened this issue Nov 2, 2022 · 9 comments
Closed
1 task done

Failing to create DataReader leads to Segmentation Fault #3056

fujitatomoya opened this issue Nov 2, 2022 · 9 comments
Labels
need more info Issue that requires more info from contributor

Comments

@fujitatomoya
Copy link
Contributor

fujitatomoya commented Nov 2, 2022

Is there an already existing issue for this?

  • I have searched the existing issues

Expected behavior

Successfully create the DataReader and will not receive Segmentation Fault signal.

Current behavior

Failed to create the DataReader and ends up with Segmentation Fault.

Steps to reproduce

W.I.P

Fast DDS version/commit

Platform/Architecture

Ubuntu Focal 20.04 arm64

Transport layer

Default configuration, UDPv4 & SHM

Additional context

XML configuration file

No response

Relevant log output

2022-10-31T01:45:08.000047480Z [RTPS_EDP Error] Adding already existent reader 0.0.11.7 in topic elements/current -> Function operator()
2022-10-31T01:45:08.000070203Z [RTPS_EDP Error] Adding already existent reader 0.0.11.7 in topic elements/current -> Function operator()
2022-10-31T01:45:08.000074282Z [RTPS_EDP Warning] Failed register ReaderProxyData in EDP -> Function addLocalReader
2022-10-31T01:45:08.000077628Z [RTPS_EDP Warning] Failed register ReaderProxyData in EDP -> Function addLocalReader
2022-10-31T01:45:08.000080788Z [DATA_READER Error] Could not register reader on discovery protocols -> Function enable
2022-10-31T01:45:08.000083944Z [DATA_READER Error] Could not register reader on discovery protocols -> Function enable
2022-10-31T01:45:08.118559752Z [RTPS_LIVELINESS Warning] Reader not removed from WLP, unknown reader -> Function remove_local_reader
2022-10-31T01:45:08.118570303Z [RTPS_LIVELINESS Warning] Reader not removed from WLP, unknown reader -> Function remove_local_reader

Network traffic capture

No response

@fujitatomoya fujitatomoya added the triage Issue pending classification label Nov 2, 2022
@jingTian-z
Copy link

The commit you provided is tag:v2.8.0, but the crash log shows that the library you are using is libfastrtps.so.2.6.0. Is it because of version mismatch?

@fujitatomoya
Copy link
Contributor Author

@jingTian-z good eye, let me check it, will get back to you.

@fujitatomoya
Copy link
Contributor Author

The commit you provided is tag:v2.8.0, but the crash log shows that the library you are using is libfastrtps.so.2.6.0. Is it because of version mismatch?

@fujitatomoya
Copy link
Contributor Author

This happens only configuration time for DataReader and DataWriter.

@MiguelCompany
Copy link
Member

@fujitatomoya Is it possible to have a simple reproducer for this?

@fujitatomoya
Copy link
Contributor Author

@MiguelCompany we do not have it right now, but trying to see more details. If we can do that, we will let you know.

@fujitatomoya
Copy link
Contributor Author

https://github.com/eProsima/Fast-DDS/tree/2.6.2 + #2976 cannot meet this problem.

@MiguelCompany MiguelCompany added need more info Issue that requires more info from contributor and removed triage Issue pending classification labels Jan 31, 2023
@MiguelCompany
Copy link
Member

@fujitatomoya Is this still reproducible? In which versions?

Could you check with v2.6.4, v2.9.1, and master?

@fujitatomoya
Copy link
Contributor Author

@MiguelCompany

we confirmed that #2976 can fix this problem as mentioned in #3056 (comment).
I will go ahead to close this, thank you so much for the support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more info Issue that requires more info from contributor
Projects
None yet
Development

No branches or pull requests

3 participants