dropping letters app crashes the emulator after a few seconds

Bug #1324509 reported by Marc Deslauriers
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
android (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

1- Start x86 emulator
2- Start dropping letters
3- click on some letters
4- Watch emulator hang

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: android (not installed)
ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11
Uname: Linux 3.13.0-27-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: Unity
Date: Thu May 29 13:58:11 2014
InstallationDate: Installed on 2013-11-26 (183 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: android
UpgradeStatus: Upgraded to trusty on 2014-01-17 (131 days ago)

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in android (Ubuntu):
status: New → Confirmed
Revision history for this message
John Johansen (jjohansen) wrote :
Download full text (11.5 KiB)

tail -f /var/log/syslog

while playing dropping letters

May 29 11:56:06 ubuntu-phablet whoopsie[1471]: offline
May 29 11:56:06 ubuntu-phablet rtkit-daemon[1462]: Successfully made thread 1460 of process 1460 (n/a) owned by '32011' high priority at nice level -11.
May 29 11:56:06 ubuntu-phablet rtkit-daemon[1462]: Supervising 1 threads of 1 processes of 1 users.
May 29 11:56:07 ubuntu-phablet kernel: [ 22.477826] eth0: no IPv6 routers present
May 29 11:56:08 ubuntu-phablet dbus[588]: [system] Successfully activated service 'com.canonical.SystemImage'
May 29 11:56:19 ubuntu-phablet ntpdate[1518]: adjust time server 91.189.94.4 offset 0.260179 sec
May 29 11:56:22 ubuntu-phablet dbus[588]: [system] Activating service name='com.canonical.UserMetrics' (using servicehelper)
May 29 11:56:22 ubuntu-phablet dbus[588]: [system] Successfully activated service 'com.canonical.UserMetrics'
May 29 11:57:03 ubuntu-phablet kernel: [ 78.848582] init: enable-cpu-hotplugging main process (1348) terminated with status 1
May 29 11:58:08 ubuntu-phablet dbus[1253]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/core/ubuntu/media/Service" interface="core.ubuntu.media.Service" member="CreateSession" mask="send" name="core.ubuntu.media.Service" pid=1824 profile="com.ubuntu.dropping-letters_dropping-letters_0.1.2.2.52" peer_pid=1449 peer_profile="/usr/bin/media-hub-server"
May 29 11:58:51 ubuntu-phablet kernel: [ 186.472163] select 1 (init), adj 0, size 373, to kill
May 29 11:58:52 ubuntu-phablet kernel: [ 186.472163] select 612 (powerd), adj 0, size 580, to kill
May 29 11:58:52 ubuntu-phablet kernel: [ 186.472163] select 1430 (system-image-db), adj 0, size 1866, to kill
May 29 11:58:52 ubuntu-phablet kernel: [ 186.472163] send sigkill to 1430 (system-image-db), adj 0, size 1866
May 29 11:58:52 ubuntu-phablet kernel: [ 186.472163] select 1 (init), adj 0, size 373, to kill
May 29 11:58:52 ubuntu-phablet kernel: [ 186.472163] select 612 (powerd), adj 0, size 580, to kill
May 29 11:58:52 ubuntu-phablet kernel: [ 186.472163] select 1 (init), adj 0, size 373, to kill
May 29 11:58:52 ubuntu-phablet kernel: [ 186.472163] select 612 (powerd), adj 0, size 580, to kill

May 29 11:59:35 ubuntu-phablet kernel: [ 227.064288] select 1 (init), adj 0, size 321, to kill
May 29 11:59:38 ubuntu-phablet kernel: [ 227.064288] select 612 (powerd), adj 0, size 488, to kill
May 29 11:59:38 ubuntu-phablet kernel: [ 227.064288] send sigkill to 612 (powerd), adj 0, size 488
May 29 11:59:38 ubuntu-phablet kernel: [ 227.114632] select 1 (init), adj 0, size 330, to kill
May 29 11:59:38 ubuntu-phablet kernel: [ 227.114632] select 663 (polkitd), adj 0, size 434, to kill
May 29 11:59:38 ubuntu-phablet kernel: [ 227.114632] send sigkill to 663 (polkitd), adj 0, size 434
May 29 11:59:38 ubuntu-phablet kernel: [ 227.114632] select 1 (init), adj 0, size 330, to kill
May 29 11:59:38 ubuntu-phablet kernel: [ 227.114632] select 1 (init), adj 0, size 330, to kill
May 29 11:59:38 ubuntu-phablet kernel: [ 227.114632] select 1 (init), adj 0, size 330, to kill
May 29 11:59:38 ubuntu-phablet kernel: [ 227.164537] select 1 (init), adj 0, size 330, to kill
May 29 11:59:38...

Revision history for this message
John Johansen (jjohansen) wrote :

top (sorted by mem) before running dropping letters

top - 12:18:28 up 0 min, 1 user, load average: 3.96, 1.35, 0.47
Tasks: 131 total, 1 running, 130 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.0 us, 25.0 sy, 0.0 ni, 75.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 508716 total, 502428 used, 6288 free, 11888 buffers
KiB Swap: 0 total, 0 used, 0 free. 313676 cached Mem

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
  637 root 20 0 47488 1288 988 S 0.3 0.3 0:00.10 adbd
    1 root 20 0 4600 2484 1432 S 0.0 0.5 0:00.63 init
    2 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kthreadd
    3 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
    4 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kworker/0:0
    5 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/u:0
    6 root rt 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
    7 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset
    8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper
    9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs
   10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns
   11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 sync_supers
   12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default
   13 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd
   14 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 ata_sff
   15 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khubd
   16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 md

Revision history for this message
John Johansen (jjohansen) wrote :

top (sorted by mem) after system crashes

top - 12:21:49 up 4 min, 1 user, load average: 1.20, 0.97, 0.48
Tasks: 129 total, 1 running, 128 sleeping, 0 stopped, 0 zombie
%Cpu(s): 18.0 us, 19.1 sy, 0.0 ni, 50.6 id, 12.4 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 508716 total, 503628 used, 5088 free, 1700 buffers
KiB Swap: 0 total, 0 used, 0 free. 68712 cached Mem

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 2137 phablet 20 0 439320 291924 25228 S 3.0 57.4 0:00.63 qmlscene
 1778 phablet 20 0 422564 70500 31228 S 2.0 13.9 0:02.36 unity8
 1919 phablet 20 0 259636 32540 23712 S 0.0 6.4 0:00.28 maliit-serv+
 1978 phablet 20 0 128036 31440 7048 S 0.0 6.2 0:00.11 evolution-c+
 1484 phablet 20 0 109428 13504 8364 S 0.0 2.7 0:00.15 mediascanne+
 1581 root 20 0 30108 11792 4820 S 0.0 2.3 0:00.20 system-imag+
 1809 phablet 20 0 115112 10504 9040 S 0.0 2.1 0:00.02 telephony-s+
 1630 phablet 20 0 336692 9612 7852 S 0.0 1.9 0:00.04 smartscopes+
 1611 phablet 20 0 69728 9484 8348 S 0.0 1.9 0:00.02 hud-service
 2164 phablet 20 0 65492 8212 6624 S 0.0 1.6 0:00.02 zeitgeist-f+
 1891 phablet 20 0 63164 8112 6236 S 0.0 1.6 0:00.02 evolution-s+
  731 root 20 0 128400 8088 6828 S 0.3 1.6 0:00.40 unity-syste+
 1797 phablet 20 0 98540 7484 5760 S 0.0 1.5 0:00.06 indicator-d+
  592 root 20 0 71060 7000 5548 S 0.0 1.4 0:00.09 powerd
 1479 phablet 20 0 844464 6556 3068 S 0.0 1.3 0:00.22 ubuntu-push+
 1609 phablet 20 0 47452 6508 4716 S 0.0 1.3 0:00.06 media-hub-s+
 1777 phablet 20 0 210568 5968 4760 S 0.0 1.2 0:00.00 scoperegist+

Revision history for this message
John Johansen (jjohansen) wrote :

you can watch qmlscene memory consumption increase with each letter dropped

It appears that the oom killer is firing but the emulator isn't recovering

Revision history for this message
John Johansen (jjohansen) wrote :
Download full text (8.1 KiB)

another back trace

May 29 12:23:00 ubuntu-phablet NetworkManager[2200]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
May 29 12:23:00 ubuntu-phablet NetworkManager[2200]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
May 29 12:23:00 ubuntu-phablet NetworkManager[2200]: <info> urfkill disappeared from the bus
May 29 12:23:00 ubuntu-phablet NetworkManager[2200]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
May 29 12:23:00 ubuntu-phablet NetworkManager[2200]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
May 29 12:23:00 ubuntu-phablet NetworkManager[2200]: <info> NetworkManager state is now CONNECTED_GLOBAL
May 29 12:23:00 ubuntu-phablet NetworkManager[2200]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
May 29 12:23:00 ubuntu-phablet whoopsie[2207]: offline
May 29 12:21:05 ubuntu-phablet dbus[1473]: message repeated 3 times: [ apparmor="DENIED" operation="dbus_method_call" bus="session" path="/core/ubuntu/media/Service" interface="core.ubuntu.media.Service" member="CreateSession" mask="send" name="core.ubuntu.media.Service" pid=2137 profile="com.ubuntu.dropping-letters_dropping-letters_0.1.2.2.52" peer_pid=1609 peer_profile="/usr/bin/media-hub-server"]
May 29 12:27:44 ubuntu-phablet dbus[1473]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/core/ubuntu/media/Service" interface="core.ubuntu.media.Service" member="CreateSession" mask="send" name="core.ubuntu.media.Service" pid=2235 profile="com.ubuntu.dropping-letters_dropping-letters_0.1.2.2.52" peer_pid=1609 peer_profile="/usr/bin/media-hub-server"
May 29 12:28:23 ubuntu-phablet kernel: [ 650.099808] select 1 (init), adj 0, size 361, to kill
May 29 12:28:26 ubuntu-phablet kernel: [ 650.099808] select 2181 (powerd), adj 0, size 593, to kill
May 29 12:28:26 ubuntu-phablet kernel: [ 650.099808] send sigkill to 2181 (powerd), adj 0, size 593
May 29 12:28:26 ubuntu-phablet kernel: [ 651.147456] select 1 (init), adj 0, size 281, to kill
May 29 12:28:26 ubuntu-phablet kernel: [ 651.147456] select 2200 (NetworkManager), adj 0, size 341, to kill
May 29 12:28:26 ubuntu-phablet kernel: [ 651.147456] select 2206 (polkitd), adj 0, size 365, to kill
May 29 12:28:26 ubuntu-phablet kernel: [ 651.147456] send sigkill to 2206 (polkitd), adj 0, size 365
May 29 12:28:26 ubuntu-phablet kernel: [ 652.245307] select 1 (init), adj 0, size 291, to kill
May 29 12:28:26 ubuntu-phablet kernel: [ 652.245307] select 2200 (NetworkManager), adj 0, size 337, to kill
May 29 12:28:26 ubuntu-phablet kernel: [ 652.245307] send sigkill to 2200 (NetworkManager), adj 0, size 337
May 29 12:28:26 ubuntu-phablet kernel: [ 653.334999] select 1 (init), adj 0, size 296, to kill
May 29 12:28:26 ubuntu-phablet kernel: [ 653.334999] send sigkill to 1 (init), adj 0, size 296
May 29 12:28:26 ubuntu-phablet kernel: [ 654.375338] select 1 (init), adj 0, size 303, to kill
May 29 12:28:26 ubuntu-phablet kernel: [ 654.375338] send sigkill to 1 (init), adj 0, size 303
May 29 12:28:27 ...

Read more...

Revision history for this message
John Johansen (jjohansen) wrote :

Also after multiple runs it does come back some times, eventually.

So this looks like 2 bugs, the dropping letters mem leak, and oom killer killing the wrong tasks

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.