-
Notifications
You must be signed in to change notification settings - Fork 101
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
RPI4 - munmap_chunk(): invalid pointer #171
Comments
some logs from strace from rpicam-hello app: |
Do you have any hints how to debug this? Thanks in advance |
DEBUG LOGS FROM libcamera: |
It seems that 0.1 version with PIPELINE set to raspberrypi works as expected.( But 0.1 from git.libcamera.org/libcamera/libcamera.git) |
@officialluq this is not something I've seen myself - nor has been reported by others. Have you made any sort of modifications to the libcamera source tree? I see the Are you able to run under |
I didn't make any modifications, i just have built it from source using yocto(2 attempts - kirkstone & scarthgap). I think additional patches from bitbake recipe are making this tag on the version string. I will try to run it under gdb next week because I have deadline on the project :) I am glad that 0.1 works fine |
I encountered same issue with libcamera while running the following command:
Any advice on how to resolve this issue or further debug it would be greatly appreciated. |
Any updates on this issue? Does it still happen with the latest libcamera packages? |
In my opinion, the issue still affects version 0.2.0, but it has already been resolved in version 0.3.0. Unfortunately, Yocto (scarthgap) is still pointing to version 0.2.0, which might be a problem. However, in this case, an issue should be opened on the meta-openembedded repository. |
Hello Everyone, while using libcamera i have encountered one issue: munmap_chunk(): invalid pointer
Kernel: Linux raspberrypi4-64 6.6.22-v8
[0:00:28.466082389] [406] INFO Camera camera_manager.cpp:313 libcamera v0.3.0+dirty (2024-08-31T15:09:42+00:00)
[0:00:28.505386889] [408] WARN RPiSdn sdn.cpp:40 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise
[0:00:28.507712259] [408] INFO RPI vc4.cpp:400 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media0 and ISP device /dev/media2
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
[0:00:28.511571537] [411] INFO Camera camera.cpp:1183 configuring streams: (0) 1280x1080-NV21
New clock: GstSystemClock
[0:00:28.514059556] [408] INFO RPI vc4.cpp:569 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected unicam format: 1296x972-pGAA
munmap_chunk(): invalid pointer
Do you know that issue? I tried 2 raspberrypi4 with 2 different cameras supported by libcamera - IMX219 and ov5647
I compiled 3.1, 3.0, 2.0 versions but the issue still exist :(
The text was updated successfully, but these errors were encountered: