← Back to team overview

touch-packages team mailing list archive

[Bug 1512323] Re: devices on devel-proposed/ubuntu do not boot with systemd 227-2ubuntu1

 

stack trace points at new hashtable functionality within systemd.

The crash shows udevd is crashing with SIGBUS.

The new siphash24.c code is full of dereferences of uint8_t types that
are then being handled as uint64_t values, as in le64toh() which is
defined as:

static inline uint64_t le64toh(le64_t value) { return
bswap_64_on_be((uint64_t __force)value); }

There is nothing in this code that guarantees 64-bit alignment of the
source pointer.  Dereferencing an unaligned pointer as a 64-bit int is
non-portable, and it's precisely a SIGBUS that is raised in the case of
unaligned access.

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

Title:
  devices on devel-proposed/ubuntu do not boot with systemd 227-2ubuntu1

Status in Canonical System Image:
  Confirmed
Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  Last known good build: mako devel-proposed/ubuntu r336

  Affects builds from devel-proposed/ubuntu starting from first Xenial
  build.

  Test Case:
  Boot in fastboot mode and flash with:
  $ ubuntu-device-flash -v touch --channel=ubuntu-touch/devel-proposed/ubuntu --bootstrap
  or 
  upgrade from 336 to latest devel-proposed image

  Actual Result
  During a successful flashing operation of a device from fastboot, it boots once into recovery, then reboots and a rotating Ubuntu logo is displayed while the devices is being flashed.
  With this issue, on the second stage of the flash the phone is stuck on the vendor's logo (google or bq) and the rotating ubuntu logo is never displayed.

  Same problem on krillin devel-proposed/krillin.en 235

  Workaround:
  Boot into recovery, mount the system partition and downgrade systemd to 225-1ubuntu9

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1512323/+subscriptions