Camera App Failing to find main camera hardware

Since a few days my Jolla Camera app does not even try to open the main camera any more on an XA2+. It directly opens selfie camera. It shows the button to switch to main camera. Pressing that button doesn’t seem to do anything.
AdvancedCamera and Android’s OpenCamera work as expected.

If I run jolla-camera it shows this warning:

[W] unknown:20 - file:///usr/lib/qt5/qml/com/jolla/camera/settings/CameraDeviceToggle.qml:20: TypeError: Cannot read property 'length' of undefined

Closing the camera from the UI I get a core dump with this message:

corrupted double-linked list
Aborted (core dumped)

All directories such as ~/.config/com.jolla/camera, ~/.local/share/com.jolla/camera, and ~/.cache/com.jolla/camera are empty.
I tried to uninstall jolla-camera, howver pkcon refuses with the error that it would corrupt my system.

Do you have any hints how to recover the camera app?

1 Like