update-grub crashes on ubuntu 18.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi:
When I use update-grub as root it crashes:
update-grub
Segmentation fault
Segmentation fault
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Segmentation fault
Segmentation fault
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Segmentation fault
Segmentation fault
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Segmentation fault
Segmentation fault
Segmentation fault
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
done
[30655.190608] general protection fault: 0000 [#133] SMP PTI
[30655.190612] Modules linked in: btrfs zstd_compress xor raid6_pq ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs hid_generic usbhid hid nls_iso8859_1 uas usb_storage ccm rfcomm ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_pkttype xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack libcrc32c ipt_rpfilter iptable_raw pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) iptable_filter bnep binfmt_misc arc4 uvcvideo intel_rapl snd_hda_codec_hdmi btusb videobuf2_vmalloc videobuf2_memops btrtl x86_pkg_
[30655.190669] irqbypass snd_seq_midi_event snd_rawmidi intel_cstate intel_rapl_perf snd_seq iwlwifi input_leds joydev asus_nb_wmi snd_seq_device asus_wmi snd_timer sparse_keymap serio_raw snd mei_me cfg80211 mei lpc_ich soundcore shpchp mac_hid asus_wireless sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 algif_skcipher af_alg dm_crypt crct10dif_pclmul nouveau crc32_pclmul i915 ghash_clmulni_intel pcbc rtsx_pci_sdmmc mxm_wmi ttm i2c_algo_bit aesni_intel drm_kms_helper ahci syscopyarea aes_x86_64 sysfillrect crypto_simd sysimgblt glue_helper fb_sys_fops cryptd libahci psmouse drm r8169 rtsx_pci mii wmi video [last unloaded: msr]
[30655.190715] CPU: 6 PID: 26988 Comm: grub-probe Tainted: G D OE 4.15.0-47-generic #50-Ubuntu
[30655.190716] Hardware name: ASUSTeK COMPUTER INC. G551JW/G551JW, BIOS G551JW.207 08/03/2015
[30655.190725] RIP: 0010:find_
[30655.190727] RSP: 0018:ffffadf20e
[30655.190729] RAX: 0000000000000000 RBX: 000000000000000e RCX: 0000000000000000
[30655.190731] RDX: 956a4e30dd497370 RSI: 0000000001d0c740 RDI: ffff892554fa6238
[30655.190733] RBP: ffffadf20efbbc58 R08: 0000000001d0c71c R09: 0000000000000000
[30655.190734] R10: ffff892554fa6340 R11: 0000000000000000 R12: ffffadf20efbbd30
[30655.190736] R13: ffffadf20efbbcb0 R14: 0000000000000000 R15: ffff892554fa6340
[30655.190738] FS: 00007fac22a0afc
[30655.190740] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[30655.190742] CR2: 00007fac22909000 CR3: 00000003a3662006 CR4: 00000000001606e0
[30655.190743] Call Trace:
[30655.190752] pagevec_
[30655.190756] invalidate_
[30655.190762] ? wait_for_
[30655.190766] ? wake_up_q+0x80/0x80
[30655.190771] ? radix_tree_
[30655.190774] ? get_work_
[30655.190777] ? flush_work+
[30655.190780] ? worker_
[30655.190785] ? find_next_
[30655.190788] ? cpumask_
[30655.190791] ? lru_add_
[30655.190795] invalidate_
[30655.190800] blkdev_
[30655.190803] block_ioctl+
[30655.190807] do_vfs_
[30655.190813] ? __audit_
[30655.190817] ? syscall_
[30655.190820] SyS_ioctl+0x79/0x90
[30655.190822] do_syscall_
[30655.190826] entry_SYSCALL_
[30655.190828] RIP: 0033:0x7fac222c45d7
[30655.190830] RSP: 002b:00007ffd05
[30655.190832] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fac222c45d7
[30655.190834] RDX: 0000000000000000 RSI: 0000000000001261 RDI: 0000000000000004
[30655.190835] RBP: 000055f6c30ede48 R08: 0000000000000000 R09: 0000000000000000
[30655.190837] R10: 0000000000000000 R11: 0000000000000246 R12: 000055f6c44632f0
[30655.190839] R13: 000055f6c44622e0 R14: 0000000000000001 R15: 000055f6c44622c0
[30655.190840] Code: 00 00 00 00 48 89 75 b0 45 31 f6 45 31 ff 4d 85 ff 0f 84 01 01 00 00 49 8b 17 48 85 d2 74 69 48 89 d0 83 e0 03 0f 85 5f 01 00 00 <48> 8b 42 20 48 8d 78 ff a8 01 48 0f 44 fa 8b 47 1c 85 c0 74 d7
[30655.190876] RIP: find_get_
[30655.190893] ---[ end trace ca2db52954dc4bcf ]---
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
This is what I see from strace (snip):
... S_IFBLK| 0660, st_rdev=makedev(8, 2), ...}) = 0 S_IFBLK| 0660, st_rdev=makedev(8, 1), ...}) = 0 S_IFBLK| 0660, st_rdev=makedev(8, 19), ...}) = 0 S_IFBLK| 0660, st_rdev=makedev(8, 19), ...}) = 0 S_IFDIR| 0755, st_size=4720, ...}) = 0 S_IFBLK| 0660, st_rdev=makedev(8, 19), ...}) = 0 S_IFDIR| 0755, st_size=4720, ...}) = 0 S_IFBLK| 0660, st_rdev=makedev(8, 16), ...}) = 0 S_IFBLK| 0660, st_rdev=makedev(8, 19), ...}) = 0 S_IFBLK| 0660, st_rdev=makedev(8, 19), ...}) = 0 S_IFDIR| 0755, st_size=4720, ...}) = 0 S_IFBLK| 0660, st_rdev=makedev(8, 19), ...}) = 0 S_IFDIR| 0755, st_size=4720, ...}) = 0 S_IFBLK| 0660, st_rdev=makedev(8, 16), ...}) = 0 S_IFBLK| 0660, st_rdev=makedev(8, 16), ...}) = 0 {mask=[ ]}) = 25622
25622 lstat("sda2", {st_mode=
25622 lstat("sda1", {st_mode=
25622 lstat("sdb3", {st_mode=
25622 getcwd("/dev", 10) = 5
25622 chdir("/root") = 0
25622 close(5) = 0
25622 stat("/dev/sdb3", {st_mode=
25622 lstat("/dev", {st_mode=
25622 lstat("/dev/sdb3", {st_mode=
25622 lstat("/dev", {st_mode=
25622 lstat("/dev/sdb", {st_mode=
25622 stat("/dev/sdb3", {st_mode=
25622 stat("/dev/sdb3", {st_mode=
25622 lstat("/dev", {st_mode=
25622 lstat("/dev/sdb3", {st_mode=
25622 lstat("/dev", {st_mode=
25622 lstat("/dev/sdb", {st_mode=
25622 openat(AT_FDCWD, "/dev/sdb", O_RDONLY) = 5
25622 fstat(5, {st_mode=
25622 ioctl(5, BLKFLSBUF) = ?
25622 +++ killed by SIGSEGV +++
25621 <... wait4 resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0, NULL) = 25622
25621 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=25622, si_uid=0, si_status=SIGSEGV, si_utime=0, si_stime=0} ---
25621 rt_sigreturn(
25621 write(2, "Segmentation fault\n", 19) = 19
...