e2fsck aborts with "*** glibc detected *** e2fsck: munmap_chunk(): invalid pointer: ... ***"
Issue
# e2fsck -nf image2
e2fsck 1.39 (29-May-2006)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Unattached inode 835608
Connect to /lost+found? no
Unattached inode 835609
Connect to /lost+found? no
Unattached inode 835619
Connect to /lost+found? no
Unattached inode 835620
Connect to /lost+found? no
...
Inode 917592 ref count is 1, should be 2. Fix? no
*** glibc detected *** e2fsck: munmap_chunk(): invalid pointer: 0x000000001220b160 ***
======= Backtrace: =========
[0x469306]
[0x41ba36]
[0x41c7ed]
[0x40d248]
[0x4030a6]
[0x4023af]
[0x44ff20]
[0x4001b9]
======= Memory map: ========
00400000-00511000 r-xp 00000000 fd:03 2588907 /sbin/e2fsck
00710000-00716000 rw-p 00110000 fd:03 2588907 /sbin/e2fsck
00716000-00722000 rw-p 00716000 00:00 0
121d6000-12298000 rw-p 121d6000 00:00 0 [heap]
2ba971afd000-2ba9750cb000 r--p 00000000 fd:03 1480813 /usr/lib/locale/locale-archive
2ba9750cb000-2ba9750d2000 r--s 00000000 fd:03 1540898 /usr/lib64/gconv/gconv-modules.cache
2ba9750d2000-2ba975114000 rw-p 2ba9750d2000 00:00 0
2ba975135000-2ba975176000 rw-p 2ba975135000 00:00 0
7fff17820000-7fff17835000 rw-p 7ffffffe9000 00:00 0 [stack]
7fff17865000-7fff17868000 r-xp 7fff17865000 00:00 0 [vdso]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vsyscall]
Aborted
Environment
- Red Hat Enterprise Linux 5.8
- e2fsprogs 1.39
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.