Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87028 - resize2fs aborted due to double free/corruption (e2fsprogs 1.35-r1)
Summary: resize2fs aborted due to double free/corruption (e2fsprogs 1.35-r1)
Status: RESOLVED DUPLICATE of bug 80439
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-28 14:07 UTC by Gerry
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerry 2005-03-28 14:07:36 UTC
After extending a lvm partition, I ran resize2fs on it to make the filesystem fill the bigger partition size (unmounted, of course):

# resize2fs /dev/vg/mm
resize2fs 1.35 (28-Feb-2004)
Resizing the filesystem on /dev/vg/mm to 15728640 (4k) blocks.
*** glibc detected *** double free or corruption (!prev): 0x08053d10 ***
Avbrutt (SIGABRT)
#

The resize seems to have worked, though.  Another resize2fs command said the filesystem was already resized, and e2fsck -f found no problems.

Reproducible: Didn't try
Steps to Reproduce:
1. Extend lvm partition size
2. Run resize2fs on partition
Actual Results:  
resize2fs was aborted by glibc due to a double free

Expected Results:  
Should exit normally

# emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 22 2005, 15:53:01)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.9.4, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv
usersandbox"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo"
LANG="nb_NO.UTF-8"
LC_ALL="nb_NO.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit S3TC X Xaw3d a52 aac aalib acpi acpi4linux aim alsa amd apache2
apm asm async audiofile avi bash-completion bdf berkdb bitmap-fonts blender-game
bzip2 cairo ccache cdda cddb cdio cdparanoia cdr cdrom chroot clamav codecs
crypt css cups curl curlwrappers divx4linux dlopen droproot dts dvd dvdr dvdread
dxr3 edl emboss encode exif expat faad fam fb fbcon fbdev ffmpeg flac flash fmod
font-server foomaticdb fortran freetype ftp gcj gdbm gif gimp glitz gnome gpm
gtk gtk2 hal icq image imagemagick imap imlib imlib2 ipv6 jabber jack jack-tmpfs
java jit jpeg kde kdeenablefinal ladspa libcaca libclamav libg++ libwww
linguas_nb linguas_nb_NO linguas_no linguas_no_NO live logitech-mouse lua mad
matroska md5sum mhash mikmod mime mixer mjpeg mmap mmx mmx2 mng motif mozilla
mp3 mpeg mpeg2 mpeg4 mplayer msn music mysql native ncurses nls nptl nvidia oav
objc ocaml ogg oggvorbis openal opengl oscar oss pam pdflib perl php physfs png
python qemu-fast qt quicktime readline real ruby samba scanner sdk sdl slang
spell sse ssl stencil-buffer stream svg svga tcpd theora threads tiff transcode
truetype truetype-fonts type1-fonts unicode usb usepackagedmakefiles utf8 v4l
v4l2 videos vidix vorbis wma123 wxwindows xanim xine xml xml2 xmms xrandr
xscreensaver xv xvid yv12 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET
Comment 1 SpanKY gentoo-dev 2005-03-28 19:47:12 UTC

*** This bug has been marked as a duplicate of 80439 ***