-
Notifications
You must be signed in to change notification settings - Fork 78
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
Live stops working after a while #61
Comments
I haven't had it die completely requiring a restart, but the stream stop after ~30 seconds - not sure if that's by design. The logs don't indicate any errors, so it certainly looks like the shutdown on streaming is planned. Session command 0 is SESSION_COMMAND_END 13:05:16.462 -> >>> HomeKit: [Client 57] Update Characteristics |
OK, so after some playing I'm seeing the live stream die as well. Logs show: 13:29:12.650 -> >>> HomeKit: [Client 61] Resource The previews continue to come through, but those lines above are flooding the log every few second and going to live view just gives a black screen. Would invoking the panic handler (via updated config) force a reboot to bring the camera back online? |
OK, seems invoking the panic handler has the desired affect... @mrTuomoK suggest you try that and recompiling. The biggest question of course is why the task gets stuck in the first place. 15:09:51.902 -> �[0;31mE (3507105) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:�[0m |
Stupid question is how to invoke the panic handler @pocketscience? I'm not that familiar with these esp-coding -things |
make menuconfig |
THX @pocketscience, I'll give it a shot later today :) |
Good luck, although it seems pretty stable (apart from the actual issue that's causing the stuck thread in the first place - which I haven't looked into at all) from my testing over the weekend. |
I can’t find Invoke panic handler on Task Watchdog timeout @pocketscience |
Did you scroll down on the ESP32-Specific page? There's a few pages of options and it's roughly halfway down... |
Panic handler behaviour (Print registers and @reboot) |
No, keep scrolling :) |
[] Make exception and panic handlers JTAG/OCD aware x x |
thanks,but i can not find it @pocketscience |
@hassbian-ABC I couldn't find it by the instructions above as well (updated esp-idf today), but if you type "/" you can search for "invoke panic" and you'll find it. Edit: |
Same issue here. The panic handler solves the issue but the esp restarts every 10-20s due to the panic handler. Is there a bug fix of the real problem which involves the panic handler available? |
@tiagokall NICE CALL Just got this up and running, experiencing the same issue, and this rectified, but now reboots constantly. Any status/thoughts/updates on this? |
I just tried one of the non-homekit streamers, and no dropping/rebooting. Im sure there are many layers to peel back to look at the WHY of this. |
@cgmckeever contributions are always welcome! |
I def want to roll up my sleeves ... and I may, I just need to digest it, there are a lot of moving parts. But its has me very curious |
Any updates regarding this issue? |
Live works, but after a while HomeKit: [Client 56] Update Characteristics, live stops. If try to switch between picture and live severl times, total free memory(esp32_camera: Total free memory: 1729159) shows less and less, then panic, possible memory leak on streaming.c? |
I finally found the root cause of the issue and fixed it in #84 |
There are still some additional tweaks needed to avoid the watchdog being triggered after some minutes. |
I'm experiencing trouble with the live viewing, it works ok-ish for some time and then stops working at all. The 10s preview in homekit works just fine event after this but the live-viewing doesn't work at all. Only way to fix this is to power off & on the esp32 after which the live viewing works for a while. ANyone else experiencing this and is the a fix for it?
The text was updated successfully, but these errors were encountered: