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

arv_camera_gv_auto_packet_size() crash bug #874

Open
CynthiaLiLi opened this issue Feb 27, 2024 · 3 comments
Open

arv_camera_gv_auto_packet_size() crash bug #874

CynthiaLiLi opened this issue Feb 27, 2024 · 3 comments
Labels
1. Crash The issue is a crash in the software 5. Gige Issue in the GigEVision implementation

Comments

@CynthiaLiLi
Copy link

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:
crash stack

@EmmanuelP
Copy link
Contributor

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 ?

@EmmanuelP EmmanuelP added 5. Gige Issue in the GigEVision implementation 1. Crash The issue is a crash in the software labels Feb 27, 2024
@AravisProject AravisProject deleted a comment from CynthiaLiLi Feb 27, 2024
@CynthiaLiLi
Copy link
Author

CynthiaLiLi commented Feb 29, 2024

  1. 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:
crashcreatestream

  1. 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.

@EmmanuelP
Copy link
Contributor

EmmanuelP commented Feb 29, 2024

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, ...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. Crash The issue is a crash in the software 5. Gige Issue in the GigEVision implementation
Projects
None yet
Development

No branches or pull requests

2 participants