[Bug 229388] Re: parted stack smashing
Same problem with Ubuntu 9.04 and parted 1.8.8 : (when trying to create a fat32 partition in an old usb key) (parted) mkpartfs Type de partition ? primary/primaire/extended/étendue? primary Type de système de fichiers ? [ext2]? fat32 Début ? 0 Fin ? 1022 Avertissement: Vous avez demander de créer une partition de 0,00B à 1022MB. Le plus près que Parted peut traiter est 129kB à 1020MB. Est ce que cela est acceptable pour vous ? Oui/Yes/Non/No? O *** stack smashing detected ***: unknown terminated === Backtrace: = /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7e56da8] /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb7e56d60] /lib/libparted-1.8.so.10[0xb7f76854] /lib/libparted-1.8.so.10[0xb7f459fd] [0x0] === Memory map: 08048000-0805b000 r-xp 08:09 243950 /sbin/parted 0805b000-0805c000 r--p 00012000 08:09 243950 /sbin/parted 0805c000-0805d000 rw-p 00013000 08:09 243950 /sbin/parted 09383000-093c4000 rw-p 09383000 00:00 0 [heap] b7b9b000-b7ba8000 r-xp 08:09 406465 /lib/libgcc_s.so.1 b7ba8000-b7ba9000 r--p c000 08:09 406465 /lib/libgcc_s.so.1 b7ba9000-b7baa000 rw-p d000 08:09 406465 /lib/libgcc_s.so.1 b7bba000-b7bbb000 rw-p b7bba000 00:00 0 b7bbb000-b7bdd000 r--p 08:09 385687 /usr/share/locale-langpack/fr/LC_MESSAGES/libc.mo b7bdd000-b7bf1000 r--p 08:09 385755 /usr/share/locale-langpack/fr/LC_MESSAGES/parted.mo b7bf1000-b7c3 r--p 08:09 301366 /usr/lib/locale/fr_FR.utf8/LC_CTYPE b7c3-b7c31000 r--p 08:09 301678 /usr/lib/locale/fr_FR.utf8/LC_NUMERIC b7c31000-b7d1c000 r--p 08:09 301365 /usr/lib/locale/fr_FR.utf8/LC_COLLATE b7d1c000-b7d1d000 rw-p b7d1c000 00:00 0 b7d1d000-b7d35000 r-xp 08:09 406529 /lib/libselinux.so.1 b7d35000-b7d36000 r--p 00017000 08:09 406529 /lib/libselinux.so.1 b7d36000-b7d37000 rw-p 00018000 08:09 406529 /lib/libselinux.so.1 b7d37000-b7d38000 rw-p b7d37000 00:00 0 b7d38000-b7d3b000 r-xp 08:09 406554 /lib/libuuid.so.1.2 b7d3b000-b7d3c000 r--p 2000 08:09 406554 /lib/libuuid.so.1.2 b7d3c000-b7d3d000 rw-p 3000 08:09 406554 /lib/libuuid.so.1.2 b7d3d000-b7d52000 r-xp 08:09 406456 /lib/libdevmapper.so.1.02.1 b7d52000-b7d53000 r--p 00014000 08:09 406456 /lib/libdevmapper.so.1.02.1 b7d53000-b7d55000 rw-p 00015000 08:09 406456 /lib/libdevmapper.so.1.02.1 b7d55000-b7d57000 r-xp 08:09 703/lib/tls/i686/cmov/libdl-2.9.so b7d57000-b7d58000 r--p 1000 08:09 703/lib/tls/i686/cmov/libdl-2.9.so b7d58000-b7d59000 rw-p 2000 08:09 703/lib/tls/i686/cmov/libdl-2.9.so b7d59000-b7eb5000 r-xp 08:09 700/lib/tls/i686/cmov/libc-2.9.so b7eb5000-b7eb6000 ---p 0015c000 08:09 700/lib/tls/i686/cmov/libc-2.9.so b7eb6000-b7eb8000 r--p 0015c000 08:09 700/lib/tls/i686/cmov/libc-2.9.so b7eb8000-b7eb9000 rw-p 0015e000 08:09 700/lib/tls/i686/cmov/libc-2.9.so b7eb9000-b7ebc000 rw-p b7eb9000 00:00 0 b7ebc000-b7eeb000 r-xp 08:09 406480 /lib/libncurses.so.5.7 b7eeb000-b7eed000 r--p 0002e000 08:09 406480 /lib/libncurses.so.5.7 b7eed000-b7eee000 rw-p 0003 08:09 406480 /lib/libncurses.so.5.7 b7eee000-b7eef000 rw-p b7eee000 00:00 0 b7eef000-b7f1b000 r-xp 08:09 406524 /lib/libreadline.so.5.2 b7f1b000-b7f1c000 ---p 0002c000 08:09 406524 /lib/libreadline.so.5.2 b7f1c000-b7f1d000 r--p 0002c000 08:09 406524 /lib/libreadline.so.5.2 b7f1d000-b7f2 rw-p 0002d000 08:09 406524 /lib/libreadline.so.5.2 b7f2-b7f21000 rw-p b7f2 00:00 0 b7f21000-b7f81000 r-xp 08:09 406512 /lib/libparted-1.8.so.10.0.0 b7f81000-b7f82000 ---p 0006 08:09 406512 /lib/libparted-1.8.so.10.0.0 b7f82000-b7f83000 r--p 0006 08:09 406512 /lib/libparted-1.8.so.10.0.0 b7f83000-b7f84000 rw-p 00061000 08:09 406512 /lib/libparted-1.8.so.10.0.0 b7f84000-b7f85000 rw-p b7f84000 00:00 0 b7f85000-b7f86000 r--p 08:09 301681 /usr/lib/locale/fr_FR.utf8/LC_TIME b7f86000-b7f87000 r--p 08:09 301672 /usr/lib/locale/fr_FR.utf8/LC_MONETARY b7f87000-b7f88000 r--p 08:09 308898 /usr/lib/locale/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES b7f88000-b7f89000 r--p 08:09 301476 /usr/lib/locale/fr_FR.utf8/LC_PAPER b7f89000-b7f8a000 r--p 08:09 301644 /usr/lib/locale/fr_FR.utf8/LC_NAME b7f8a000-b7f8b000 r--p 08:09 301671 /usrAbandon -- parted stack smashing https://bugs.launchpad.net/bugs/229388 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 229388] Re: parted stack smashing
The same manipulation, another error message : i...@iop-pc:~$ sudo parted GNU Parted 1.8.8 Utilisation de /dev/sda Bienvenu dans GNU Parted ! Tapez help pour voir la liste des commandes. (parted) select /dev/sdd Utilisation de /dev/sdd (parted) print Modèle: CBM Flash Disk (scsi) Disque /dev/sdd : 1022MB Taille des secteurs (logique/physique) : 2048o/512o Table de partitions : msdos Numéro Début Fin Taille Type Système de fichiers Fanions (parted) mkpartfs Type de partition ? primary/primaire/extended/étendue? primary Type de système de fichiers ? [ext2]? fat32 Début ? 0 Fin ? 1022 Avertissement: Vous avez demander de créer une partition de 0,00B à 1022MB. Le plus près que Parted peut traiter est 129kB à 1020MB. Est ce que cela est acceptable pour vous ? Oui/Yes/Non/No? Yes You found a bug in GNU Parted! Here's what you have to do: Don't panic! The bug has most likely not affected any of your data. Help us to fix this bug by doing the following: Check whether the bug has already been fixed by checking the last version of GNU Parted that you can find at: http://ftp.gnu.org/gnu/parted/ Please check this version prior to bug reporting. If this has not been fixed yet or if you don't know how to check, please visit the GNU Parted website: http://www.gnu.org/software/parted for further information. Your report should contain the version of this release (1.8.8) along with the error message below, the output of parted DEVICE unit co print unit s print and the following history of commands you entered. Also include any additional information about your setup you consider important. Historique des commandes: select /dev/sdd print mkpartfs primary fat32 0 1022 Yes Erreur : SEGV_MAPERR (l'adresse n'est pas associée à un objet) Abandon -- parted stack smashing https://bugs.launchpad.net/bugs/229388 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 229388] Re: parted stack smashing
** Changed in: parted (Ubuntu) Status: Incomplete = Invalid -- parted stack smashing https://bugs.launchpad.net/bugs/229388 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 229388] Re: parted stack smashing
Sarah: Thanks for this. It turns out that this iPod disk is laid out using GPT (a more modern partition table format), and so the 512 bytes I asked for don't cover the whole partition table. Sorry about this. Could you repeat the previous directions, but with the following command instead: sudo od -tx1 -Ax -N17408 /dev/sda -- parted stack smashing https://bugs.launchpad.net/bugs/229388 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 229388] Re: parted stack smashing
The problem continues with Ubuntu Intrepid, parted (GNU parted) 1.8.9 -- parted stack smashing https://bugs.launchpad.net/bugs/229388 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 229388] Re: parted stack smashing
Here's the requested output of my iPod. I have the same bug and am unable to create a disk label. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 0001c0 01 00 ee fe ff ff 01 00 00 00 96 73 53 02 00 00 0001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 0001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa 000200 -- parted stack smashing https://bugs.launchpad.net/bugs/229388 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 229388] Re: parted stack smashing
Could I get a dump of the partition table, please? The output of 'sudo od -tx1 -Ax -N512 /dev/sda' (or /dev/sdb, or whatever the device in question is) should be sufficient. ** Changed in: parted (Ubuntu) Assignee: (unassigned) = Colin Watson (kamion) Status: Confirmed = Incomplete ** Changed in: parted (Ubuntu) Importance: Undecided = High -- parted stack smashing https://bugs.launchpad.net/bugs/229388 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 229388] Re: parted stack smashing
Can confirm, same error on Hardy, while trying to format an USB flash drive. fdisk works correctly, while parted and gparted insist that the drive has an unrecognised disk label, and crash when trying to add one. ** Changed in: parted (Ubuntu) Status: New = Confirmed -- parted stack smashing https://bugs.launchpad.net/bugs/229388 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 229388] Re: parted stack smashing
The same problem affects syslinux too, sevearl hits in Google suggesting that #1 it's a known issue for developers of both applications #2 it affects large external USB disks e.g, iPods who are formatted with a sector size 512 #3 it's not trivially fixed -- parted stack smashing https://bugs.launchpad.net/bugs/229388 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs