camera-app not working on Nexus 5

Bug #1423045 reported by xiangshouding on 2015-02-18
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
camera-app (Ubuntu)
High
Unassigned

Bug Description

On my neuxs 5, camera-app not working.

some information:

$ uname -a

Linux ubuntu-phablet 3.4.0-1-hammerhead #9-Ubuntu SMP PREEMPT Sun Jul 20 08:27:48 UTC 2014 armv7l armv7l armv7l GNU/Linux

crash information:

ApportVersion: 2.14.7-0ubuntu10
ClickPackage: True
Disassembly: => 0x0: Cannot access memory at address 0x0
InstallationDate: Installed on 2014-12-01 (79 days ago)
InstallationMedia: Ubuntu Vivid Vervet (development branch) - armhf (20141201-020204)
Package: com.ubuntu.camera 3.0.0.484
PackageArchitecture: armhf
Registers:
 r0 0x19d9320 27104032
 r1 0xaf259699 2938476185
 r2 0x1991530 26809648
 r3 0x0 0
 r4 0xaf23403c 2938323004
 r5 0xaf234108 2938323208
 r6 0xaf259699 2938476185
 r7 0x19d9320 27104032
 r8 0xbeb99f10 3199835920
 r9 0x1959308 26579720
 r10 0x18c3520 25965856
 r11 0x0 0
 r12 0xb461800c 3026288652
 sp 0xbeb99df8 0xbeb99df8
 lr 0xaf222d2d -1356714707
 pc 0x0 0x0
 cpsr 0x60000010 1610612752
SegvAnalysis: Skipped: missing required field "Disassembly"
SourcePackage: com.ubuntu.camera
Stacktrace:
 #0 0x00000000 in ?? ()
 No symbol table info available.
 #1 0xaf222d2c in android_camera_enumerate_supported_thumbnail_sizes () from /usr/lib/arm-linux-gnueabihf/libcamera.so.1
 No symbol table info available.
 #2 0xaf256ad2 in AalCameraService::initControls(CameraControl*, CameraControlListener*) () from /usr/lib/arm-linux-gnueabihf/qt5/plugins/mediaservice/libaalcamera.so
 No symbol table info available.
 #3 0xaf256b8c in AalCameraService::connectCamera() () from /usr/lib/arm-linux-gnueabihf/qt5/plugins/mediaservice/libaalcamera.so
 No symbol table info available.
 #4 0xaf25597c in AalCameraControl::setState(QCamera::State) () from /usr/lib/arm-linux-gnueabihf/qt5/plugins/mediaservice/libaalcamera.so
 No symbol table info available.
 #5 0xb10a1be2 in ?? () from /usr/lib/arm-linux-gnueabihf/libQt5Multimedia.so.5
 No symbol table info available.
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
StacktraceAddressSignature: /opt/click.ubuntu.com/com.ubuntu.camera/3.0.0.484/camera-app:11:/usr/lib/arm-linux-gnueabihf/libcamera.so.1.0.0+1d2c:/usr/lib/arm-linux-gnueabihf/qt5/plugins/mediaservice/libaalcamera.so+11ad2:/usr/lib/arm-linux-gnueabihf/qt5/plugins/mediaservice/libaalcamera.so+11b8c:/usr/lib/arm-linux-gnueabihf/qt5/plugins/mediaservice/libaalcamera.so+1097c:/usr/lib/arm-linux-gnueabihf/libQt5Multimedia.so.5.3.2+4dbe2
StacktraceTop:
 ?? ()
 android_camera_enumerate_supported_thumbnail_sizes () from /usr/lib/arm-linux-gnueabihf/libcamera.so.1
 AalCameraService::initControls(CameraControl*, CameraControlListener*) () from /usr/lib/arm-linux-gnueabihf/qt5/plugins/mediaservice/libaalcamera.so
 AalCameraService::connectCamera() () from /usr/lib/arm-linux-gnueabihf/qt5/plugins/mediaservice/libaalcamera.so
 AalCameraControl::setState(QCamera::State) () from /usr/lib/arm-linux-gnueabihf/qt5/plugins/mediaservice/libaalcamera.so
SystemImageInfo:
 current build number: 1
 device name: hammerhead
 channel: ubuntu-touch/devel
 alias: ubuntu-touch/vivid
 last update: 1970-06-05 21:25:04
 version version: 1
 version keyring: archive-master
 version device: 20141018
 version custom: 3
