I was installing glibc v2.18 and suddenly the install (make install) halts with an error. Afterwards, any basic terminal commands (ls, sudo, etc.) and attempting to perform system operations (shutdown, restart, etc.) resulted in segmentation faults.
I performed a hard restart of my system, and upon attempting to boot Ubuntu, my machine displays the following:
[ 2.297365] init[1]: segfault at 3cd ip 00000000000003cd sp 00007fffa0a7f468 error 14 in libc-2.15.so[7fecf93a4000+1b5000]
[ 2.297640] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 2.297640]
[ 2.297707] Pid: 1, comm: init Not tainted 3.5.0-39-generic #60~precise1-Ubuntu
[ 2.297766] Call Trace:
[ 2.297814] [<ffffffff8168500e>] panic+0xc1/0x1d7
[ 2.297867] [<ffffffff811198f0>] ? perf_adjust_period+0xb0/0xb0
[ 2.297923] [<ffffffff81057582>] find_new_reaper+0x132/0x140
[ 2.297977] [<ffffffff810589e5>] forget_original_parent+0x45/0x1a0
[ 2.298033] [<ffffffff81058b57>] exit_notify+0x17/0x110
[ 2.298086] [<ffffffff810593e5>] do_exit+0x1f5/0x480
[ 2.298138] [<ffffffff81089814>] do_group_exit+0x44/0xa0
[ 2.298192] [<ffffffff810698cb>] get_signal_to_deliver+0x22b/0x440
[ 2.298249] [<ffffffff810147e9>] do_signal+0x29/0x130
[ 2.298301] [<ffffffff81685185>] ? printk+0x61/0x63
[ 2.298353] [<ffffffff81144966>] ? vm_mmap_pgoff+0x96/0xb0
[ 2.298407] [<ffffffff81155c63>] ? sys_mmap_pgoff+0x103/0x1f0
[ 2.298462] [<ffffffff810149a0>] do_notify_resume+0x90/0xd0
[ 2.298516] [<ffffffff8169e32c>] retint_signal+0x48/0x8c
I am unsure how to resolve the kernel panic and successfully boot Ubuntu.
sudo apt-get install --reinstall libc6
in case the installation process does something more than just extracting the files. – fkraiem Oct 09 '14 at 21:19