[Bug 910287] Re: ps hangs when listing root processes
Apr 20 08:21:23 gooseberry kernel: [41066.028367] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [JS Helper:5435] Apr 20 08:21:23 gooseberry kernel: [41066.028370] Modules linked in: rfcomm pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) bnep binfmt_misc snd_hda_codec_hdmi zfs(PO) zunicode(PO) zavl(PO) zcommon(PO) znvpair(PO) spl(O) dm_crypt input_leds nvidia_uvm(POE) snd_usb_audio eeepc_wmi asus_wmi snd_usbmidi_lib sparse_keymap video mxm_wmi joydev btusb btrtl btbcm btintel bluetooth intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul snd_hda_codec_realtek crc32_pclmul snd_hda_codec_generic ghash_clmulni_intel pcbc snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep aesni_intel snd_pcm aes_x86_64 crypto_simd glue_helper cryptd snd_seq_midi snd_seq_midi_event nvidia(POE) intel_cstate snd_rawmidi intel_rapl_perf snd_seq lpc_ich snd_seq_device snd_timer snd drm soundcore mei_me mei shpchp Apr 20 08:21:23 gooseberry kernel: [41066.028399] mac_hid wmi cuse parport_pc ppdev sunrpc lp parport ip_tables x_tables autofs4 wacom hid_generic usbhid hid firewire_ohci e1000e firewire_core ahci crc_itu_t libahci ptp pps_core fjes Apr 20 08:21:23 gooseberry kernel: [41066.028418] CPU: 0 PID: 5435 Comm: JS Helper Tainted: P DOEL 4.10.0-19-generic #21-Ubuntu Apr 20 08:21:23 gooseberry kernel: [41066.028419] Hardware name: System manufacturer System Product Name/P8P67 PRO, BIOS 1502 03/02/2011 Apr 20 08:21:23 gooseberry kernel: [41066.028420] task: 9881f18eda00 task.stack: af0343ac4000 Apr 20 08:21:23 gooseberry kernel: [41066.028424] RIP: 0010:native_queued_spin_lock_slowpath+0x12d/0x1a0 Apr 20 08:21:23 gooseberry kernel: [41066.028425] RSP: :af0343ac7d48 EFLAGS: 0202 ORIG_RAX: ff10 Apr 20 08:21:23 gooseberry kernel: [41066.028426] RAX: RBX: d9b513780a70 RCX: 98825f419e40 Apr 20 08:21:23 gooseberry kernel: [41066.028427] RDX: 00180101 RSI: 0101 RDI: d9b513780a70 Apr 20 08:21:23 gooseberry kernel: [41066.028428] RBP: af0343ac7d48 R08: 0004 R09: Apr 20 08:21:23 gooseberry kernel: [41066.028429] R10: 001437ee1a0e2cac R11: 7f58c45f8e60 R12: 98811e0297f8 Apr 20 08:21:23 gooseberry kernel: [41066.028429] R13: 3e3c18ff R14: af0343ac7e30 R15: 988121b9bc80 Apr 20 08:21:23 gooseberry kernel: [41066.028431] FS: 7f58c45f9700() GS:98825f40() knlGS: Apr 20 08:21:23 gooseberry kernel: [41066.028432] CS: 0010 DS: ES: CR0: 80050033 Apr 20 08:21:23 gooseberry kernel: [41066.028433] CR2: 7f58a9c8 CR3: 0004de22f000 CR4: 000406f0 Apr 20 08:21:23 gooseberry kernel: [41066.028434] Call Trace: Apr 20 08:21:23 gooseberry kernel: [41066.028438] _raw_spin_lock+0x20/0x30 Apr 20 08:21:23 gooseberry kernel: [41066.028441] __migration_entry_wait+0x1c/0x180 Apr 20 08:21:23 gooseberry kernel: [41066.028442] migration_entry_wait+0x74/0x80 Apr 20 08:21:23 gooseberry kernel: [41066.028445] do_swap_page+0x5b3/0x770 Apr 20 08:21:23 gooseberry kernel: [41066.028446] ? futex_wake+0x90/0x170 Apr 20 08:21:23 gooseberry kernel: [41066.028448] handle_mm_fault+0x873/0x1360 Apr 20 08:21:23 gooseberry kernel: [41066.028450] __do_page_fault+0x23e/0x4e0 Apr 20 08:21:23 gooseberry kernel: [41066.028452] do_page_fault+0x22/0x30 Apr 20 08:21:23 gooseberry kernel: [41066.028453] page_fault+0x28/0x30 Apr 20 08:21:23 gooseberry kernel: [41066.028455] RIP: 0033:0x7f58dd673a4c Apr 20 08:21:23 gooseberry kernel: [41066.028455] RSP: 002b:7f58c45f8e10 EFLAGS: 00010206 Apr 20 08:21:23 gooseberry kernel: [41066.028457] RAX: 004d RBX: 7f58a9c003a0 RCX: 9fa4 Apr 20 08:21:23 gooseberry kernel: [41066.028457] RDX: 027e RSI: RDI: 7f58c45f8e40 Apr 20 08:21:23 gooseberry kernel: [41066.028458] RBP: 7f58a9c0 R08: R09: 519d Apr 20 08:21:23 gooseberry kernel: [41066.028459] R10: 001437ee1a0e2cac R11: 7f58c45f8e60 R12: 7f58c45f8e40 Apr 20 08:21:23 gooseberry kernel: [41066.028460] R13: 0001 R14: 7f58c1ee4dc0 R15: 7f58c45f9700 Apr 20 08:21:23 gooseberry kernel: [41066.028461] Code: 04 d5 e0 53 14 8f 48 89 08 8b 41 08 85 c0 75 09 f3 90 8b 41 08 85 c0 74 f7 4c 8b 09 4d 85 c9 74 08 41 0f 18 09 eb 02 f3 90 8b 17 <66> 85 d2 75 f7 be 01 00 00 00 eb 10 89 d0 f0 0f b1 37 39 c2 0f Apr 20 08:21:23 gooseberry kernel: [41066.032366] NMI watchdog: BUG: soft lockup - CPU#3 stuck for 22s! [thunderbird:5415] Apr 20 08:21:23 gooseberry kernel: [41066.032368] Modules linked in: rfcomm pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) bnep binfmt_misc snd_hda_codec_hdmi zfs(PO) zunicode(PO) zavl(PO) zcommon(PO) znvpair(PO) spl(O) dm_crypt input_leds nvidia_uvm(POE) snd_usb_audio eeepc_wmi asus_wmi snd_usbmidi_lib sparse_keymap video
[Bug 910287] Re: ps hangs when listing root processes
I just upgraded from 16.04 (via >16.10) to 17.04 and now I'm seeing this too. I tried the strace and observed that ps was hanging trying to list the commandline of the thunderbird process. I had already exited Thunderbird and there were no indications in the GUI that it was still running. I had no luck getting rid of the process with kill -9. Also I could not shut the machine down cleanly. I did findi a bunch of NMI watchdog: BUG: soft lockup messages in syslog, which I'll attach to the bug report. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910287 Title: ps hangs when listing root processes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/procps/+bug/910287/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910287] Re: ps hangs when listing root processes
Currently have this problem on 12.04 when running as root and running 'ps -ef'. 'ps' alone works. 'top' works. Below, the output of strace where it hangs. Seams that the problem is Xorg in my case. I just switch my computer to the proprietary ATI driver. Still, regardless of what is running, ps (or the underlining /proc) should never hang. I tried the following and it hangs too. CTRL-C does not help. # cat /proc/1899/cmdline strace of ps: [... deleted lines ...] write(1, bind 1881 1 0 07:35 ? ..., 72bind 1881 1 0 07:35 ?00:00:00 /usr/sbin/named -u bind ) = 72 stat(/proc/1899, {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 open(/proc/1899/stat, O_RDONLY) = 6 read(6, 1899 (Xorg) D 1867 1899 1899 103..., 1023) = 380 close(6)= 0 open(/proc/1899/status, O_RDONLY) = 6 read(6, Name:\tXorg\nState:\tD (disk sleep)..., 1023) = 763 close(6)= 0 open(/proc/1899/cmdline, O_RDONLY)= 6 read(6, -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910287 Title: ps hangs when listing root processes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/procps/+bug/910287/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910287] Re: ps hangs when listing root processes
I'm having this problem on latest Quantal. ps works, ps a or ps x hangs top works fine -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910287 Title: ps hangs when listing root processes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/procps/+bug/910287/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910287] Re: ps hangs when listing root processes
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: procps (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910287 Title: ps hangs when listing root processes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/procps/+bug/910287/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910287] Re: ps hangs when listing root processes
I'm getting this also. I have a Skype instance that doesn't terminate when closed, but otherwise appears to function normally. When I list all processes with ps -ax, it hangs and can't be killed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910287 Title: ps hangs when listing root processes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/procps/+bug/910287/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910287] Re: ps hangs when listing root processes
** Attachment added: strace output https://bugs.launchpad.net/bugs/910287/+attachment/2652071/+files/trace -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910287 Title: ps hangs when listing root processes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/procps/+bug/910287/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910287] Re: ps hangs when listing root processes
Oh, additonal comment - this is a virtual machine running in VirtualBox 3.2.6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910287 Title: ps hangs when listing root processes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/procps/+bug/910287/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs