[Parted-maintainers] Bug#563531: gnu-fdisk: floating point exception

Arthur Marsh arthur.marsh at internode.on.net
Sun Jan 3 17:09:03 UTC 2010


Package: gnu-fdisk
Version: 1.2.3-2
Severity: normal


When trying to identify the filesystem type on a USB mass storage device
I ran:

# gdb --args fdisk -l /dev/sr0
GNU gdb (GDB) 7.0-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /sbin/fdisk...(no debugging symbols found)...done.
(gdb) run
Starting program: /sbin/fdisk -l /dev/sr0
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
Warning: Device /dev/sr0 has a logical sector size of 2048.  Not all parts of GNU
Parted support this at the moment, and the working code is HIGHLY EXPERIMENTAL.

Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
GNU Fdisk 1.2.3
Copyright (C) 1998 - 2006 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.


Disk /dev/sr0: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 2048 = 32901120 bytes

   Device Boot      Start         End      Blocks   Id  System

Program received signal SIGFPE, Arithmetic exception.
0x08058f15 in ?? ()
(gdb) bt
#0  0x08058f15 in ?? ()
#1  0x0804cc2e in ?? ()
#2  0x08050544 in ?? ()
#3  0x08058c43 in ?? ()
#4  0x08050635 in ?? ()
#5  0x0804b102 in ?? ()
#6  0x41f7eb55 in __libc_start_main () from /lib/i686/cmov/libc.so.6
#7  0x0804b041 in ?? ()
(gdb) quit

There appears to be no gnu-fdisk-dbg package in debian, and even after
installing libc6-dbg and libparted1.8-dbg, the backtrace is still only showing:

(gdb) bt
#0  0x08058f15 in ?? ()
#1  0x0804cc2e in ?? ()
#2  0x08050544 in ?? ()
#3  0x08058c43 in ?? ()
#4  0x08050635 in ?? ()
#5  0x0804b102 in ?? ()
#6  0x41f7eb55 in __libc_start_main (main=Could not find the frame base for "__libc_start_main".
) at libc-start.c:222
#7  0x0804b041 in ?? ()


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnu-fdisk depends on:
ii  dpkg              1.15.5.5               Debian package management system
ii  install-info      4.13a.dfsg.1-5         Manage installed documentation in 
ii  libc6             2.10.2-3               Embedded GNU C Library: Shared lib
ii  libncurses5       5.7+20090803-2         shared libraries for terminal hand
ii  libparted1.8-12   1.8.8.git.2009.07.19-5 The GNU Parted disk partitioning s
ii  libreadline5      5.2-7                  GNU readline and history libraries
ii  libuuid1          2.16.2-0               Universally Unique ID library

gnu-fdisk recommends no packages.

gnu-fdisk suggests no packages.

-- debconf-show failed





More information about the Parted-maintainers mailing list