[bug] camera keeps crashing

asked 2014-02-09 14:15:00 +0300

droll gravatar image

latest firmware. 1.0.3.8.

everytime i launch the camera app, i see the home page cover appear for a few seconds, then it exits.

a reboot fixes it.

my camera app is currently in this state. if anyone has instructions to capture additional logs / dumps / debug files etc please let me know before i reboot the phone. this bug is now 100% reproducible on my phone.

update: after ssh-ing in and launching the camera app manually via /usr/bin/jolla-camera, i can get the camera app to launch but the viewfinder is black. there is also a red triangle on the top right of the square that appears in the middle of the screen. the red triangle has a white exclamation mark in it.

launching the app manually via /usr/bin/jolla-camera shows quite a number of errors. i can't capture the output via redirection. the output launching from ssh and from fingerterm looks a little bit different.

the ssh output is here

[D] QWaylandEglIntegration::QWaylandEglIntegration:58 - Using Wayland-EGL [W] QQmlImportDatabase::importPlugin:1697 - Module 'Sailfish.Silica' does not contain a module identifier directive - it cannot be protected from external registrations. [D] MLocalThemeDaemonClient::MLocalThemeDaemonClient:81 - MLocalThemeDaemonClient::MLocalThemeDaemonClient(const QString&, QObject*) Theme: "jolla-ambient" [D] MLocalThemeDaemonClient::MLocalThemeDaemonClient:112 - LocalThemeDaemonClient: Looking for assets in ("/usr/share/themes/blanco/meegotouch", "/usr/share/themes/jolla-ambient/meegotouch") [W] QQmlImportDatabase::importPlugin:1697 - Module 'Sailfish.Media' does not contain a module identifier directive - it cannot be protected from external registrations. [W] QQmlImportDatabase::importPlugin:1697 - Module 'com.jolla.camera' does not contain a module identifier directive - it cannot be protected from external registrations. [W] QQmlImportDatabase::importPlugin:1697 - Module 'QtDocGallery' does not contain a module identifier directive - it cannot be protected from external registrations.

(jolla-camera:9598): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'scene-mode' from interface 'GstPhotography'

(jolla-camera:9598): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'noise-reduction' from interface 'GstPhotography'

(jolla-camera:9598): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'image-preview-supported-caps' from interface 'GstPhotography'

(jolla-camera:9598): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'image-capture-supported-caps' from interface 'GstPhotography'

(jolla-camera:9598): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'flicker-mode' from interface 'GstPhotography'

(jolla-camera:9598): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'exposure' from interface 'GstPhotography'

(jolla-camera:9598): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'ev-compensation' from interface 'GstPhotography'

(jolla-camera:9598): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'colour-tone-mode' from interface 'GstPhotography'

(jolla-camera:9598): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'capabilities' from interface 'GstPhotography'

(jolla-camera:9598): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'autofocus' from interface 'GstPhotography'

(jolla-camera:9598): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'aperture' from interface 'GstPhotography'

(jolla-camera:9598): Tracker-WARNING **: Locale '0' is not set, defaulting to C locale [W] unknown:191 - file:///usr/share/jolla-camera/pages/CameraPage.qml:191:5: QML DBusAdaptor: Failed to register servicecom.jolla.camera DeclarativeCoverWindow: You should be calling QQuickWindow::setDefaultAlphaBuffer(true) before creating windows. Failing to do so will result in suboptimal performance. DeclarativeCoverWindow: You also won't have cover transparency. [W] QQmlImportDatabase::importPlugin:1697 - Module 'Sailfish.Gallery' does not contain a module identifier directive - it cannot be protected from external registrations. [W] QQmlImportDatabase::importPlugin:1697 - Module 'Sailfish.Ambience' does not contain a module identifier directive - it cannot be protected from external registrations. [W] ResourcePolicyImpl::isAvailable:113 - virtual bool ResourcePolicyImpl::isAvailable() const Stub [W] SignonUiServiceType::componentComplete:47 - virtual void SignonUiServiceType::componentComplete() CRITICAL: unable to register signon ui service: "com.jolla.camera" at object path: "/JollaCameraSignonUi"

edit retag flag offensive close delete

Comments

I get the same GLib-GObject-CRITICAL error in the application output when I try to launch the camera from my app. I'm using the code from the camera capture example in QT documentation.

Are you trying to launch the sailfish camera from an app too? If there's a working way of doing that I'm interested.

lfc4 ( 2015-01-16 13:19:11 +0300 )edit