Tags: vivid
ThreadStacktrace:
 .
 Thread 10 (Thread 0xac6ad450 (LWP 5862)):
 #0 0xb631f306 in clone () from /lib/arm-linux-gnueabihf/libc.so.6
 No symbol table info available.
 #1 0xb626e530 in do_clone.constprop () from /lib/arm-linux-gnueabihf/libpthread.so.0
 No symbol table info available.
 #2 0x00000000 in ?? ()
 No symbol table info available.
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
 .
 Thread 9 (Thread 0xb231f450 (LWP 5841)):
 #0 0xb6318bb2 in poll () from /lib/arm-linux-gnueabihf/libc.so.6
 No symbol table info available.
 #1 0xb5f31350 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
 No symbol table info available.
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
 .
 Thread 8 (Thread 0xaf0ff450 (LWP 5844)):
 #0 0xb6318bb2 in poll () from /lib/arm-linux-gnueabihf/libc.so.6
 No symbol table info available.
 #1 0xb5f31350 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
 No symbol table info available.
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
 .
 Thread 7 (Thread 0xb0366450 (LWP 5842)):
 #0 0xb62fdb32 in nanosleep () from /lib/arm-linux-gnueabihf/libc.so.6
 No symbol table info available.
 #1 0xb62fd90c in sleep () from /lib/arm-linux-gnueabihf/libc.so.6
 No symbol table info available.
 #2 0xb05bebb8 in ?? () from /usr/lib/arm-linux-gnueabihf/liblttng-ust.so.0
 No symbol table info available.
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
 .
 Thread 6 (Thread 0xae8ff450 (LWP 5845)):
 #0 0xb631cce2 in syscall () from /lib/arm-linux-gnueabihf/libc.so.6
 No symbol table info available.
 #1 0xb5f61304 in g_cond_wait_until () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
 No symbol table info available.
 #2 0xb5f1169e in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
 No symbol table info available.
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
 .
 Thread 5 (Thread 0xad02a450 (LWP 5847)):
 #0 0xb6318bb2 in poll () from /lib/arm-linux-gnueabihf/libc.so.6
 No symbol table info available.
 #1 0xb5f31350 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
 No symbol table info available.
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
 .
 Thread 4 (Thread 0xafb66450 (LWP 5843)):
 #0 0xb62fdb32 in nanosleep () from /lib/arm-linux-gnueabihf/libc.so.6
 No symbol table info available.
 #1 0xb62fd90c in sleep () from /lib/arm-linux-gnueabihf/libc.so.6
 No symbol table info available.
 #2 0xb05bebb8 in ?? () from /usr/lib/arm-linux-gnueabihf/liblttng-ust.so.0
 No symbol table info available.
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
 .
 Thread 3 (Thread 0xad9e3450 (LWP 5846)):
 #0 0xb631f822 in epoll_wait () from /lib/arm-linux-gnueabihf/libc.so.6
 No symbol table info available.
 #1 0xb3e483e6 in ?? () from /usr/lib/arm-linux-gnueabihf/libdbus-cpp.so.4
 No symbol table info available.
 #2 0xb3e4a282 in ?? () from /usr/lib/arm-linux-gnueabihf/libdbus-cpp.so.4
 No symbol table info available.
 #3 0xb3e4a652 in ?? () from /usr/lib/arm-linux-gnueabihf/libdbus-cpp.so.4
 No symbol table info available.
 #4 0xb3e3392c in core::dbus::Bus::run() () from /usr/lib/arm-linux-gnueabihf/libdbus-cpp.so.4
 No symbol table info available.
 #5 0xb642c5d4 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
 No symbol table info available.
 #6 0xb626ef98 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
 No symbol table info available.
 #7 0xb631f33c in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
 No symbol table info available.
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
 .
 Thread 2 (Thread 0xb2e56450 (LWP 5839)):
 #0 0xb631f822 in epoll_wait () from /lib/arm-linux-gnueabihf/libc.so.6
 No symbol table info available.
 #1 0xb3e929b6 in ?? () from /usr/lib/arm-linux-gnueabihf/libmirclient.so.8
 No symbol table info available.
 #2 0xb642c5d4 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
 No symbol table info available.
 #3 0xb626ef98 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
 No symbol table info available.
 #4 0xb631f33c in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
 No symbol table info available.
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
 .
 Thread 1 (Thread 0xb6fcd000 (LWP 5827)):
 #0 0x00000000 in ?? ()
 No symbol table info available.
 #1 0xaf222d2c in android_camera_enumerate_supported_thumbnail_sizes () from /usr/lib/arm-linux-gnueabihf/libcamera.so.1
 No symbol table info available.
 #2 0xaf256ad2 in AalCameraService::initControls(CameraControl*, CameraControlListener*) () from /usr/lib/arm-linux-gnueabihf/qt5/plugins/mediaservice/libaalcamera.so
 No symbol table info available.
 #3 0xaf256b8c in AalCameraService::connectCamera() () from /usr/lib/arm-linux-gnueabihf/qt5/plugins/mediaservice/libaalcamera.so
 No symbol table info available.
 #4 0xaf25597c in AalCameraControl::setState(QCamera::State) () from /usr/lib/arm-linux-gnueabihf/qt5/plugins/mediaservice/libaalcamera.so
 No symbol table info available.
 #5 0xb10a1be2 in ?? () from /usr/lib/arm-linux-gnueabihf/libQt5Multimedia.so.5
 No symbol table info available.
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
UpgradeStatus: No upgrade log present (probably fresh install)

Changed in camera-app:
importance: Undecided → High
Changed in camera-app:
status: New → Confirmed
Jim Hodapp (jhodapp) wrote :

I'd recommend playing a debug statement in android_camera_enumerate_supported_thumbnail_sizes() that prints the total size string and make sure it's returning something. I should have placed a comment inline that details what the format of the size string looks like. It may be that the format from the Nexus 5 camera HAL is different.

Changed in camera-app (Ubuntu):
importance: Undecided → High
status: New → Confirmed
no longer affects: camera-app
flohack (flori-bin) wrote :

I can take pictures with the front and the back camera without crashing. But the pictures are rotated by 90° clockwise.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers