aravis
aravis copied to clipboard
arv_camera_gv_auto_packet_size() crash bug
Describe the bug Calling arv_camera_gv_auto_packet_size() to automatically negotiate the packet size causes the program to crash.
Camera description:
- Manufacturer[Hikrobot]
- Model[MV-CB060-10GM-S-W]
- Interface [GIGE]
Platform description:
- Aravis version [0.8.29]
- OS [windows]
- Hardware [x86_64]
- Development Framework [QT]
Additional context
stack information:
Thanks for the report.
What does mean the last but one column ?
Is the crash reproducible ? If so, could you try to capture a complete backtrace of the crash, with the variable values, similar to what can be obtained using gdb ?
- What does mean the last but one column ?
The last line is a function I wrote myself to initialize the camera. In this function, arv_camera_gv_auto_packet_size() is called.
In addition, I did another test.
After replacing arv_camera_gv_auto_packet_size() with arv_camera_gv_set_packet_size(), if I set a value that exceeds the maximum supported by the camera, the program still crashes when calling arv_camera_create_stream(). The following is the stack information:
- Is the crash reproducible ? If so, could you try to capture a complete backtrace of the crash, with the variable values, similar to what can be obtained using gdb ?
Yes, the crash can be reproduced. I am currently using a compiled dll file in the program, so I cannot trace back more information. When I have time later, I can download the aravis source code for further debugging and locating problems.
What does mean the last but one column ?
The last line is a function I wrote myself to initialize the camera. In this function, arv_camera_gv_auto_packet_size() is called.
That is not what I'm asking. I was wondering the meaning of the numbers in the last but one column (770, 796, ...).