← Back to team overview

touch-packages team mailing list archive

[Bug 1368436] Re: camera-app crashes after quickly opening and closing app

 

The proper backtrace from android:

#0  my_pthread_mutex_lock (__mutex=0x8) at hooks.c:479
#1  0xa9e23b58 in memmove (src=0x0, dest=0x8, len=1) at bionic/libc/include/string.h:114
#2  move_forward_type<android::key_value_pair_t<android::String8, android::String8> > (n=2850176545, s=0x0, d=0x8) at system/core/include/utils/TypeHelpers.h:181
#3  android::SortedVector<android::key_value_pair_t<android::String8, android::String8> >::do_move_forward (this=<optimized out>, dest=0x8, from=0x0, num=2850176545) at system/core/include/utils/SortedVector.h:264

The crash in hybris is a quite weird one, as it's not able to access the pointer given to mutex_lock:
static int my_pthread_mutex_lock(pthread_mutex_t *__mutex)
unsigned int value = (*(unsigned int *) __mutex); <----- crash

Wonder when this crash started to happen, and nothing really changed in
libhybris for quite a while.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to camera-app in Ubuntu.
https://bugs.launchpad.net/bugs/1368436

Title:
  camera-app crashes after quickly opening and closing app

Status in “camera-app” package in Ubuntu:
  Invalid
Status in “libhybris” package in Ubuntu:
  Confirmed

Bug description:
  summary:
  camera-app crashes after quickly opening and closing app 

  steps:
  1. open camera app
  2. close camera app
  3. open camera app 
  4. close camera app

  expected result:
  no crash happens

  actual results:
  camera app crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/camera-app/+bug/1368436/+subscriptions


References