kernel panic pressing any key in terminal that spawned emulator

Bug #1329374 reported by James Hunt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
goget-ubuntu-touch (Ubuntu)
Fix Released
Undecided
Sergio Schvezov
Utopic
Fix Released
Undecided
Sergio Schvezov
linux-goldfish (Ubuntu)
Fix Released
Undecided
Tim Gardner
Utopic
Fix Released
Undecided
Tim Gardner

Bug Description

See attached.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: ubuntu-emulator 0.2+14.10.20140610-0ubuntu1
ProcVersionSignature: Ubuntu 3.15.0-5.10-generic 3.15.0-rc8
Uname: Linux 3.15.0-5-generic x86_64
ApportVersion: 2.14.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Jun 12 17:18:09 2014
InstallationDate: Installed on 2014-04-11 (61 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Daily amd64 (20140409)
SourcePackage: goget-ubuntu-touch
UpgradeStatus: Upgraded to utopic on 2014-05-08 (35 days ago)

Related branches

Revision history for this message
James Hunt (jamesodhunt) wrote :
Revision history for this message
James Hunt (jamesodhunt) wrote :

Yup, this is fully repeatable. I'm starting the emulator like this:

$ ubuntu-emulator run test_x86

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Are you able to reproduce the error when running with '--memory=1024' ?

Revision history for this message
James Hunt (jamesodhunt) wrote :

Yes. And with --memory=2048 and --memory=4096. The crash is triggered by any key press fwiw.

What's interesting is that if I press a key immediately (that is to say *before* the kernel has started and the emulator is busy spewing out information on its config), the panic won't occur until after the kernel has started userland. But I will always get a panic at that post-userland-started point if I press the return early.

For example, if I press a key immediately, the panic doesn't occur until here:

[ 1.653795] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
[ 1.653858] init: cannot find '/system/bin/ubuntuappmanager.disabled', disabling 'ubuntuappmanager'
[ 1.724046] init: property 'sys.powerctl' doesn't exist while expanding '${sys.powerctl}'
[ 1.724108] init: powerctl: cannot expand '${sys.powerctl}'
[ 1.724130] init: property 'sys.sysctl.extra_free_kbytes' doesn't exist while expanding '${sys.sysctl.extra_free_kbytes}'
[ 1.724149] init: cannot expand '${sys.sysctl.extra_free_kbytes}' while writing to '/proc/sys/vm/extra_free_kbytes'
[ 1.724271] init: cannot find '/sbin/adbd', disabling 'adbd'
[ 2.719492] systemd-logind[737]: cgmanager: cgm_list_children for controller=systemd, cgroup_path=user failed: invalid request
[ 4.166829] BUG: unable to handle kernel NULL pointer dereference at 000000bc
[ 4.166883] IP: [<c0478764>] tty_buffer_request_room+0x1d/0x128
[ 4.166920] *pde = 00000000
[ 4.166951] Oops: 0000 [#1] PREEMPT
[ 4.166994] Modules linked in:
[ 4.167025]
[ 4.167045] Pid: 933, comm: resolvconf Not tainted 3.4.0-3-goldfish #17-Ubuntu

summary: - kernel panic pressing return in terminal that spawned emulator
+ kernel panic pressing any key in terminal that spawned emulator
Tim Gardner (timg-tpi)
Changed in linux-goldfish (Ubuntu Utopic):
assignee: nobody → Tim Gardner (timg-tpi)
status: New → In Progress
Revision history for this message
Robert Hooker (sarvatt) wrote :
Tim Gardner (timg-tpi)
Changed in linux-goldfish (Ubuntu Utopic):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-goldfish - 3.4.0-4.20

---------------
linux-goldfish (3.4.0-4.20) utopic; urgency=low

  [ Tim Gardner ]

  * [Config] updateconfigs (fixes FTBS)
 -- Tim Gardner <email address hidden> Thu, 17 Jul 2014 10:22:25 -0600

Changed in linux-goldfish (Ubuntu Utopic):
status: Fix Committed → Fix Released
Changed in goget-ubuntu-touch (Ubuntu Utopic):
assignee: nobody → Sergio Schvezov (sergiusens)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package goget-ubuntu-touch - 0.3+14.10.20140807-0ubuntu1

---------------
goget-ubuntu-touch (0.3+14.10.20140807-0ubuntu1) utopic; urgency=low

  [ Paul Larson ]
  * Fix checking for free space in cache when it's mounted in a
    different location

  [ Jani Monoses ]
  * ubuntu-device-flash: Add --download-only flag. (LP: #1295148)

  [ Sergio Schvezov ]
  * Unhooking stdin from the emulator and removing -shell switch as it's
    not needed anymore (LP: #1329374)
 -- Ubuntu daily release <email address hidden> Thu, 07 Aug 2014 03:57:01 +0000

Changed in goget-ubuntu-touch (Ubuntu Utopic):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.