Hi,
I've implemented a more parametric server simulator starting from your example
When one image in the imageset is set to FORMAT_12_BIT_MONO (to simulate disparity data)
it segfault on sendImageSetAsync with no other information.
That's for libvisiontransfer 10.3.0 as well as previous versions
Segfault on AsyncTransfer
-
- Posts: 20
- Joined: Fri Feb 04, 2022 3:32 pm
-
- Posts: 123
- Joined: Mon Mar 25, 2019 1:12 pm
Re: Segfault on AsyncTransfer
Hi,
I have found the problem. It is in imageprotocol.cpp line 304. This line should be changed from
to
This patch will be added to our next release.
Best regards,
Konstantin
I have found the problem. It is in imageprotocol.cpp line 304. This line should be changed from
Code: Select all
std::vector<unsigned char> encodingBuffer[ImageSet::MAX_SUPPORTED_IMAGES];
Code: Select all
static std::vector<unsigned char> encodingBuffer[ImageSet::MAX_SUPPORTED_IMAGES];
Best regards,
Konstantin
-
- Posts: 20
- Joined: Fri Feb 04, 2022 3:32 pm
Re: Segfault on AsyncTransfer
It works,
thank you
thank you