question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

test.py hangs after a few frames

See original GitHub issue

I’m now seeing similar issues as #32 with example_run_emotion_recognition.py. The script runs for a few frames, then hangs.

I’m fairly certain both of these scripts worked at the time of the MVP release.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Luxonis-Brandoncommented, Mar 12, 2020

We had setup a device auto-reset that might be the problem here. This was for detecting if the user had force-killed the host code w/out giving the host code the opportunity to tell the Myriad X that it’s no longer running.

This auto-reset code may be not running properly, and triggering false-alarms (false-resets).

We’re investigating.

1reaction
asmorkalovcommented, Mar 11, 2020

@itsderek23 I experience the same issue with my device. Commit: db28c93deeb1a607f83056c8e78e9a4a0f451d91 System information from log_system_information.sh:

Linux paradox 5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
depthai.__version__ == 0.0.10a
depthai.__dev_version__ == 60a814b225bc4aa6709045f11c9306bf9c647222
numpy.__version__ == 1.16.4
Python 3.6.9

Log for test.py app is attached. test.log

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python Matplotlib interactive plotting - freezes after a few frames
The frame will plot the data when it refreshes it's canvas ThreadSimulation - This is not to do with the plotting it is...
Read more >
Pydev crashes/freezes on multiprocessing : PY-44245
If PyDev freezes instead, it has to be sent SIGKILL to get rid of it. The code runs fine in PyDev if there...
Read more >
Frozen frames - Android Developers
Frozen frames are UI frames that take longer than 700ms to render. This is a problem because your app appears to be stuck...
Read more >
17247 – gdb freezes on multi threaded app (test-case attached)
Just tried this with a trivial, single-threaded Hello World program, a few runs *did* actually lock up before the program was run. Interestingly ......
Read more >
django parallel tests hang in multiprocessing pool System ...
The tests appear to be hanging on the multiprocessing pool. ... /signals.py", line 36, in __call__ self.default_handler(signum, frame) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found