Skip to content

Buffer overflow (ESP32S3, OV5640, PSRAM) #825

@vvb333007

Description

@vvb333007

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

Expect it not to happen

Actual behavior (suspected bug)

Stock CameraWebServer example, compiled for ESP32-S3, works in streaming mode. It is able to take a picture (JPEG) at small resolution. And soon after that: buffer overflow again, camera stops responding. Non-stop. Note lost characters:

Image

Error logs or terminal output

cam_hal: FB-OVF
-OVF
VF
FB-OVF
l: FB-OVF
cam_hal: FB-OVF
cam_hal: FB-OVF
cam_hal: FB-OVF
cam_hal: FB-OVF
cam_hal: FB-OVF
l: FB-OVF
F
[ 61283][E][app_httpd.cpp:171] capture_handler(): Camera capture failed
cam_hal: FB-OVF
OVF
cam_hal: FB-OVF
cam_hal: FB-OVF
: FB-OVF
cam_hal: FB-OVF
hal: FB-OVF
B-OVF
: FB-OVF
FB-OVF
al: FB-OVF
OVF
cam_hal: FB-OVF
l: FB-OVF
hal: FB-OVF
OVF
al: FB-OVF
cam_hal: FB-OVF
cam_hal: FB-OVF
cam_hal: FB-OVF
 FB-OVF
cam_hal: FB-OVF

Steps to reproduce the behavior

  1. Use latest Arduino IDE to compile and upload CameraWebServer example
  2. Start the example and connect to the webserver
  3. Choose any resolution > svga and try to make a photo.

Project release version

latest

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Windows

Operating system version

win10

Shell

ZSH

Additional context

Tested with ESP32 AiThinker clone and with ESP32S3-EYE clone.
Once OVF message start to appear camera timeouts o
n attempt to capture still image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions