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

ERROR Serializer control_serializer.cpp:511 Bad data, entry offset…. #49

Open
ToivaMa opened this issue Sep 2, 2022 · 7 comments
Open

Comments

@ToivaMa
Copy link

ToivaMa commented Sep 2, 2022

I have been installed these:

  • RasPi4 new installation.
  • Nodejs
  • GIT
  • meson
  • python3
  • Ninja
  • libcamera
    After this camera works Ok.

Then i make own cert by mkcert. And then get this message:
raspcamera1:~ $ libcamera-hello
Preview window unavailable
[21:35:00.098312980] [4146] WARN IPAManager ipa_manager.cpp:113 Public key not valid
[21:35:00.102368120] [4146] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3855-6c6289ee-dirty (2022-09-02T08:24:44+03:00)
[21:35:00.176954143] [4147] ERROR Serializer control_serializer.cpp:511 Bad data, entry offset mismatch (entry 2), entry->offset = 32, value.offset() = 36
[21:35:00.180670683] [4147] INFO RPI raspberrypi.cpp:1374 Registered camera /base/soc/i2c0mux/i2c@1/imx477@1a to Unicam device /dev/media4 and ISP device /dev/media2
libcamera-hello: symbol lookup error: /lib/aarch64-linux-gnu/libcamera_app.so: undefined symbol: _ZNK9libcamera11ControlList8containsERKNS_9ControlIdE

@kbingham
Copy link
Owner

kbingham commented Sep 2, 2022

Hello, Can I ask why you're making your own certificates?
The error message shows that the certificates are not valid (Public key not valid) which is then running the IPA component as an isolated module. That seems to be failing, so it's certainly a bug - but I wouldn't expect you to need to make your own certificates to sign the IPA.

@kbingham
Copy link
Owner

kbingham commented Sep 2, 2022

The error:
libcamera-hello: symbol lookup error: /lib/aarch64-linux-gnu/libcamera_app.so: undefined symbol: _ZNK9libcamera11ControlList8containsERKNS_9ControlIdE

Makes me wonder if there is a mismatch between the compiled libcamera, and libcamera-apps too. Did you self compile anything?

@ToivaMa
Copy link
Author

ToivaMa commented Sep 6, 2022

Hello @kbingham,
I made a certificates for the Nodejs web application. Nothing was compiled.
I think i do new fresh install without mkcert.

@kbingham
Copy link
Owner

kbingham commented Sep 6, 2022

In fact I think we have a fix for this one already

@kbingham
Copy link
Owner

kbingham commented Sep 6, 2022

I think this is the same issue as being solved by this patch.

https://patchwork.libcamera.org/patch/17292/

@kbingham
Copy link
Owner

kbingham commented Sep 9, 2022

Another solution for this is to install openssl locally. That should fix (workaround) the
[21:35:00.098312980] [4146] WARN IPAManager ipa_manager.cpp:113 Public key not valid
error print, and the secondary failure then won't occur.

That's definitely all due to changes in libcamera - so we'll get these resolved as soon as we can.

@kbingham
Copy link
Owner

Have you tried the latest libcamera branches ? I think these issues should be resolved. If not can you let me know please?

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

2 participants