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

guru meditation error when streaming #25

Open
aminty opened this issue Oct 5, 2022 · 7 comments
Open

guru meditation error when streaming #25

aminty opened this issue Oct 5, 2022 · 7 comments

Comments

@aminty
Copy link

aminty commented Oct 5, 2022

Hi mr James.
I hope you’re doing well.

around 3 week , i'm confusing about a problem.
in your source code(recorder junior v58) with easy install and with arduino IDE after uploading, when i'm trying to streaming , esp will rebooted.
and in serial monitor this line appear:
(guru meditation error: core 0 panic'ed (loadprohibited). exception was unhandled.)

But except for this option, all other option work well

@Roobyx
Copy link

Roobyx commented Jun 15, 2023

Getting the exact same error here.
I can access the camera's file manager, so it shouldn't be a connection issue, but, when I hit up the /stream, the camera will "panic" and reboot (as mentioned above)

@jameszah
Copy link
Owner

Could you cut and paste the serial monitor with the series of messages, and the stack of numbers from the "panic" to help me locate the problem. And the version number, and version number of compiler. libraries if you re-compiled the program.

@CasperJohansen
Copy link

CasperJohansen commented Jul 6, 2023

Getting the same error repeatedly.
V58: https://pastebin.com/MjLBhQNv (only happens when trying to stream or snapshot, records fine to sd)
v60: https://pastebin.com/ErqZVwCb (happens immidiately)

AI-tinker esp32-cam board.

Both installed from one-click installer, and severeal different sd-cards tried

@jameszah
Copy link
Owner

jameszah commented Jul 6, 2023

Your module only has 2GB of spi-ram. The code is built for 4GB in most esp32-cam modules.

You could squeeze the memory a little here ... to repeatedly malloc and free the memory as needed ... I wish I would have spent an extra 20 minutes on that 2 years ago.

framebuffer = (uint8_t*)ps_malloc(512 * 1024); // buffer to store a jpg in motion // needs to be larger for big frames from ov5640

....

image

Make that MB!

@duchengyao
Copy link

duchengyao commented Sep 16, 2023

what size of framebuffer should be in 2GB memory?

@Mostakim52
Copy link

I seem to be having the same problem. Is there a fix yet?

@jameszah
Copy link
Owner

The program is built for a standard esp32-cam module with 4mb of psram.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants