[Bug 290087] New: parted corrupts malloc meta data
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=290087 Summary: parted corrupts malloc meta data Product: openSUSE 10.3 Version: Alpha 5plus Platform: PowerPC OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: sassmann@novell.com ReportedBy: olh@novell.com QAContact: qa@suse.de CC: power-bugs@forge.provo.novell.com Found By: --- gdb -q --readnow -ex 'set environment MALLOC_CHECK_=1' -ex 'r /dev/ps3da' -ex bt /usr/sbin/parted Using host libthread_db library "/lib/libthread_db.so.1". Starting program: /usr/sbin/parted /dev/ps3da malloc: using debugging hooks [Thread debugging using libthread_db enabled] [New Thread 0xf7fc33b0 (LWP 5159)] malloc: using debugging hooks GNU Parted 1.8.7 Verwende /dev/ps3da Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) print *** glibc detected *** /usr/sbin/parted: free(): invalid pointer: 0x10057c00 *** *** glibc detected *** /usr/sbin/parted: malloc: top chunk is corrupt: 0x10058200 *** Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xf7fc33b0 (LWP 5159)] 0x0fdb7220 in malloc_consolidate (av=0xfe9affc) at malloc.c:4838 4838 unlink(nextchunk, bck, fwd); #0 0x0fdb7220 in malloc_consolidate (av=0xfe9affc) at malloc.c:4838 #1 0x0fdb99f0 in _int_malloc (av=0xfe9affc, bytes=513) at malloc.c:4162 #2 0x0fdbbcfc in malloc_check (sz=512, caller=<value optimized out>) at hooks.c:265 #3 0x0fdbb0e4 in *__GI___libc_malloc (bytes=512) at malloc.c:3544 #4 0x0ff7fe60 in ped_malloc (size=266973180) at libparted.c:293 #5 0x0ffb85a8 in probe_filesystem_for_geom (part=0x10056920, bios_geom=0xffcc6aa8) at dos.c:432 #6 0x0ffb87f8 in partition_probe_bios_geometry (part=0x10056920, bios_geom=0xffcc6aa8) at dos.c:652 #7 0x0ffb8ecc in msdos_alloc_metadata (disk=0x10055ea0) at dos.c:2019 #8 0x0ff83e80 in _disk_pop_update_mode (disk=0x10055ea0) at disk.c:803 #9 0x0ff859d8 in ped_disk_add_partition (disk=0x10055ea0, part=0x100569a0, constraint=0x100576f0) at disk.c:1795 #10 0x0ffbb714 in read_table (disk=0x10055ea0, sector=63, is_extended_table=<value optimized out>) at dos.c:879 #11 0x0ffbb744 in read_table (disk=0x10055ea0, sector=0, is_extended_table=<value optimized out>) at dos.c:885 #12 0x0ffbbab4 in msdos_read (disk=0x10055ea0) at dos.c:927 #13 0x0ff869d4 in ped_disk_new (dev=0x10056a28) at disk.c:210 #14 0x100079dc in do_print (dev=0xffcc71cc) at parted.c:1276 #15 0x100058ac in command_run (cmd=<value optimized out>, dev=0x201) at command.c:139 #16 0x1000f434 in interactive_mode (dev=0x201, cmd_list=<value optimized out>) at ui.c:1482 #17 0x1000ba24 in main (argc=0, argv=0xffcc746c) at parted.c:2477 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=290087#c1
--- Comment #1 from Olaf Hering
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=290087#c2
--- Comment #2 from Stefan Assmann
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=290087#c3
Olaf Hering
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=290087#c5
--- Comment #5 from Olaf Hering
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=290087#c6
--- Comment #6 from Marcus Rückert
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=290087
Olaf Hering
participants (1)
-
bugzilla_noreply@novell.com