Description:
Environment:
OS: Windows 10
Python Version:3.10.13
PyQt Version: pyQt5
Issue Description:
When invoking the embedding_images_from_array function with the force_reload parameter set to True within a PyQt GUI, specifically under a button action, the application crashes without any error message in the standard output or log files.
Expected Behavior:
The embedding_images_from_array function is expected to reload the images from the array and embed them within the application's GUI without causing a crash.
Current Behavior:
The application crashes when the embedding_images_from_array function is called with force_reload set to True. Preliminary debugging indicates a potential issue during memory access for writing operations. Despite having sufficient memory available on the system, the application behaves as if it cannot write to memory. It's worth noting that there are no logs generated in do_detect_in_image, which makes troubleshooting challenging.
Additional Information:
No relevant logs are found in do_detect_in_image or other parts of the application.
The issue seems related to memory access, but the system reports more than enough available memory.
Attempts to Fix/Workarounds:
Ensured that the system has sufficient memory and tried on different machines.
Checked for any possible memory leaks or allocation issues in the code leading up to the crash.
Request:
I am looking for guidance on resolving this crash. Any suggestions on additional debugging steps or potential causes are highly appreciated. If there's a known issue or workaround, kindly share the details.
Description: Environment: OS: Windows 10 Python Version:3.10.13 PyQt Version: pyQt5
Issue Description: When invoking the embedding_images_from_array function with the force_reload parameter set to True within a PyQt GUI, specifically under a button action, the application crashes without any error message in the standard output or log files.
Expected Behavior: The embedding_images_from_array function is expected to reload the images from the array and embed them within the application's GUI without causing a crash.
Current Behavior: The application crashes when the embedding_images_from_array function is called with force_reload set to True. Preliminary debugging indicates a potential issue during memory access for writing operations. Despite having sufficient memory available on the system, the application behaves as if it cannot write to memory. It's worth noting that there are no logs generated in do_detect_in_image, which makes troubleshooting challenging.
Additional Information: No relevant logs are found in do_detect_in_image or other parts of the application. The issue seems related to memory access, but the system reports more than enough available memory.
Attempts to Fix/Workarounds: Ensured that the system has sufficient memory and tried on different machines. Checked for any possible memory leaks or allocation issues in the code leading up to the crash.
Request: I am looking for guidance on resolving this crash. Any suggestions on additional debugging steps or potential causes are highly appreciated. If there's a known issue or workaround, kindly share the details.