Your message dated Sat, 02 Jul 2016 17:25:34 +0000 with message-id <[email protected]> and subject line Bug#727634: fixed in udftools 1.2-1 has caused the Debian Bug report #727634, regarding udftools: [mkudffs] segfaults while creating file system on non-zeroed storage to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 727634: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727634 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: udftools Version: 1.0.0b3-14.2 Severity: normal mkudffs is broken for specially crafted files: $ s=$(mktemp) $ truncate -s 3TiB $s $ dd bs=512 count=64 </dev/zero | tr '\0' '\377' >$s 64+0 records in 64+0 records out 32768 bytes (33 kB) copied, 0.000170991 s, 192 MB/s $ mkudffs --media-type=hd --blocksize=512 $s Segmentation fault (core dumped) $ .... (build debugging package) $ gdb debian/udftools/usr/bin/mkudffs ~/core Reading symbols from /tmp/tmp.zAW1MYasi5/udftools-1.0.0b3/debian/udftools/usr/bin/mkudffs...done. [New LWP 6225] warning: Can't read pathname for load map: Input/output error. Core was generated by `/tmp/tmp.zAW1MYasi5/udftools-1.0.0b3/debian/udftools/usr/bin/mkudffs --media-ty'. Program terminated with signal 11, Segmentation fault. #0 0x000000000040648f in next_extent_size (start_ext=0x0, type=USPACE, blocks=16, offset=1) at extent.c:53 53 if (start_ext->start % offset) (gdb) p start_ext $1 = (struct udf_extent *) 0x0 (gdb) p start_ext->start Cannot access memory at address 0x4 (gdb) i f Stack level 0, frame at 0x7fff34bc16a0: rip = 0x40648f in next_extent_size (extent.c:53); saved rip 0x402580 called by frame at 0x7fff34bc1730 source language c. Arglist at 0x7fff34bc1690, args: start_ext=0x0, type=USPACE, blocks=16, offset=1 Locals at 0x7fff34bc1690, Previous frame's sp is 0x7fff34bc16a0 Saved registers: rbp at 0x7fff34bc1690, rip at 0x7fff34bc1698 (gdb) bt #0 0x000000000040648f in next_extent_size (start_ext=0x0, type=USPACE, blocks=16, offset=1) at extent.c:53 #1 0x0000000000402580 in split_space (disc=0x7fff34bc1850) at mkudffs.c:209 #2 0x000000000040140b in main (argc=4, argv=0x7fff34bc1a98) at main.c:173 (gdb) Note: The "dd | tr >$s" line truncates the file to ~33kB. There seems to be a relation to: $ dd bs=512 count=64 </dev/zero >$s 64+0 records in 64+0 records out 32768 bytes (33 kB) copied, 0.000216984 s, 151 MB/s $ /tmp/tmp.zAW1MYasi5/udftools-1.0.0b3/debian/udftools/usr/bin/mkudffs --media-type=hd --blocksize=512 $s Segmentation fault (core dumped) $ dd bs=512 count=63 </dev/zero >$s 63+0 records in 63+0 records out 32256 bytes (32 kB) copied, 0.000215543 s, 150 MB/s $ /tmp/tmp.zAW1MYasi5/udftools-1.0.0b3/debian/udftools/usr/bin/mkudffs --media-type=hd --blocksize=512 $s trying to change type of multiple extents $ dd bs=512 count=65 </dev/zero >$s 65+0 records in 65+0 records out 33280 bytes (33 kB) copied, 0.000224204 s, 148 MB/s $ /tmp/tmp.zAW1MYasi5/udftools-1.0.0b3/debian/udftools/usr/bin/mkudffs --media-type=hd --blocksize=512 $s trying to change type of multiple extents $ So it's probably only broken for files with multiples of $blocksize size. I was just playing around and didn't actually want to break something... Cheers, Julius -- System Information: Debian Release: 7.2 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) 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 udftools depends on: ii libc6 2.13-38 ii libreadline6 6.2+dfsg-0.1 Versions of packages udftools recommends: ii udev 175-7.2 Versions of packages udftools suggests: pn dvd+rw-tools <none> pn pmount <none> -- no debconf information
--- End Message ---
--- Begin Message ---Source: udftools Source-Version: 1.2-1 We believe that the bug you reported is fixed in the latest version of udftools, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Pali Rohár <[email protected]> (supplier of updated udftools package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sat, 02 Jul 2016 12:56:41 +0200 Source: udftools Binary: udftools Architecture: source Version: 1.2-1 Distribution: unstable Urgency: low Maintainer: Pali Rohár <[email protected]> Changed-By: Pali Rohár <[email protected]> Description: udftools - tools for UDF filesystems and DVD/CD-R(W) drives Closes: 272648 539530 583382 606664 622208 672839 680272 715720 716102 716287 727634 727636 775273 791952 817705 823084 829016 Changes: udftools (1.2-1) unstable; urgency=low . * New maintainer (Closes: #829016). * New project upstream (Closes: #791952). * New upstream release which fixes these bugs: Closes: #672839, #272648, #606664, #715720, #716102, #716287, #727634 Closes: #727636, #775273, #539530, #680272 * Update debian files: - Checks for /run/udev in init script (Closes: #622208). - Fix LSB output in init script (Closes: #823084, #583382). - Use debhelper 9 (Closes: #817705). - Remove old and unused po.bak files. - Remove old README.Debian. - Add ${misc:Depends}. - Update description of package. - Update copyright to deb5 format. - Drop all patches because there were included into new release. Checksums-Sha1: 2143a3233a6a859ff36eb04332339f02249f0b9f 1723 udftools_1.2-1.dsc d7837e537cb965eac29c9ecb022367291adefb5c 657310 udftools_1.2.orig.tar.gz 433715059a826374554030ae1c03f3dd7cac69fa 8904 udftools_1.2-1.debian.tar.xz Checksums-Sha256: 87f526b7198b48c5658b7332705f28d8fa6a4c863f658f8d74c9abb7b72de9dd 1723 udftools_1.2-1.dsc 444c646cc4e3db93a4abffbfc9d5e3da8da3e891012cb8bc2ce53c3d33596851 657310 udftools_1.2.orig.tar.gz 11003cdffc2f17988ab82d9b56690e9557d913549a5bea7ff338b4b51f667e3c 8904 udftools_1.2-1.debian.tar.xz Files: 02891f710adac6d1aeffbf64f0417146 1723 otherosfs extra udftools_1.2-1.dsc 3b538c0ee1e77abae665fdd6f68f37bb 657310 otherosfs extra udftools_1.2.orig.tar.gz c2ca3c8ab33f595b00f7b99355b66222 8904 otherosfs extra udftools_1.2-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXd+pqAAoJEPNPCXROn13Zk2IQAMHY3crm04+RlQWzfYCgVqFS IJhBc61YERX5s1WjZIl0RoLDdLl3bEU35fbuTiGwjDRQ34Vc7BljQFXdTorohHFv SCzWtuDHRxQtUWRVS2Jjn6EXFXuwXm5ewP0YTTDY+35xJWJcZycv4Nm2xlujSaYT +i8XDJSxDBCLmkwOxcCN9evt9xkFV+bDuw7Db+1XufUnZ7V6GDVkvI/scGDHeIbg oz5p7NfaOjx3RJUDXMHe2xGqwPRjPC040De88aVnar6ouenBdUwIrXcBQTMHD8Ly 1ng9MkttT4bOXVkRySJvg24udEqkjf7t1NEAUUNJlpch0XD+E305x832sAB6a3Z/ bqDHmiYBRt7cbYKO0YGWd2L+hZuqr6UeXK1oYBxFd1zJlvDlVmfT7PUyjz/9QkLr OmigcjB72W+HsBjqTz4kqfn/gGphJ9CQTzimzS8mhakwlya5qeVgBepPvTD6/4ee Qi3J+ftBBQye6zWf/KvHvgu7sL+6ylYl9+7ER2I9yZpycMIciPlJRblALTFRV0vI AC33vNCfw/CBk6D65DS4tQAabW6PhJ6QwhFhzqS+dlWVmjkpm5ccwbCbmgPPPvkX pom3s6VxR/9daKZMW72siVuWJB0uQK7Y4m5B4H3ftswa8QAKxcmaJsWrk/Z4xJwd 7ut8nNxHAuVerC7D9Lva =mRwv -----END PGP SIGNATURE-----
--- End Message ---

