binder: 18682:18740 Release 1 refcount change on invalid ref 3 ret -22 binder_alloc: 18682: binder_alloc_buf, no vma binder: 18682:18740 transaction failed 29189/-3, size 0-7995578188442894336 line 2963 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29201 INFO: task kworker/1:3:5718 blocked for more than 120 seconds. Not tainted 4.16.0+ #380 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/1:3 D19304 5718 2 0x80000000 Workqueue: events cgwb_release_workfn Call Trace: context_switch kernel/sched/core.c:2848 [inline] __schedule+0x8fb/0x1ef0 kernel/sched/core.c:3490 schedule+0xf5/0x430 kernel/sched/core.c:3549 bit_wait+0x18/0x90 kernel/sched/wait_bit.c:197 __wait_on_bit+0x88/0x130 kernel/sched/wait_bit.c:48 out_of_line_wait_on_bit+0x204/0x3a0 kernel/sched/wait_bit.c:63 wait_on_bit include/linux/wait_bit.h:76 [inline] wb_shutdown+0x335/0x430 mm/backing-dev.c:377 cgwb_release_workfn+0x8b/0x622 mm/backing-dev.c:520 process_one_work+0xc97/0x1c40 kernel/workqueue.c:2145 worker_thread+0x1c3/0x1380 kernel/workqueue.c:2279 kthread+0x33c/0x400 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:411 Showing all locks held in the system: 2 locks held by khungtaskd/878: #0: 00000000cc8c405c (rcu_read_lock){....}, at: check_hung_uninterruptible_tasks kernel/hung_task.c:175 [inline] #0: 00000000cc8c405c (rcu_read_lock){....}, at: watchdog+0x1d6/0xd70 kernel/hung_task.c:249 #1: 000000009212c36e (tasklist_lock){.+.+}, at: debug_show_all_locks+0xd3/0x3d0 kernel/locking/lockdep.c:4470 2 locks held by getty/4417: #0: 000000008e518c18 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000002c343c39 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by getty/4418: #0: 00000000cba8eaeb (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000fba93314 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by getty/4419: #0: 0000000049f2d575 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000b0712f7a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by getty/4420: #0: 000000009d4c54ae (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000004d7de388 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by getty/4421: #0: 00000000314472f4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000fa16a90c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by getty/4422: #0: 00000000c9781e23 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000b4e8ea67 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by getty/4423: #0: 0000000027a6ecf5 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000673dc251 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by kworker/1:3/5718: #0: 00000000e0ccd8a1 ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 00000000e0ccd8a1 ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000e0ccd8a1 ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000e0ccd8a1 ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:57 [inline] #0: 00000000e0ccd8a1 ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000e0ccd8a1 ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000e0ccd8a1 ((wq_completion)"events"){+.+.}, at: process_one_work+0xb83/0x1c40 kernel/workqueue.c:2116 #1: 000000008ad5160e ((work_completion)(&wb->release_work)){+.+.}, at: process_one_work+0xbd9/0x1c40 kernel/workqueue.c:2120 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 878 Comm: khungtaskd Not tainted 4.16.0+ #380 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1a7/0x27d lib/dump_stack.c:53 nmi_cpu_backtrace+0x1e0/0x220 lib/nmi_backtrace.c:103 nmi_trigger_cpumask_backtrace+0x123/0x180 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:138 [inline] check_hung_task kernel/hung_task.c:132 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:190 [inline] watchdog+0x969/0xd70 kernel/hung_task.c:249 kthread+0x33c/0x400 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:411 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.16.0+ #380 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rq_unlock_irqrestore kernel/sched/sched.h:1809 [inline] RIP: 0010:sched_ttwu_pending+0x1dc/0x270 kernel/sched/core.c:1740 RSP: 0018:ffff8801db107c40 EFLAGS: 00000046 RAX: ffffed003b620f8b RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8801d9ec8b84 RBP: ffff8801db107ce0 R08: 0000000000000001 R09: ffffed003b625a05 R10: 0000000000000001 R11: ffffed003b625a04 R12: ffff8801db12c5c0 R13: 1ffff1003b620f8b R14: dffffc0000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8801db100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001c79a1000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: scheduler_ipi+0x31c/0xa40 kernel/sched/core.c:1769 smp_reschedule_interrupt+0xe6/0x650 arch/x86/kernel/smp.c:277 reschedule_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:886 RIP: 0010:native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:54 RSP: 0018:ffff8801d9ed7cb0 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff02 RAX: dffffc0000000000 RBX: 1ffff1003b3daf99 RCX: 0000000000000000 RDX: 1ffffffff10a2558 RSI: 0000000000000001 RDI: ffffffff88512ac0 RBP: ffff8801d9ed7cb0 R08: ffffed003b6246c3 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: ffff8801d9ed7d68 R14: ffffffff88ee37a0 R15: 0000000000000000 arch_safe_halt arch/x86/include/asm/paravirt.h:94 [inline] default_idle+0xbf/0x430 arch/x86/kernel/process.c:354 arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:345 default_idle_call+0x36/0x90 kernel/sched/idle.c:93 cpuidle_idle_call kernel/sched/idle.c:151 [inline] do_idle+0x24a/0x3b0 kernel/sched/idle.c:241 cpu_startup_entry+0x104/0x120 kernel/sched/idle.c:346 start_secondary+0x40a/0x590 arch/x86/kernel/smpboot.c:267 secondary_startup_64+0xa5/0xb0 arch/x86/kernel/head_64.S:242 Code: 00 4c 89 f2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 75 7f 48 8b 85 70 ff ff ff 4c 89 e7 48 8b 70 c0 e8 e4 f2 a1 05 <48> b8 00 00 00 00 00 fc ff df 49 c7 44 05 00 00 00 00 00 42 c7