[Bug 1527645] Re: grub-mkconfig hangs (due to acting on closed handle?)
This problem persists, as seen while upgrading to linux- image-3.19.0-61-generic. @vorlorn: please advise how to provide debug information. ** Summary changed: - grub-mkconfig hangs (due to acting on closed handle?) + grub-mkconfig hangs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527645 Title: grub-mkconfig hangs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527645/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1527645] Re: grub-mkconfig hangs (due to acting on closed handle?)
** Changed in: grub2 (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527645 Title: grub-mkconfig hangs (due to acting on closed handle?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527645/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1527645] Re: grub-mkconfig hangs (due to acting on closed handle?)
So I ran strace -ff -o 2015-12-18-grub-mkconfig-strace-ff sh -x /usr/sbin/grub- mkconfig That produced 1000 files and took several attempts to kill off the various processes that spawned after killing the hung ones. I doubt anyone wants to see 1000 strace dumps. Please advise. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527645 Title: grub-mkconfig hangs (due to acting on closed handle?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527645/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1527645] Re: grub-mkconfig hangs (due to acting on closed handle?)
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 17818 pipe([3, 4]) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fe3556d7a10) = 17819 close(4) = 0 read(3, This is the standard usage of pipe. pipe opens two connected file descriptors, and returns these fds in the array that's the argument to pipe. The process then forks, the parent closes one, the child closes the other, and they talk across this pipe. Since you are only stracing the grub-mkconfig process, and not following forks ('strace -ff'), this trace doesn't show us what's actually hanging. grub-mkconfig, btw, is a shell script, so it's probably better to debug it using 'sh -x /usr/sbin/grub-mkconfig' instead. ** Package changed: grub (Ubuntu) => grub2 (Ubuntu) ** Changed in: grub2 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527645 Title: grub-mkconfig hangs (due to acting on closed handle?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527645/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1527645] Re: grub-mkconfig hangs (due to acting on closed handle?)
** Attachment added: "output of strace grub-mkconfig" https://bugs.launchpad.net/ubuntu/+source/grub/+bug/1527645/+attachment/4536905/+files/2015-12-18-grub-mkconfig-strace.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1527645 Title: grub-mkconfig hangs (due to acting on closed handle?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub/+bug/1527645/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs