Package: dosfstools Version: 3.0.13-1 Severity: normal File: /sbin/dosfsck -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I was running fsck.msdos with -aw on my Garmin USB device to try and fix a "read-only" filesystem issue. I got the following output. Running it without options does not show the issue. With -a it does again. If you can provide the proper steps to debug this for you, I can do it, but I don't know what is useful. Paul paul@wollumbin ~ $ sudo fsck.msdos -aw /dev/sdb dosfsck 3.0.13, 30 Jun 2012, FAT32, LFN FATs differ but appear to be intact. Using first FAT. /Garmin/GPX/Nav Contains a free cluster (21248). Assuming EOF. *** buffer overflow detected ***: fsck.msdos terminated ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f355d688f37] /lib/x86_64-linux-gnu/libc.so.6(+0xebdf0)[0x7f355d687df0] /lib/x86_64-linux-gnu/libc.so.6(+0xeb249)[0x7f355d687249] /lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0x85)[0x7f355d6102b5] /lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0x1d10)[0x7f355d5e0190] /lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x9d)[0x7f355d6872ed] /lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7f)[0x7f355d68722f] fsck.msdos[0x404649] fsck.msdos[0x4064db] fsck.msdos[0x4015a2] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f355d5baead] fsck.msdos[0x401685] ======= Memory map: ======== 00400000-0040c000 r-xp 00000000 08:01 275425 /sbin/dosfsck 0060b000-0060c000 r--p 0000b000 08:01 275425 /sbin/dosfsck 0060c000-0060d000 rw-p 0000c000 08:01 275425 /sbin/dosfsck 0060d000-0060f000 rw-p 00000000 00:00 0 00b4c000-00b89000 rw-p 00000000 00:00 0 [heap] 7f355d386000-7f355d39b000 r-xp 00000000 08:01 14 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f355d39b000-7f355d59b000 ---p 00015000 08:01 14 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f355d59b000-7f355d59c000 rw-p 00015000 08:01 14 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f355d59c000-7f355d719000 r-xp 00000000 08:01 15 /lib/x86_64-linux-gnu/libc-2.13.so 7f355d719000-7f355d919000 ---p 0017d000 08:01 15 /lib/x86_64-linux-gnu/libc-2.13.so 7f355d919000-7f355d91d000 r--p 0017d000 08:01 15 /lib/x86_64-linux-gnu/libc-2.13.so 7f355d91d000-7f355d91e000 rw-p 00181000 08:01 15 /lib/x86_64-linux-gnu/libc-2.13.so 7f355d91e000-7f355d923000 rw-p 00000000 00:00 0 7f355d923000-7f355d943000 r-xp 00000000 08:01 37 /lib/x86_64-linux-gnu/ld-2.13.so 7f355da3d000-7f355db22000 rw-p 00000000 00:00 0 7f355db3f000-7f355db42000 rw-p 00000000 00:00 0 7f355db42000-7f355db43000 r--p 0001f000 08:01 37 /lib/x86_64-linux-gnu/ld-2.13.so 7f355db43000-7f355db44000 rw-p 00020000 08:01 37 /lib/x86_64-linux-gnu/ld-2.13.so 7f355db44000-7f355db45000 rw-p 00000000 00:00 0 7ffffd96f000-7ffffd990000 rw-p 00000000 00:00 0 [stack] 7ffffd9ff000-7ffffda00000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] paul@wollumbin ~ $ sudo fsck.msdos /dev/sdb dosfsck 3.0.13, 30 Jun 2012, FAT32, LFN /Garmin/GPX/Nav Start does point to root directory. Deleting dir. Reclaimed 1791 unused clusters (29343744 bytes). Leaving file system unchanged. /dev/sdb: 230 files, 23866/57702 clusters paul@wollumbin ~ $ sudo fsck.msdos -a /dev/sdb dosfsck 3.0.13, 30 Jun 2012, FAT32, LFN /Garmin/GPX/Nav Start does point to root directory. Deleting dir. *** buffer overflow detected ***: fsck.msdos terminated ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f008a5fdf37] /lib/x86_64-linux-gnu/libc.so.6(+0xebdf0)[0x7f008a5fcdf0] /lib/x86_64-linux-gnu/libc.so.6(+0xeb249)[0x7f008a5fc249] /lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0x85)[0x7f008a5852b5] /lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0x1d10)[0x7f008a555190] /lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x9d)[0x7f008a5fc2ed] /lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7f)[0x7f008a5fc22f] fsck.msdos[0x404649] fsck.msdos[0x4064db] fsck.msdos[0x4015a2] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f008a52fead] fsck.msdos[0x401685] ======= Memory map: ======== 00400000-0040c000 r-xp 00000000 08:01 275425 /sbin/dosfsck 0060b000-0060c000 r--p 0000b000 08:01 275425 /sbin/dosfsck 0060c000-0060d000 rw-p 0000c000 08:01 275425 /sbin/dosfsck 0060d000-0060f000 rw-p 00000000 00:00 0 01f2a000-01f67000 rw-p 00000000 00:00 0 [heap] 7f008a2fb000-7f008a310000 r-xp 00000000 08:01 14 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f008a310000-7f008a510000 ---p 00015000 08:01 14 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f008a510000-7f008a511000 rw-p 00015000 08:01 14 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f008a511000-7f008a68e000 r-xp 00000000 08:01 15 /lib/x86_64-linux-gnu/libc-2.13.so 7f008a68e000-7f008a88e000 ---p 0017d000 08:01 15 /lib/x86_64-linux-gnu/libc-2.13.so 7f008a88e000-7f008a892000 r--p 0017d000 08:01 15 /lib/x86_64-linux-gnu/libc-2.13.so 7f008a892000-7f008a893000 rw-p 00181000 08:01 15 /lib/x86_64-linux-gnu/libc-2.13.so 7f008a893000-7f008a898000 rw-p 00000000 00:00 0 7f008a898000-7f008a8b8000 r-xp 00000000 08:01 37 /lib/x86_64-linux-gnu/ld-2.13.so 7f008a9b2000-7f008aa97000 rw-p 00000000 00:00 0 7f008aab4000-7f008aab7000 rw-p 00000000 00:00 0 7f008aab7000-7f008aab8000 r--p 0001f000 08:01 37 /lib/x86_64-linux-gnu/ld-2.13.so 7f008aab8000-7f008aab9000 rw-p 00020000 08:01 37 /lib/x86_64-linux-gnu/ld-2.13.so 7f008aab9000-7f008aaba000 rw-p 00000000 00:00 0 7fffc8dc9000-7fffc8dea000 rw-p 00000000 00:00 0 [stack] 7fffc8dff000-7fffc8e00000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] - -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-3-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dosfstools depends on: ii libc6 2.13-35 dosfstools recommends no packages. dosfstools suggests no packages. - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlCD5b8ACgkQHNUte6r+CGqVVwCeIBArHGRCjq/sAme8Yd1IcDu2 DREAnA3zxgqsU13B3THYy6fmmhkVHk4e =84ZL -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org