I am investigating shutdown behavior in a GStreamer/HailoNet application using:
-
Hailo-8 M.2 module, part HM218B1C2FAE
-
HailoRT and PCIe driver 4.24.0
-
Firmware 4.24.0
-
Orange Pi 5 Plus, AArch64
-
Armbian 26.5.1 / Ubuntu 26.04
-
Kernel 6.1.115-vendor-rk35xx
Two bounded 48-frame runs produced the same application-visible result:
-
48 frames admitted
-
47 frames acknowledged at the Hailo source boundary
-
1 frame pending at EOS
-
Hailo sink EOS occurred before source EOS
-
Four external probe contexts were destroyed
-
Zero external probe callbacks remained in flight
-
Process exited normally without a watchdog timeout
The application observer localizes the unacknowledged frame to the Hailo sink-to-source boundary. This does not establish why it was not observed or attribute causality to HailoRT.
My main question is about internal asynchronous lifetime:
Does HailoRT 4.24.0 guarantee that all detached inference-completion callbacks or outstanding transfers have completed or been safely cancelled before HailoNet finishes its READY-to-NULL transition and releases dependent resources?
In particular:
-
Does configured-inference-model shutdown wait for all detached completion callbacks?
-
What happens if its internal wait reaches a timeout?
-
Is completion of the HailoNet output thread separate from completion of inference callbacks?
-
Is there a supported API, tracepoint, log category, counter, debug-symbol package, or instrumented build that can prove zero outstanding callbacks/transfers at shutdown?
-
Can Hailo provide version-matched symbols or a supported diagnostic for HailoRT 4.24.0?
I have exact runtime/plugin hashes, ELF build IDs, and preserved comparison evidence available if required.
Hi @Mike_Stanton, welcome o the Hailo Community! 
Yes. It aborts the inference pipeline and waits up to 10 seconds for outstanding inference operations to reach zero.
The timeout result is ignored. Shutdown proceeds with deactivation and can return HAILO_SUCCESS even if operations remain outstanding.
Yes. HailoNet joins its output thread separately. Callback completion does not necessarily mean all buffers were pushed downstream.
We currently do not offer something like this.
We don’t have plans to provide version-matched debug symbols or additional diagnostic tools at the moment, but we really appreciate your feedback and will definitely keep it in mind for future improvements!
Thank you, Marina. This information was very helpful. To confirm that your answer applies specifically to Hailo-8, HailoRT 4.24.0, and the GStreamer hailonet path:
-
If the internal 10-second wait times out and shutdown returns HAILO_SUCCESS with operations still outstanding, what mechanism keeps every callback capture, transfer, buffer, and referenced object valid during deactivation and destruction?
-
Can an outstanding completion callback execute after the configured-inference-model, hailonet, pipeline, buffer pool, or application-owned dependent objects have begun destruction?
-
Is ignoring this timeout a known HailoRT 4.24.0 hailonet issue? If so, could you provide the issue identifier and affected or fixed versions?
-
Is there a supported Hailo-8 patch or release that propagates the timeout, waits for a true terminal condition, or otherwise guarantees safe destruction?
-
If no patch exists, what exact supported application shutdown sequence keeps all dependent resources valid and fails closed when quiescence cannot be established?
-
What is the exact ordering between inference abort/wait, deactivation, HailoNet output-thread join, element disposal, and callback/resource destruction?
Thank you again, for your earlier response and I hope to receive a reply to my additional questions above.
Regards, Mike