[Xperia Z Original Android Development] Tijmen:
I don't think memory leaks are the proper diagnosis, after locking the phone for a couple of minutes the lockscreen doesn't respond to touch input anymore. I can open the power menu, but not click it, and can't slide to unlock the phone. Holding the power button for 15+ seconds doesn't reboot it either, but what's most peculiar is that the screenshot I make are uploaded to my Dropbox in the background without a problem. I ADB'd into my phone to reboot it (the only way) and ran a quick 'adb shell top' whit this output:

User 6%, System 7%, IOW 0%, IRQ 0%
User 20 + Nice 0 + Sys 26 + Idle 286 + IOW 0 + IRQ 0 + SIRQ 0 = 332

PID PR CPU% S #THR VSS RSS PCY UID Name
3489 0 8% R 1 1400K 632K root top
219 0 2% S 5 4548K 228K root /sbin/adbd
13 0 1% S 1 0K 0K root kworker/0:1
209 0 0% S 5 5352K 492K root /system/bin/mpdecision
572 0 0% S 94 1034224K 78132K fg system system_server
3322 0 0% S 1 0K 0K root kworker/u:0
861 0 0% S 27 942092K 52636K fg u0_a38 com.android.systemui
1019 0 0% S 41 897332K 44120K bg u0_a45 com.google.process.location
1107 1 0% S 39 899728K 35280K bg u0_a45 com.google.process.gapps
2166 0 0% S 34 889316K 37148K fg u0_a58 com.google.android.apps.maps
18 0 0% S 1 0K 0K root bdi-default
19 1 0% S 1 0K 0K root kblockd
20 1 0% S 1 0K 0K root mhl_msc_command
21 1 0% S 1 0K 0K root mhl_rap_command
22 1 0% S 1 0K 0K root mhl_scratchpad
23 1 0% S 1 0K 0K root mhl_usb_online
24 0 0% S 1 0K 0K root msm_slim_ctrl_r
25 1 0% S 1 0K 0K root sb-1
26 0 0% S 1 0K 0K root khubd
27 1 0% S 1 0K 0K root irq/84-msm_iomm
28 1 0% S 1 0K 0K root irq/84-msm_iomm
29 1 0% S 1 0K 0K root irq/96-msm_iomm
30 1 0% S 1 0K 0K root irq/96-msm_iomm
31 1 0% S 1 0K 0K root irq/94-msm_iomm
32 1 0% S 1 0K 0K root irq/94-msm_iomm
33 1 0% S 1 0K 0K root irq/92-msm_iomm
34 1 0% S 1 0K 0K root irq/92-msm_iomm
35 1 0% S 1 0K 0K root irq/100-msm_iom
36 1 0% S 1 0K 0K root irq/100-msm_iom
37 1 0% S 1 0K 0K root irq/86-msm_iomm
38 1 0% S 1 0K 0K root irq/86-msm_iomm
39 1 0% S 1 0K 0K root irq/90-msm_iomm
40 1 0% S 1 0K 0K root irq/90-msm_iomm
41 1 0% S 1 0K 0K root irq/88-msm_iomm
42 1 0% S 1 0K 0K root irq/102-msm_iom
43 1 0% S 1 0K 0K root irq/102-msm_iom
44 1 0% S 1 0K 0K root irq/98-msm_iomm
45 1 0% S 1 0K 0K root irq/98-msm_iomm
46 1 0% S 1 0K 0K root irq/243-msm_iom
47 1 0% S 1 0K 0K root irq/243-msm_iom
48 1 0% S 1 0K 0K root irq/269-msm_iom
49 1 0% S 1 0K 0K root irq/269-msm_iom
50 1 0% S 1 0K 0K root l2cap
51 1 0% S 1 0K 0K root a2mp
52 1 0% S 1 0K 0K root cfg80211
53 1 0% S 1 0K 0K root modem_notifier
54 1 0% S 1 0K 0K root smd_channel_clo
55 1 0% S 1 0K 0K root smsm_cb_wq
56 0 0% S 1 0K 0K root kworker/u:1
57 1 0% S 1 0K 0K root qmi
58 1 0% S 1 0K 0K root nmea
59 1 0% S 1 0K 0K root msm_ipc_router
60 1 0% S 1 0K 0K root apr_driver
61 1 0% S 1 0K 0K root irq/337-mdm sta
62 1 0% S 1 0K 0K root irq/334-mdm pbl
63 1 0% S 1 0K 0K root kswapd0
64 1 0% S 1 0K 0K root fsnotify_mark
65 1 0% S 1 0K 0K root cifsiod
66 1 0% S 1 0K 0K root crypto
80 1 0% S 1 0K 0K root mdp_dma_wq
81 1 0% S 1 0K 0K root mdp_vsync_wq
82 1 0% S 1 0K 0K root mdp_pipe_ctrl_w
83 1 0% S 1 0K 0K root mdp_cursor_ctrl
84 0 0% S 1 0K 0K root msmfb_commit_th
85 1 0% S 1 0K 0K root hdmi_hdcp
86 1 0% S 1 0K 0K root irq/111-hdmi_ms
87 1 0% S 1 0K 0K root dtv_work
88 1 0% S 1 0K 0K root msmfb_commit_th
89 1 0% S 1 0K 0K root msmfb_commit_th
90 1 0% S 1 0K 0K root vidc_worker_que
91 1 0% S 1 0K 0K root vidc_timer_wq
92 1 0% S 1 0K 0K root smux_notify_wq
93 1 0% S 1 0K 0K root smux_tx_wq
94 1 0% S 1 0K 0K root smux_rx_wq
95 1 0% S 1 0K 0K root smux_loopback_w
96 1 0% S 1 0K 0K root diag_wq
97 1 0% S 1 0K 0K root hsic_diag_wq
98 1 0% S 1 0K 0K root hsic_2_diag_wq
99 1 0% S 1 0K 0K root smux_diag_wq
100 1 0% S 1 0K 0K root diag_cntl_wq
101 1 0% S 1 0K 0K root diag_dci_wq
102 1 0% S 1 0K 0K root kgsl-3d0
103 1 0% S 1 0K 0K root irq/317-pn544
104 1 0% S 1 0K 0K root irq/330-wcd9xxx
111 1 0% S 1 0K 0K root usbnet
112 1 0% S 1 0K 0K root otg_work
113 1 0% S 1 0K 0K root mdm_bridge
114 1 0% S 1 0K 0K root ks_bridge:1
115 1 0% S 1 0K 0K root ks_bridge:2
116 1 0% S 1 0K 0K root ks_bridge:3
117 1 0% S 1 0K 0K root ks_bridge:4
118 1 0% S 1 0K 0K root k_rmnet_mux_wor
119 1 0% S 1 0K 0K root f_mtp
120 1 0% S 1 0K 0K root file-storage
121 1 0% S 1 0K 0K root uether
122 1 0% S 1 0K 0K root kpsmoused
123 0 0% S 1 0K 0K root irq/294-clearpa
124 1 0% S 1 0K 0K root irq/295-2-000c
125 1 0% S 1 0K 0K root irq/333-apds970
1 0 0% S 1 540K 364K root /init
127 0 0% S 1 0K 0K root cfinteractive
128 1 0% S 1 0K 0K root iewq
130 1 0% S 1 0K 0K root irq/314-msm-sdc
131 1 0% S 1 0K 0K root binder
132 0 0% S 1 0K 0K root mmcqd/0
133 0 0% S 1 0K 0K root kworker/u:3
134 1 0% S 1 0K 0K root irq/365-tabla-g
135 1 0% S 1 0K 0K root krfcommd
136 1 0% S 1 0K 0K root msm-cpufreq
137 1 0% S 1 0K 0K root rq_stats
138 1 0% S 1 0K 0K root irq/326-mhl_sii
139 1 0% S 1 0K 0K root deferwq
141 1 0% D 1 0K 0K root msm_dcvs/1
142 1 0% D 1 0K 0K root msm_dcvs/2
143 1 0% D 1 0K 0K root msm_dcvs/3
144 1 0% D 1 0K 0K root msm_dcvs/4
147 0 0% S 1 492K 260K root /sbin/ueventd
148 0 0% S 1 0K 0K root kworker/0:3
150 1 0% S 1 0K 0K root jbd2/mmcblk0p24
151 1 0% S 1 0K 0K root ext4-dio-unwrit
154 0 0% S 1 0K 0K root flush-179:0
156 0 0% S 1 0K 0K root jbd2/mmcblk0p25
157 1 0% S 1 0K 0K root ext4-dio-unwrit
161 0 0% S 1 0K 0K root jbd2/mmcblk0p26
162 1 0% S 1 0K 0K root ext4-dio-unwrit
163 1 0% S 1 0K 0K root jbd2/mmcblk0p16
164 1 0% S 1 0K 0K root ext4-dio-unwrit
165 2 0% S 1 496K 260K root /sbin/tad_static
190 0 0% S 1 1000K 184K system /system/bin/servicemanager
191 1 0% S 3 4448K 736K root /system/bin/vold
193 1 0% S 8 10472K 1432K root /system/bin/netd
194 0 0% S 1 1080K 248K root /system/bin/debuggerd
195 1 0% S 9 17504K 3920K radio /system/bin/rild
196 0 0% S 11 149740K 10292K fg system /system/bin/surfaceflinger
197 0 0% S 4 837524K 37388K root zygote
198 1 0% S 2 10880K 3268K fg drm /system/bin/drmserver
200 3 0% S 13 53524K 12740K fg media /system/bin/mediaserver
201 1 0% S 1 1032K 464K install /system/bin/installd
202 2 0% S 1 3676K 1288K fg keystore /system/bin/keystore
203 0 0% S 2 2304K 580K nobody /system/bin/rmt_storage
205 1 0% S 4 5872K 784K root /system/bin/ta_qmi_client
208 0 0% S 20 22040K 860K root /system/bin/thermald
212 0 0% S 1 2284K 572K system /system/bin/qseecomd
213 0 0% S 2 2504K 412K media_rw /system/bin/sdcard
214 0 0% S 1 996K 520K shell /system/bin/sh
215 0 0% S 6 7548K 508K radio /system/bin/qmuxd
216 0 0% S 6 7716K 872K radio /system/bin/netmgrd
217 0 0% S 1 712K 4K root /system/xbin/su
237 0 0% S 2 3328K 324K system /system/bin/qseecomd
317 1 0% S 1 0K 0K root hsicctl0
318 1 0% S 1 0K 0K root hsicctl1
319 1 0% S 1 0K 0K root hsicctl2
320 1 0% S 1 0K 0K root hsicctl3
326 1 0% S 1 1248K 612K system /system/bin/qcks
683 1 0% S 1 0K 0K root IPCRTR
684 1 0% S 1 0K 0K root ipc_rtr_q6_ipcr
698 0 0% S 1 1224K 492K system /system/bin/efsks
704 1 0% S 1 0K 0K root ehci_wq
709 1 0% S 1 0K 0K root irq/337-hsic_pe
710 0 0% S 1 3048K 2160K system /system/bin/ks
786 0 0% S 1 0K 0K root loop0
787 1 0% S 1 0K 0K root kdmflush
799 1 0% S 1 0K 0K root kcryptd_io
800 1 0% S 1 0K 0K root kcryptd
801 1 0% S 1 0K 0K root ext4-dio-unwrit
803 0 0% S 1 0K 0K root loop1
804 1 0% S 1 0K 0K root kdmflush
805 1 0% S 1 0K 0K root kcryptd_io
806 1 0% S 1 0K 0K root kcryptd
807 0 0% S 1 0K 0K root ext4-dio-unwrit
811 0 0% S 1 0K 0K root loop2
812 0 0% S 1 0K 0K root kdmflush
813 0 0% S 1 0K 0K root kcryptd_io
814 0 0% S 1 0K 0K root kcryptd
815 0 0% S 1 0K 0K root ext4-dio-unwrit
817 0 0% S 1 0K 0K root loop3
818 0 0% S 1 0K 0K root kdmflush
819 0 0% S 1 0K 0K root kcryptd_io
820 0 0% S 1 0K 0K root kcryptd
821 0 0% S 1 0K 0K root ext4-dio-unwrit
828 0 0% S 1 0K 0K root WD_Thread
829 0 0% S 1 0K 0K root MC_Thread
830 0 0% S 1 0K 0K root TX_Thread
831 0 0% S 1 0K 0K root RX_Thread
843 0 0% S 1 3876K 2004K wifi /system/bin/wpa_supplicant
961 0 0% S 15 865884K 36232K bg u0_a0 android.process.acore
987 0 0% S 13 853592K 26624K bg u0_a55 com.google.android.keep
1002 0 0% S 18 885688K 48172K fg u0_a75 com.touchtype.swiftkey
1037 0 0% S 25 866376K 26988K fg radio com.android.phone
1049 1 0% S 14 851280K 20576K fg nfc com.android.nfc
1060 0 0% S 17 889400K 64824K bg u0_a79 com.anddoes.launcher
1112 0 0% S 13 850580K 17476K fg nfc com.android.nfc:handover
1152 0 0% S 11 847140K 16856K fg u0_a43 com.android.smspush
1220 0 0% S 14 853220K 29960K bg u0_a12 android.process.media
1277 0 0% S 26 929124K 32264K bg u0_a45 com.google.android.gms
1311 0 0% S 1 1072K 472K dhcp /system/bin/dhcpcd
1358 0 0% S 21 875080K 31924K bg u0_a45 com.google.android.gsf.login
1376 0 0% S 1 0K 0K root kworker/0:4
1424 0 0% S 31 885300K 52900K bg u0_a87 com.facebook.orca
1533 0 0% S 30 901636K 73232K bg u0_a90 com.facebook.katana
1547 0 0% S 10 846972K 17432K bg u0_a92 com.bel.android.dspmanager
1565 0 0% S 18 859292K 20496K bg u0_a5 com.google.android.calendar
1590 1 0% S 11 850688K 20620K bg u0_a6 com.android.providers.calenda
r
1656 2 0% S 44 884324K 24220K bg u0_a24 com.android.mms
1787 0 0% S 34 953324K 93344K bg u0_a48 com.google.android.gm
1877 3 0% S 32 877540K 35280K bg u0_a61 com.android.vending
1914 3 0% S 36 881040K 27648K bg u0_a69 com.google.android.youtube
1979 0 0% S 30 952672K 66864K fg u0_a77 com.whatsapp
2015 0 0% S 15 856248K 24312K bg u0_a80 com.dropbox.android
2100 3 0% S 20 864456K 26524K bg u0_a60 com.google.android.music:main

2146 3 0% S 12 849064K 19752K bg u0_a59 com.google.android.apps.uploa
der
2219 0 0% S 15 857540K 23272K bg u0_a53 com.google.android.tts
2864 1 0% S 41 969456K 85200K bg u0_a85 com.android.chrome
3058 2 0% S 11 847472K 17760K bg u0_a52 com.google.android.partnerset
up
3268 0 0% S 19 872692K 35796K bg u0_a35 com.google.android.googlequic
ksearchbox
3316 0 0% S 1 0K 0K root kworker/0:0
126 0 0% S 1 0K 0K root kworker/0:2
2 0 0% S 1 0K 0K root kthreadd
3 0 0% S 1 0K 0K root ksoftirqd/0
6 0 0% S 1 0K 0K root migration/0
10 1 0% S 1 0K 0K root khelper
11 1 0% S 1 0K 0K root suspend_sys_syn
12 1 0% S 1 0K 0K root suspend
15 1 0% S 1 0K 0K root pm8921_v3_post_
16 1 0% S 1 0K 0K root irq/203-msmdata
17 0 0% S 1 0K 0K root sync_supers

Nothing out of the normal I think, are there any things that would be useful to do when it goes into this state again?