bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

md5sum coreutils 5.2.1-2 buffer_read(fd): Segmentation fault


From: J. Grant
Subject: md5sum coreutils 5.2.1-2 buffer_read(fd): Segmentation fault
Date: Sat, 06 Aug 2005 00:40:38 +0100
User-agent: Mozilla/5.0 (X11; U; GNU/Linux i686; en; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1

I am using Debian GNU/Linux  coreutils  5.2.1-2

I burned a DVD-R and when I check the md5s.txt I get this crash.  I
presume the DVD-R did not burn correctly, but md5sum should not seg fault.

$ md5sum -c md5s.txt
error processing Dog.Day.Afternoon.(1975).CD1.avi: failed in
buffer_read(fd): mdfile: Input/output error
Segmentation fault
address@hidden dvd]$

I tried to run it through gdb and catch some call stack or something, but it
got stuck and never completed:

$ gdb
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux".
(gdb) exec /usr/bin/md5sum -v -c md5s.txt
(gdb) run
Starting program: /usr/bin/md5sum
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)


Also, could -v and --version options be added to md5sum ?  It took me a
while to find md5sum was part of textutils, and then that had been
merged into this coreutils.

I can code this and submit a patch if it would be considered?

Kind regards
JG





reply via email to

[Prev in Thread] Current Thread [Next in Thread]